An instrument strip in the top bar or on a screen edge: coding usage and spend, power, todos, local models, GitHub, Copilot and training runs.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
EGO-A-001 manual_review
extension code must not be minified or obfuscated
File appears minified: 16265 bytes compressed into 4 line(s).
glyphs.js
file size: 16265 bytes, non-empty lines: 4
EGO-P-006 warning
unnecessary build and translation artifacts should not be shipped
Compiled GSettings schemas should not be shipped for 45+ packages.
Don't include unnecessary files
schemas/gschemas.compiled
schemas/gschemas.compiled
EGO-L-002 warning
objects created by extension should be destroyed in disable()
Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.
lib/shelf.js:432
this.actor = new St.Button({style_class: 'ledge-shelf-item', child: column, can_focus: true, track_hover: true, reactive: true})
lib/shelf.js:511
this._value = new St.Label({style_class: 'ledge-shelf-tag', y_align: Clutter.ActorAlign.CENTER})
lib/shelf.js:520
this.actor = new St.Button({style_class: 'ledge-shelf-item', child: line, can_focus: true, track_hover: true, reactive: true})
lib/shelf.js:558
this.actor = new St.Button({style_class: 'ledge-shelf-item', child: this._canvas, can_focus: true, track_hover: true, reactive: true})
lib/strip.js:30
this._lead = new St.Bin({width: CHIP.badge, height: CHIP.badge, y_align: Clutter.ActorAlign.CENTER})
lib/strip.js:31
this._readout = new St.Label({style_class: strip.readoutClass, x_align: Clutter.ActorAlign.START})
EGO-L-005 warning
owned object references should be released in disable()
Owned references that are cleaned up in `disable()` should also be released with `null` or `undefined`.
extension.js:35
this._settings = this.getSettings()
lib/shelf.js:432
this.actor = new St.Button({style_class: 'ledge-shelf-item', child: column, can_focus: true, track_hover: true, reactive: true})
lib/shelf.js:511
this._value = new St.Label({style_class: 'ledge-shelf-tag', y_align: Clutter.ActorAlign.CENTER})
lib/shelf.js:520
this.actor = new St.Button({style_class: 'ledge-shelf-item', child: line, can_focus: true, track_hover: true, reactive: true})
lib/shelf.js:558
this.actor = new St.Button({style_class: 'ledge-shelf-item', child: this._canvas, can_focus: true, track_hover: true, reactive: true})
lib/strip.js:30
this._lead = new St.Bin({width: CHIP.badge, height: CHIP.badge, y_align: Clutter.ActorAlign.CENTER})
lib/strip.js:31
this._readout = new St.Label({style_class: strip.readoutClass, x_align: Clutter.ActorAlign.START})
EGO-L-003 warning
signals connected by extension should be disconnected in disable()
Signals assigned in `enable()` are missing matching disconnect calls in `disable()` or its helper methods.
lib/shelf.js:433
this.actor.connect('clicked', () => shelf._select(key))
lib/shelf.js:435
this.actor.connect('key-press-event', (_a, event) => shelf.key(event))
lib/shelf.js:434
this.actor.connect('notify::hover', () => shelf._itemHover(key, this.actor.hover))
lib/shelf.js:521
this.actor.connect('clicked', () => shelf._select(key))
lib/shelf.js:523
this.actor.connect('key-press-event', (_a, event) => shelf.key(event))
lib/shelf.js:522
this.actor.connect('notify::hover', () => shelf._itemHover(key, this.actor.hover))
lib/shelf.js:559
this.actor.connect('clicked', () => shelf._select(key))
lib/shelf.js:561
this.actor.connect('key-press-event', (_a, event) => shelf.key(event))
lib/shelf.js:560
this.actor.connect('notify::hover', () => shelf._itemHover(key, this.actor.hover))
lib/strip.js:63
this.actor.connect('clicked', (_a, button) => button === Clutter.BUTTON_SECONDARY
? handlers.secondary?.(key) : handlers.activate?.(key))
lib/strip.js:59
this.actor.connect('key-focus-in', () => { this._background.queue_repaint(); handlers.focus?.(key); })
lib/strip.js:60
this.actor.connect('key-focus-out', () => this._background.queue_repaint())
lib/strip.js:66
this.actor.connect('key-press-event', (_a, event) => handlers.key?.(event) ?? Clutter.EVENT_PROPAGATE)
lib/strip.js:55
this.actor.connect('notify::hover', () => {
this._background.queue_repaint();
if (this.actor.hover) handlers.hover?.(key);
})
EGO-L-004 warning
main loop sources should be removed in disable()
Main loop sources assigned in `enable()` are missing matching removals in `disable()` or its helper methods.
modules/usage.js:58
this._activityPoll = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 3, () => {
this.refreshActivity();
return GLib.SOURCE_CONTINUE;
})
modules/usage.js:53
this._costPoll = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, COST_SECONDS, () => {
this.refreshCosts();
return GLib.SOURCE_CONTINUE;
})
modules/usage.js:103
this._poll = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, this.settings.get_int('poll-seconds'), () => {
this.refresh();
return GLib.SOURCE_CONTINUE;
})
modules/usage.js:87
this._restartIdle = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
this._restartIdle = 0;
this._cancelRead();
this._cancelActivity();
this.readings = [];
this.activities = [];
this._notify();
this.refresh();
| Version | Status |
|---|---|
| 1 | Unreviewed |