LineIdCWESeverityMessageTimestamp
checkersReportinformationActive checkers: There was critical errors (use --checkers-report=<filename> to see details)Sat Aug 16 15:09:24 2025
src/cafe-calc-cmd.c
72variableScope398styleThe scope of the variable 'line' can be reduced.Sat Aug 16 15:09:24 2025
72constVariablePointer398styleVariable 'line' can be declared as pointer to constSat Aug 16 15:09:24 2025
85nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: equationSat Aug 16 15:09:24 2025
90nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: equationSat Aug 16 15:09:24 2025
src/cafe-calc.c
53variableScope398styleThe scope of the variable 'result_str' can be reduced.Sat Aug 16 15:09:24 2025
53constVariablePointer398styleVariable 'result_str' can be declared as pointer to constSat Aug 16 15:09:24 2025
128variableScope398styleThe scope of the variable 'arg' can be reduced.Sat Aug 16 15:09:24 2025
128constVariablePointer398styleVariable 'arg' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/currency-manager.c
144constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 15:09:24 2025
144staticFunctionstyleThe function 'currency_manager_get_currency' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
386constVariablePointer398styleVariable 'value' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/currency.c
69constParameterPointer398styleParameter 'value' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/financial.c
20constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 15:09:24 2025
21constParameterPointer398styleParameter 'fv' can be declared as pointer to constSat Aug 16 15:09:24 2025
22constParameterPointer398styleParameter 'pv' can be declared as pointer to constSat Aug 16 15:09:24 2025
42constParameterPointer398styleParameter 'cost' can be declared as pointer to constSat Aug 16 15:09:24 2025
42constParameterPointer398styleParameter 'life' can be declared as pointer to constSat Aug 16 15:09:24 2025
42constParameterPointer398styleParameter 'period' can be declared as pointer to constSat Aug 16 15:09:24 2025
83constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSat Aug 16 15:09:24 2025
84constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 15:09:24 2025
85constParameterPointer398styleParameter 'n' can be declared as pointer to constSat Aug 16 15:09:24 2025
108constParameterPointer398styleParameter 'cost' can be declared as pointer to constSat Aug 16 15:09:24 2025
109constParameterPointer398styleParameter 'margin' can be declared as pointer to constSat Aug 16 15:09:24 2025
129constParameterPointer398styleParameter 'prin' can be declared as pointer to constSat Aug 16 15:09:24 2025
130constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 15:09:24 2025
131constParameterPointer398styleParameter 'n' can be declared as pointer to constSat Aug 16 15:09:24 2025
156constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSat Aug 16 15:09:24 2025
157constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 15:09:24 2025
158constParameterPointer398styleParameter 'n' can be declared as pointer to constSat Aug 16 15:09:24 2025
183constParameterPointer398styleParameter 'fv' can be declared as pointer to constSat Aug 16 15:09:24 2025
184constParameterPointer398styleParameter 'pv' can be declared as pointer to constSat Aug 16 15:09:24 2025
185constParameterPointer398styleParameter 'n' can be declared as pointer to constSat Aug 16 15:09:24 2025
208constParameterPointer398styleParameter 'cost' can be declared as pointer to constSat Aug 16 15:09:24 2025
209constParameterPointer398styleParameter 'salvage' can be declared as pointer to constSat Aug 16 15:09:24 2025
210constParameterPointer398styleParameter 'life' can be declared as pointer to constSat Aug 16 15:09:24 2025
229constParameterPointer398styleParameter 'cost' can be declared as pointer to constSat Aug 16 15:09:24 2025
230constParameterPointer398styleParameter 'salvage' can be declared as pointer to constSat Aug 16 15:09:24 2025
231constParameterPointer398styleParameter 'life' can be declared as pointer to constSat Aug 16 15:09:24 2025
232constParameterPointer398styleParameter 'period' can be declared as pointer to constSat Aug 16 15:09:24 2025
261constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSat Aug 16 15:09:24 2025
262constParameterPointer398styleParameter 'fv' can be declared as pointer to constSat Aug 16 15:09:24 2025
263constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/lexer.c
34variableScope398styleThe scope of the variable 'count' can be reduced.Sat Aug 16 15:09:24 2025
122unreadVariable563styleVariable 'type' is assigned a value that is never used.Sat Aug 16 15:09:24 2025
530variableScope398styleThe scope of the variable 'token' can be reduced.Sat Aug 16 15:09:24 2025
530constVariablePointer398styleVariable 'token' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/math-buttons.c
407unknownMacroerrorThere is an unknown macro here somewhere. Configuration is required. If G_GINT64_MODIFIER is a macro then please configure it.Sat Aug 16 15:09:24 2025
src/math-converter.c
147shadowVariable398styleLocal variable 'iter' shadows outer variableSat Aug 16 15:09:24 2025
198constParameterPointer398styleParameter 'unit' can be declared as pointer to constSat Aug 16 15:09:24 2025
274staticFunctionstyleThe function 'math_converter_get_conversion' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
src/math-equation.c
436variableScope398styleThe scope of the variable 'equation' can be reduced.Sat Aug 16 15:09:24 2025
505staticFunctionstyleThe function 'math_equation_get_digit_text' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
617staticFunctionstyleThe function 'math_equation_get_base' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
682staticFunctionstyleThe function 'math_equation_get_source_currency' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
705staticFunctionstyleThe function 'math_equation_get_target_currency' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
728staticFunctionstyleThe function 'math_equation_get_source_units' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
752staticFunctionstyleThe function 'math_equation_get_target_units' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
783staticFunctionstyleThe function 'math_equation_is_empty' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
807staticFunctionstyleThe function 'math_equation_get_display' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
819staticFunctionstyleThe function 'math_equation_get_equation' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
875variableScope398styleThe scope of the variable 'text' can be reduced.Sat Aug 16 15:09:24 2025
903staticFunctionstyleThe function 'math_equation_set_number_mode' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
966staticFunctionstyleThe function 'math_equation_set' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
1032variableScope398styleThe scope of the variable 'subscript_digits' can be reduced.Sat Aug 16 15:09:24 2025
1033variableScope398styleThe scope of the variable 'superscript_digits' can be reduced.Sat Aug 16 15:09:24 2025
1111nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSat Aug 16 15:09:24 2025
1131constVariablePointer398styleVariable 't' can be declared as pointer to constSat Aug 16 15:09:24 2025
1134nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSat Aug 16 15:09:24 2025
1883constParameterCallback398styleParameter 'text' can be declared as pointer to const. However it seems that 'insert_text_cb' is a callback function, if 'text' is declared with const you might also need to cast function pointer(s).Sat Aug 16 15:09:24 2025
src/math-preferences.c
163unreadVariable563styleVariable 'valid' is assigned a value that is never used.Sat Aug 16 15:09:24 2025
src/math-variable-popup.c
210constVariablePointer398styleVariable 'val' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/math-variables.c
90constVariablePointer398styleVariable 'name' can be declared as pointer to constSat Aug 16 15:09:24 2025
91constVariablePointer398styleVariable 'value' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/math-window.c
317constParameterCallback398styleParameter 'window' can be declared as pointer to const. However it seems that 'scroll_changed_cb' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s).Sat Aug 16 15:09:24 2025
src/mp-convert.c
33variableScope398styleThe scope of the variable 'k' can be reduced.Sat Aug 16 15:09:24 2025
106variableScope398styleThe scope of the variable 'k' can be reduced.Sat Aug 16 15:09:24 2025
187knownConditionTrueFalse571styleCondition 'x>0' is always trueSat Aug 16 15:09:24 2025
420suspiciousFloatingPointCast398styleFloating-point cast causes loss of precision.Sat Aug 16 15:09:24 2025
461variableScope398styleThe scope of the variable 'dz2' can be reduced.Sat Aug 16 15:09:24 2025
505variableScope398styleThe scope of the variable 'i' can be reduced.Sat Aug 16 15:09:24 2025
505variableScope398styleThe scope of the variable 'j' can be reduced.Sat Aug 16 15:09:24 2025
506variableScope398styleThe scope of the variable 'digits' can be reduced.Sat Aug 16 15:09:24 2025
560arrayIndexOutOfBounds788errorArray 'digits[0][10]' accessed at index digits[*][10], which is out of bounds.Sat Aug 16 15:09:24 2025
593invalidscanf119warningsscanf() without field width limits can crash with huge input data.Sat Aug 16 15:09:24 2025
622variableScope398styleThe scope of the variable 'numerators' can be reduced.Sat Aug 16 15:09:24 2025
622constVariable398styleVariable 'numerators' can be declared as const arraySat Aug 16 15:09:24 2025
623variableScope398styleThe scope of the variable 'denominators' can be reduced.Sat Aug 16 15:09:24 2025
623constVariable398styleVariable 'denominators' can be declared as const arraySat Aug 16 15:09:24 2025
706knownConditionTrueFalse398styleThe comparison 'multiplier != 0' is always false.Sat Aug 16 15:09:24 2025
src/mp-equation.c
153nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSat Aug 16 15:09:24 2025
198nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSat Aug 16 15:09:24 2025
293variableScope398styleThe scope of the variable 'err' can be reduced.Sat Aug 16 15:09:24 2025
src/mp-serializer.c
146shadowVariable398styleLocal variable 'digits' shadows outer variableSat Aug 16 15:09:24 2025
204knownConditionTrueFalse570styleCondition 'strcmp(s->str,"+0")==0' is always falseSat Aug 16 15:09:24 2025
206knownConditionTrueFalse571styleCondition 'strcmp(s->str,"0")!=0' is always trueSat Aug 16 15:09:24 2025
336knownConditionTrueFalse570styleCondition 'strcmp(s->str,"+0")==0' is always falseSat Aug 16 15:09:24 2025
338knownConditionTrueFalse571styleCondition 'strcmp(s->str,"0")!=0' is always trueSat Aug 16 15:09:24 2025
387constParameterPointer398styleParameter 'serializer' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/mp-trigonometric.c
34staticFunctionstyleThe function 'convert_to_radians' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
364shadowVariable398styleLocal variable 'pi' shadows outer variableSat Aug 16 15:09:24 2025
src/mp.c
256shadowVariable398styleLocal variable 'i' shadows outer variableSat Aug 16 15:09:24 2025
261knownConditionTrueFalse571styleCondition 'i>0' is always trueSat Aug 16 15:09:24 2025
1233variableScope398styleThe scope of the variable 'e' can be reduced.Sat Aug 16 15:09:24 2025
1234variableScope398styleThe scope of the variable 'rx' can be reduced.Sat Aug 16 15:09:24 2025
1234variableScope398styleThe scope of the variable 'rlx' can be reduced.Sat Aug 16 15:09:24 2025
1572knownConditionTrueFalse570styleCondition 'c<0' is always falseSat Aug 16 15:09:24 2025
src/parser.c
73constParameterPointer398styleParameter 'state' can be declared as pointer to constSat Aug 16 15:09:24 2025
80constParameterPointer398styleParameter 'state' can be declared as pointer to constSat Aug 16 15:09:24 2025
106constParameterPointer398styleParameter 'left' can be declared as pointer to constSat Aug 16 15:09:24 2025
106constParameterPointer398styleParameter 'right' can be declared as pointer to constSat Aug 16 15:09:24 2025
250constVariablePointer398styleVariable 'token' can be declared as pointer to constSat Aug 16 15:09:24 2025
326variableScope398styleThe scope of the variable 'buffer' can be reduced.Sat Aug 16 15:09:24 2025
1205constVariablePointer398styleVariable 'token' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/parserfunc.c
172variableScope398styleThe scope of the variable 'buffer' can be reduced.Sat Aug 16 15:09:24 2025
229variableScope398styleThe scope of the variable 'buffer' can be reduced.Sat Aug 16 15:09:24 2025
370nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: inv_nameSat Aug 16 15:09:24 2025
371nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: inv_nameSat Aug 16 15:09:24 2025
src/prelexer.c
36constVariablePointer398styleVariable 'tmp' can be declared as pointer to constSat Aug 16 15:09:24 2025
47staticFunctionstyleThe function 'pl_get_next_gunichar' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
src/test-mp-equation.c
167constParameterCallback398styleParameter 'G_GNUC_UNUSED' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'G_GNUC_UNUSED' is declared with const you might also need to cast function pointer(s).Sat Aug 16 15:09:24 2025
193constParameterCallback398styleParameter 'G_GNUC_UNUSED' can be declared as pointer to const. However it seems that 'set_variable' is a callback function, if 'G_GNUC_UNUSED' is declared with const you might also need to cast function pointer(s).Sat Aug 16 15:09:24 2025
src/test-mp.c
59constParameterPointer398styleParameter 'x' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/unit-category.c
62constParameterPointer398styleParameter 'category' can be declared as pointer to constSat Aug 16 15:09:24 2025
81constParameterPointer398styleParameter 'category' can be declared as pointer to constSat Aug 16 15:09:24 2025
107constParameterPointer398styleParameter 'category' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/unit-manager.c
150staticFunctionstyleThe function 'unit_manager_add_category' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 15:09:24 2025
175constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 15:09:24 2025
193constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 15:09:24 2025
196variableScope398styleThe scope of the variable 'u' can be reduced.Sat Aug 16 15:09:24 2025
213constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 15:09:24 2025
216variableScope398styleThe scope of the variable 'u' can be reduced.Sat Aug 16 15:09:24 2025
233constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/unit.c
76constParameterPointer398styleParameter 'unit' can be declared as pointer to constSat Aug 16 15:09:24 2025
84constVariablePointer398styleVariable 's' can be declared as pointer to constSat Aug 16 15:09:24 2025
103constParameterCallback398styleParameter 'G_GNUC_UNUSED' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'G_GNUC_UNUSED' is declared with const you might also need to cast function pointer(s).Sat Aug 16 15:09:24 2025
114constVariablePointer398styleVariable 'x' can be declared as pointer to constSat Aug 16 15:09:24 2025
143constParameterPointer398styleParameter 'unit' can be declared as pointer to constSat Aug 16 15:09:24 2025
165constParameterPointer398styleParameter 'unit' can be declared as pointer to constSat Aug 16 15:09:24 2025
187constParameterPointer398styleParameter 'x' can be declared as pointer to constSat Aug 16 15:09:24 2025
src/unittest.c
81variableScope398styleThe scope of the variable 'result_str' can be reduced.Sat Aug 16 15:09:24 2025
142constParameterCallback398styleParameter 'data' can be declared as pointer to const. However it seems that 'variable_is_defined' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s).Sat Aug 16 15:09:24 2025
166constParameterCallback398styleParameter 'data' can be declared as pointer to const. However it seems that 'set_variable' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s).Sat Aug 16 15:09:24 2025
181redundantAssignment563styleVariable 'options.base' is reassigned a value before the old one has been used.Sat Aug 16 15:09:24 2025
595constParameterPointer398styleParameter 'x' can be declared as pointer to constSat Aug 16 15:09:24 2025