Review of "CPU Temperature Monitor" version 1

Details Page Preview

Displays live CPU temperature in the top bar next to the right system icons.

Extension Homepage
https://github.com/DonBatman/GnomeTemps

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 2

Shexli found 2 issues that may need reviewer attention.

EGO-X-004 warning

extensions should avoid synchronous file IO in shell code

Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.

File Operations

  • extension.js:124
    GLib.file_get_contents(path)

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.

Destroy all objects

  • extension.js:19
            this._label = new St.Label({
                text: '--°C',
                y_align: Clutter.ActorAlign.CENTER,
                style: 'font-weight: 600; padding: 0 4px;'
            })
  • extension.js:26
    this._sensorSection = new PopupMenu.PopupMenuSection()
  • extension.js:36
    this._settingsItem = new PopupMenu.PopupMenuItem('Settings')
  • extension.js:30
    this._unitToggleItem = new PopupMenu.PopupMenuItem(this._getToggleLabel())

All Versions

Version Status
1 Unreviewed