Skip to content

PluginStats

What Settings › Plugins shows about how a plugin behaves: how often its hooks ran, how long they took, and what they answered.

readonly amendments: number;

The number of times that the plugin replaced a change by another one.


readonly calls: number;

The number of times that the app called a hook of the plugin.


readonly deferrals: number;

The number of times that the plugin asked the app to wait for an answer.


readonly errors: readonly ErrorRecord[];

The errors that the code of the plugin threw.


readonly hooks: Readonly<Record<string, HookStats>>;

The same counts, broken down by hook.


readonly notices: number;

The number of messages that the plugin displayed to the person.


readonly overruns: number;

The number of calls that took longer than the 4 milliseconds that a hook is allowed.


readonly p50: number;

The median duration of a call, in milliseconds: half of the calls were faster than this value.


readonly p95: number;

The duration that 95 percent of the calls did not exceed, in milliseconds.


readonly plugin: string;

The id of the plugin.


readonly vetoes: number;

The number of times that the plugin refused a change.