LineIdCWESeverityMessageTimestamp
checkersReportinformationActive checkers: There was critical errors (use --checkers-report=<filename> to see details)Sat Aug 16 14:48:51 2025
src/cafe-calc-cmd.c
71variableScope398styleThe scope of the variable 'line' can be reduced.Sat Aug 16 14:48:51 2025
71constVariablePointer398styleVariable 'line' can be declared as pointer to constSat Aug 16 14:48:51 2025
84nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: equationSat Aug 16 14:48:51 2025
89nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: equationSat Aug 16 14:48:51 2025
src/cafe-calc.c
49variableScope398styleThe scope of the variable 'result_str' can be reduced.Sat Aug 16 14:48:51 2025
49constVariablePointer398styleVariable 'result_str' can be declared as pointer to constSat Aug 16 14:48:51 2025
124variableScope398styleThe scope of the variable 'arg' can be reduced.Sat Aug 16 14:48:51 2025
124constVariablePointer398styleVariable 'arg' can be declared as pointer to constSat Aug 16 14:48:51 2025
183constParameterCallback398styleParameter 'window' can be declared as pointer to const. However it seems that 'quit_cb' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s).Sat Aug 16 14:48:51 2025
src/currency-manager.c
144constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 14:48:51 2025
144staticFunctionstyleThe function 'currency_manager_get_currency' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
386constVariablePointer398styleVariable 'value' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/currency.c
69constParameterPointer398styleParameter 'value' can be declared as pointer to constSat Aug 16 14:48:51 2025
86constParameterPointer398styleParameter 'klass' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/financial.c
18constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 14:48:51 2025
18constParameterPointer398styleParameter 'fv' can be declared as pointer to constSat Aug 16 14:48:51 2025
18constParameterPointer398styleParameter 'pv' can be declared as pointer to constSat Aug 16 14:48:51 2025
38constParameterPointer398styleParameter 'cost' can be declared as pointer to constSat Aug 16 14:48:51 2025
38constParameterPointer398styleParameter 'life' can be declared as pointer to constSat Aug 16 14:48:51 2025
38constParameterPointer398styleParameter 'period' can be declared as pointer to constSat Aug 16 14:48:51 2025
77constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSat Aug 16 14:48:51 2025
77constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 14:48:51 2025
77constParameterPointer398styleParameter 'n' can be declared as pointer to constSat Aug 16 14:48:51 2025
98constParameterPointer398styleParameter 'cost' can be declared as pointer to constSat Aug 16 14:48:51 2025
98constParameterPointer398styleParameter 'margin' can be declared as pointer to constSat Aug 16 14:48:51 2025
116constParameterPointer398styleParameter 'prin' can be declared as pointer to constSat Aug 16 14:48:51 2025
116constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 14:48:51 2025
116constParameterPointer398styleParameter 'n' can be declared as pointer to constSat Aug 16 14:48:51 2025
139constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSat Aug 16 14:48:51 2025
139constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 14:48:51 2025
139constParameterPointer398styleParameter 'n' can be declared as pointer to constSat Aug 16 14:48:51 2025
162constParameterPointer398styleParameter 'fv' can be declared as pointer to constSat Aug 16 14:48:51 2025
162constParameterPointer398styleParameter 'pv' can be declared as pointer to constSat Aug 16 14:48:51 2025
162constParameterPointer398styleParameter 'n' can be declared as pointer to constSat Aug 16 14:48:51 2025
183constParameterPointer398styleParameter 'cost' can be declared as pointer to constSat Aug 16 14:48:51 2025
183constParameterPointer398styleParameter 'salvage' can be declared as pointer to constSat Aug 16 14:48:51 2025
183constParameterPointer398styleParameter 'life' can be declared as pointer to constSat Aug 16 14:48:51 2025
200constParameterPointer398styleParameter 'cost' can be declared as pointer to constSat Aug 16 14:48:51 2025
200constParameterPointer398styleParameter 'salvage' can be declared as pointer to constSat Aug 16 14:48:51 2025
200constParameterPointer398styleParameter 'life' can be declared as pointer to constSat Aug 16 14:48:51 2025
200constParameterPointer398styleParameter 'period' can be declared as pointer to constSat Aug 16 14:48:51 2025
227constParameterPointer398styleParameter 'pmt' can be declared as pointer to constSat Aug 16 14:48:51 2025
227constParameterPointer398styleParameter 'fv' can be declared as pointer to constSat Aug 16 14:48:51 2025
227constParameterPointer398styleParameter 'pint' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/lexer.c
34variableScope398styleThe scope of the variable 'count' can be reduced.Sat Aug 16 14:48:51 2025
122unreadVariable563styleVariable 'type' is assigned a value that is never used.Sat Aug 16 14:48:51 2025
530variableScope398styleThe scope of the variable 'token' can be reduced.Sat Aug 16 14:48:51 2025
530constVariablePointer398styleVariable 'token' can be declared as pointer to constSat Aug 16 14:48:51 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 14:48:51 2025
src/math-converter.c
145shadowVariable398styleLocal variable 'iter' shadows outer variableSat Aug 16 14:48:51 2025
196constParameterPointer398styleParameter 'unit' can be declared as pointer to constSat Aug 16 14:48:51 2025
272staticFunctionstyleThe function 'math_converter_get_conversion' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
src/math-equation.c
434variableScope398styleThe scope of the variable 'equation' can be reduced.Sat Aug 16 14:48:51 2025
503staticFunctionstyleThe function 'math_equation_get_digit_text' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
615staticFunctionstyleThe function 'math_equation_get_base' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
680staticFunctionstyleThe function 'math_equation_get_source_currency' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
703staticFunctionstyleThe function 'math_equation_get_target_currency' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
726staticFunctionstyleThe function 'math_equation_get_source_units' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
750staticFunctionstyleThe function 'math_equation_get_target_units' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
781staticFunctionstyleThe function 'math_equation_is_empty' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
805staticFunctionstyleThe function 'math_equation_get_display' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
817staticFunctionstyleThe function 'math_equation_get_equation' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
873variableScope398styleThe scope of the variable 'text' can be reduced.Sat Aug 16 14:48:51 2025
901staticFunctionstyleThe function 'math_equation_set_number_mode' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
964staticFunctionstyleThe function 'math_equation_set' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
1030variableScope398styleThe scope of the variable 'subscript_digits' can be reduced.Sat Aug 16 14:48:51 2025
1031variableScope398styleThe scope of the variable 'superscript_digits' can be reduced.Sat Aug 16 14:48:51 2025
1109nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSat Aug 16 14:48:51 2025
1129constVariablePointer398styleVariable 't' can be declared as pointer to constSat Aug 16 14:48:51 2025
1132nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSat Aug 16 14:48:51 2025
1877constParameterCallback398styleParameter '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 14:48:51 2025
src/math-preferences.c
161unreadVariable563styleVariable 'valid' is assigned a value that is never used.Sat Aug 16 14:48:51 2025
src/math-variable-popup.c
205constVariablePointer398styleVariable 'val' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/math-variables.c
90constVariablePointer398styleVariable 'name' can be declared as pointer to constSat Aug 16 14:48:51 2025
91constVariablePointer398styleVariable 'value' can be declared as pointer to constSat Aug 16 14:48:51 2025
164constParameterPointer398styleParameter 'klass' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/math-window.c
309constParameterCallback398styleParameter '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 14:48:51 2025
src/mp-convert.c
33variableScope398styleThe scope of the variable 'k' can be reduced.Sat Aug 16 14:48:51 2025
106variableScope398styleThe scope of the variable 'k' can be reduced.Sat Aug 16 14:48:51 2025
187knownConditionTrueFalse571styleCondition 'x>0' is always trueSat Aug 16 14:48:51 2025
420suspiciousFloatingPointCast398styleFloating-point cast causes loss of precision.Sat Aug 16 14:48:51 2025
461variableScope398styleThe scope of the variable 'dz2' can be reduced.Sat Aug 16 14:48:51 2025
505variableScope398styleThe scope of the variable 'i' can be reduced.Sat Aug 16 14:48:51 2025
505variableScope398styleThe scope of the variable 'j' can be reduced.Sat Aug 16 14:48:51 2025
506variableScope398styleThe scope of the variable 'digits' can be reduced.Sat Aug 16 14:48:51 2025
560arrayIndexOutOfBounds788errorArray 'digits[0][10]' accessed at index digits[*][10], which is out of bounds.Sat Aug 16 14:48:51 2025
593invalidscanf119warningsscanf() without field width limits can crash with huge input data.Sat Aug 16 14:48:51 2025
622variableScope398styleThe scope of the variable 'numerators' can be reduced.Sat Aug 16 14:48:51 2025
622constVariable398styleVariable 'numerators' can be declared as const arraySat Aug 16 14:48:51 2025
623variableScope398styleThe scope of the variable 'denominators' can be reduced.Sat Aug 16 14:48:51 2025
623constVariable398styleVariable 'denominators' can be declared as const arraySat Aug 16 14:48:51 2025
706knownConditionTrueFalse398styleThe comparison 'multiplier != 0' is always false.Sat Aug 16 14:48:51 2025
src/mp-equation.c
153nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSat Aug 16 14:48:51 2025
198nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: cSat Aug 16 14:48:51 2025
293variableScope398styleThe scope of the variable 'err' can be reduced.Sat Aug 16 14:48:51 2025
src/mp-serializer.c
146shadowVariable398styleLocal variable 'digits' shadows outer variableSat Aug 16 14:48:51 2025
204knownConditionTrueFalse570styleCondition 'strcmp(s->str,"+0")==0' is always falseSat Aug 16 14:48:51 2025
206knownConditionTrueFalse571styleCondition 'strcmp(s->str,"0")!=0' is always trueSat Aug 16 14:48:51 2025
336knownConditionTrueFalse570styleCondition 'strcmp(s->str,"+0")==0' is always falseSat Aug 16 14:48:51 2025
338knownConditionTrueFalse571styleCondition 'strcmp(s->str,"0")!=0' is always trueSat Aug 16 14:48:51 2025
387constParameterPointer398styleParameter 'serializer' can be declared as pointer to constSat Aug 16 14:48:51 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 14:48:51 2025
364shadowVariable398styleLocal variable 'pi' shadows outer variableSat Aug 16 14:48:51 2025
src/mp.c
256shadowVariable398styleLocal variable 'i' shadows outer variableSat Aug 16 14:48:51 2025
261knownConditionTrueFalse571styleCondition 'i>0' is always trueSat Aug 16 14:48:51 2025
1233variableScope398styleThe scope of the variable 'e' can be reduced.Sat Aug 16 14:48:51 2025
1234variableScope398styleThe scope of the variable 'rx' can be reduced.Sat Aug 16 14:48:51 2025
1234variableScope398styleThe scope of the variable 'rlx' can be reduced.Sat Aug 16 14:48:51 2025
1572knownConditionTrueFalse570styleCondition 'c<0' is always falseSat Aug 16 14:48:51 2025
src/parser.c
73constParameterPointer398styleParameter 'state' can be declared as pointer to constSat Aug 16 14:48:51 2025
80constParameterPointer398styleParameter 'state' can be declared as pointer to constSat Aug 16 14:48:51 2025
106constParameterPointer398styleParameter 'left' can be declared as pointer to constSat Aug 16 14:48:51 2025
106constParameterPointer398styleParameter 'right' can be declared as pointer to constSat Aug 16 14:48:51 2025
250constVariablePointer398styleVariable 'token' can be declared as pointer to constSat Aug 16 14:48:51 2025
326variableScope398styleThe scope of the variable 'buffer' can be reduced.Sat Aug 16 14:48:51 2025
1205constVariablePointer398styleVariable 'token' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/parserfunc.c
20constParameterPointer398styleParameter 'self' can be declared as pointer to constSat Aug 16 14:48:51 2025
172variableScope398styleThe scope of the variable 'buffer' can be reduced.Sat Aug 16 14:48:51 2025
229variableScope398styleThe scope of the variable 'buffer' can be reduced.Sat Aug 16 14:48:51 2025
370nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: inv_nameSat Aug 16 14:48:51 2025
371nullPointerOutOfMemory476warningIf memory allocation fails, then there is a possible null pointer dereference: inv_nameSat Aug 16 14:48:51 2025
src/prelexer.c
36constVariablePointer398styleVariable 'tmp' can be declared as pointer to constSat Aug 16 14:48:51 2025
47staticFunctionstyleThe function 'pl_get_next_gunichar' should have static linkage since it is not used outside of its translation unit.Sat Aug 16 14:48:51 2025
src/test-mp-equation.c
162constParameterCallback398styleParameter '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 14:48:51 2025
184constParameterCallback398styleParameter '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 14:48:51 2025
src/test-mp.c
59constParameterPointer398styleParameter 'x' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/unit-category.c
62constParameterPointer398styleParameter 'category' can be declared as pointer to constSat Aug 16 14:48:51 2025
81constParameterPointer398styleParameter 'category' can be declared as pointer to constSat Aug 16 14:48:51 2025
107constParameterPointer398styleParameter 'category' can be declared as pointer to constSat Aug 16 14:48:51 2025
126constParameterPointer398styleParameter 'klass' can be declared as pointer to constSat Aug 16 14:48:51 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 14:48:51 2025
175constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 14:48:51 2025
193constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 14:48:51 2025
196variableScope398styleThe scope of the variable 'u' can be reduced.Sat Aug 16 14:48:51 2025
213constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 14:48:51 2025
216variableScope398styleThe scope of the variable 'u' can be reduced.Sat Aug 16 14:48:51 2025
233constParameterPointer398styleParameter 'manager' can be declared as pointer to constSat Aug 16 14:48:51 2025
258constParameterPointer398styleParameter 'klass' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/unit.c
76constParameterPointer398styleParameter 'unit' can be declared as pointer to constSat Aug 16 14:48:51 2025
84constVariablePointer398styleVariable 's' can be declared as pointer to constSat Aug 16 14:48:51 2025
102constParameterCallback398styleParameter '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 14:48:51 2025
111constVariablePointer398styleVariable 'x' can be declared as pointer to constSat Aug 16 14:48:51 2025
140constParameterPointer398styleParameter 'unit' can be declared as pointer to constSat Aug 16 14:48:51 2025
162constParameterPointer398styleParameter 'unit' can be declared as pointer to constSat Aug 16 14:48:51 2025
184constParameterPointer398styleParameter 'x' can be declared as pointer to constSat Aug 16 14:48:51 2025
200constParameterPointer398styleParameter 'klass' can be declared as pointer to constSat Aug 16 14:48:51 2025
src/unittest.c
81variableScope398styleThe scope of the variable 'result_str' can be reduced.Sat Aug 16 14:48:51 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 14:48:51 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 14:48:51 2025
181redundantAssignment563styleVariable 'options.base' is reassigned a value before the old one has been used.Sat Aug 16 14:48:51 2025
595constParameterPointer398styleParameter 'x' can be declared as pointer to constSat Aug 16 14:48:51 2025