|
| checkersReport | | information | Active checkers: 106/592 (use --checkers-report=<filename> to see details) |
lib/sensors-applet-plugin.c |
35 | variableScope | 398 | style | The scope of the variable 'dir' can be reduced. |
36 | variableScope | 398 | style | The scope of the variable 'new_file' can be reduced. |
37 | variableScope | 398 | style | The scope of the variable 'new_path' can be reduced. |
66 | variableScope | 398 | style | The scope of the variable 'string' can be reduced. |
plugins/acpi/acpi-plugin.c |
44 | unusedVariable | 563 | style | Unused variable: label |
plugins/aticonfig/aticonfig-plugin.c |
51 | unusedVariable | 563 | style | Unused variable: temp |
52 | unusedVariable | 563 | style | Unused variable: read_count |
plugins/hddtemp/hddtemp-plugin.c |
63 | variableScope | 398 | style | The scope of the variable 'sockfd' can be reduced. |
64 | unreadVariable | 563 | style | Variable 'n' is assigned a value that is never used. |
67 | variableScope | 398 | style | The scope of the variable 'pc' can be reduced. |
plugins/i2c-proc/i2c-proc-plugin.c |
144 | constVariablePointer | 398 | style | Variable 'old_locale' can be declared as pointer to const |
plugins/ibm-acpi/ibm-acpi-plugin.c |
53 | variableScope | 398 | style | The scope of the variable 'label' can be reduced. |
plugins/libsensors/libsensors-plugin.c |
175 | constVariablePointer | 398 | style | Variable 'sensor_info' can be declared as pointer to const |
175 | unreadVariable | 563 | style | Variable 'sensor_info' is assigned a value that is never used. |
403 | unusedVariable | 563 | style | Unused variable: i |
plugins/mbmon/mbmon-plugin.c |
57 | variableScope | 398 | style | The scope of the variable 'sockfd' can be reduced. |
58 | unreadVariable | 563 | style | Variable 'n' is assigned a value that is never used. |
138 | variableScope | 398 | style | The scope of the variable 'pv2' can be reduced. |
sensors-applet/active-sensor-libnotify.c |
29 | constParameterCallback | 398 | style | Parameter 'notification' can be declared as pointer to const. However it seems that 'notif_closed_cb' is a callback function, if 'notification' is declared with const you might also need to cast function pointer(s). |
sensors-applet/active-sensor.c |
214 | variableScope | 398 | style | The scope of the variable 'overlay_icon' can be reduced. |
363 | variableScope | 398 | style | The scope of the variable 'old_values' can be reduced. |
507 | variableScope | 398 | style | The scope of the variable 'old_value_text' can be reduced. |
509 | variableScope | 398 | style | The scope of the variable 'scale' can be reduced. |
510 | variableScope | 398 | style | The scope of the variable 'display_mode' can be reduced. |
728 | unreadVariable | 563 | style | Variable 'label_width' is assigned a value that is never used. |
sensors-applet/main.c |
31 | variableScope | 398 | style | The scope of the variable 'sensors_applet' can be reduced. |
sensors-applet/prefs-dialog.c |
296 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
352 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
456 | shadowVariable | 398 | style | Local variable 'content_area' shadows outer variable |
sensors-applet/sensor-config-dialog.c |
76 | constVariablePointer | 398 | style | Variable 'config_dialog' can be declared as pointer to const |
286 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
289 | variableScope | 398 | style | The scope of the variable 'icon_type' can be reduced. |
320 | unusedVariable | 563 | style | Unused variable: content_area |
355 | variableScope | 398 | style | The scope of the variable 'pixbuf' can be reduced. |
sensors-applet/sensors-applet-plugins.c |
42 | variableScope | 398 | style | The scope of the variable 'name_fn' can be reduced. |
44 | variableScope | 398 | style | The scope of the variable 'get_value_fn' can be reduced. |
sensors-applet/sensors-applet-settings.c |
155 | unreadVariable | 563 | style | Variable 'not_end_of_sensors' is assigned a value that is never used. |
243 | unreadVariable | 563 | style | Variable 'not_end_of_sensors' is assigned a value that is never used. |
546 | unreadVariable | 563 | style | Variable 'not_end_of_sensors' is assigned a value that is never used. |
sensors-applet/sensors-applet.c |
138 | constParameterCallback | 398 | style | Parameter 'allocation' can be declared as pointer to const. However it seems that 'size_allocate_cb' is a callback function, if 'allocation' is declared with const you might also need to cast function pointer(s). |
168 | variableScope | 398 | style | The scope of the variable 'path' can be reduced. |
169 | unreadVariable | 563 | style | Variable 'not_end_of_sensors' is assigned a value that is never used. |
171 | variableScope | 398 | style | The scope of the variable 'new_icon' can be reduced. |
857 | unreadVariable | 563 | style | Variable 'not_end_of_sensors' is assigned a value that is never used. |
862 | variableScope | 398 | style | The scope of the variable 'tree_path' can be reduced. |
898 | redundantAssignment | 563 | style | Variable 'not_empty_tree' is reassigned a value before the old one has been used. |
898 | redundantAssignment | 563 | style | Variable 'not_empty_tree' is reassigned a value before the old one has been used. |
1044 | variableScope | 398 | style | The scope of the variable 'sensor_tree_path' can be reduced. |