LineIdCWESeverityMessage
checkersReportinformationActive checkers: 106/712 (use --checkers-report=<filename> to see details)
lib/sensors-applet-plugin.c
35variableScope398styleThe scope of the variable 'dir' can be reduced.
36variableScope398styleThe scope of the variable 'new_file' can be reduced.
37variableScope398styleThe scope of the variable 'new_path' can be reduced.
66variableScope398styleThe scope of the variable 'string' can be reduced.
plugins/acpi/acpi-plugin.c
44unusedVariable563styleUnused variable: label
plugins/aticonfig/aticonfig-plugin.c
49constParameter398styleParameter 'temps' can be declared as const array
51unusedVariable563styleUnused variable: temp
52unusedVariable563styleUnused variable: read_count
plugins/hddtemp/hddtemp-plugin.c
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
63variableScope398styleThe scope of the variable 'sockfd' can be reduced.
64unreadVariable563styleVariable 'n' is assigned a value that is never used.
67variableScope398styleThe scope of the variable 'pc' can be reduced.
plugins/i2c-proc/i2c-proc-plugin.c
144constVariablePointer398styleVariable 'old_locale' can be declared as pointer to const
plugins/ibm-acpi/ibm-acpi-plugin.c
53variableScope398styleThe scope of the variable 'label' can be reduced.
plugins/libsensors/libsensors-plugin.c
175constVariablePointer398styleVariable 'sensor_info' can be declared as pointer to const
175unreadVariable563styleVariable 'sensor_info' is assigned a value that is never used.
403unusedVariable563styleUnused variable: i
plugins/mbmon/mbmon-plugin.c
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
57variableScope398styleThe scope of the variable 'sockfd' can be reduced.
58unreadVariable563styleVariable 'n' is assigned a value that is never used.
138variableScope398styleThe scope of the variable 'pv2' can be reduced.
plugins/netbsd/netbsd-plugin.c
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
plugins/udisks2/udisks2-plugin.c
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
sensors-applet/active-sensor-libnotify.c
29constParameterCallback398styleParameter '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
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
214variableScope398styleThe scope of the variable 'overlay_icon' can be reduced.
363variableScope398styleThe scope of the variable 'old_values' can be reduced.
507variableScope398styleThe scope of the variable 'old_value_text' can be reduced.
509variableScope398styleThe scope of the variable 'scale' can be reduced.
510variableScope398styleThe scope of the variable 'display_mode' can be reduced.
728unreadVariable563styleVariable 'label_width' is assigned a value that is never used.
sensors-applet/main.c
31variableScope398styleThe scope of the variable 'sensors_applet' can be reduced.
sensors-applet/prefs-dialog.c
296variableScope398styleThe scope of the variable 'path' can be reduced.
352variableScope398styleThe scope of the variable 'path' can be reduced.
456shadowVariable398styleLocal variable 'content_area' shadows outer variable
sensors-applet/sensor-config-dialog.c
76constVariablePointer398styleVariable 'config_dialog' can be declared as pointer to const
286variableScope398styleThe scope of the variable 'path' can be reduced.
289variableScope398styleThe scope of the variable 'icon_type' can be reduced.
320unusedVariable563styleUnused variable: content_area
355variableScope398styleThe scope of the variable 'pixbuf' can be reduced.
sensors-applet/sensors-applet-plugins.c
42variableScope398styleThe scope of the variable 'name_fn' can be reduced.
44variableScope398styleThe scope of the variable 'get_value_fn' can be reduced.
sensors-applet/sensors-applet-settings.c
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
155unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.
243unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.
546unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.
sensors-applet/sensors-applet.c
0normalCheckLevelMaxBranchesinformationLimiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
138constParameterCallback398styleParameter '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).
168variableScope398styleThe scope of the variable 'path' can be reduced.
169unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.
171variableScope398styleThe scope of the variable 'new_icon' can be reduced.
257constParameterPointer398styleParameter 'active_sensor' can be declared as pointer to const
407constParameterPointer398styleParameter 'active_sensor' can be declared as pointer to const
420constParameterPointer398styleParameter 'sensors_applet' can be declared as pointer to const
857unreadVariable563styleVariable 'not_end_of_sensors' is assigned a value that is never used.
862variableScope398styleThe scope of the variable 'tree_path' can be reduced.
898redundantAssignment563styleVariable 'not_empty_tree' is reassigned a value before the old one has been used.
898redundantAssignment563styleVariable 'not_empty_tree' is reassigned a value before the old one has been used.
1044variableScope398styleThe scope of the variable 'sensor_tree_path' can be reduced.