|
| checkersReport | | information | Active checkers: There was critical errors (use --checkers-report=<filename> to see details) | Sat Aug 16 14:48:51 2025 |
src/cafe-calc-cmd.c |
71 | variableScope | 398 | style | The scope of the variable 'line' can be reduced. | Sat Aug 16 14:48:51 2025 |
71 | constVariablePointer | 398 | style | Variable 'line' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
84 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: equation | Sat Aug 16 14:48:51 2025 |
89 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: equation | Sat Aug 16 14:48:51 2025 |
src/cafe-calc.c |
49 | variableScope | 398 | style | The scope of the variable 'result_str' can be reduced. | Sat Aug 16 14:48:51 2025 |
49 | constVariablePointer | 398 | style | Variable 'result_str' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
124 | variableScope | 398 | style | The scope of the variable 'arg' can be reduced. | Sat Aug 16 14:48:51 2025 |
124 | constVariablePointer | 398 | style | Variable 'arg' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
183 | constParameterCallback | 398 | style | Parameter '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 |
144 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
144 | staticFunction | | style | The 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 |
386 | constVariablePointer | 398 | style | Variable 'value' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/currency.c |
69 | constParameterPointer | 398 | style | Parameter 'value' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
86 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/financial.c |
18 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
18 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
18 | constParameterPointer | 398 | style | Parameter 'pv' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
38 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
38 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
38 | constParameterPointer | 398 | style | Parameter 'period' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
77 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
77 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
77 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
98 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
98 | constParameterPointer | 398 | style | Parameter 'margin' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
116 | constParameterPointer | 398 | style | Parameter 'prin' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
116 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
116 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
139 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
139 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
139 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
162 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
162 | constParameterPointer | 398 | style | Parameter 'pv' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
162 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
183 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
183 | constParameterPointer | 398 | style | Parameter 'salvage' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
183 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
200 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
200 | constParameterPointer | 398 | style | Parameter 'salvage' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
200 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
200 | constParameterPointer | 398 | style | Parameter 'period' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
227 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
227 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
227 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/lexer.c |
34 | variableScope | 398 | style | The scope of the variable 'count' can be reduced. | Sat Aug 16 14:48:51 2025 |
122 | unreadVariable | 563 | style | Variable 'type' is assigned a value that is never used. | Sat Aug 16 14:48:51 2025 |
530 | variableScope | 398 | style | The scope of the variable 'token' can be reduced. | Sat Aug 16 14:48:51 2025 |
530 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/math-buttons.c |
407 | unknownMacro | | error | There 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 |
145 | shadowVariable | 398 | style | Local variable 'iter' shadows outer variable | Sat Aug 16 14:48:51 2025 |
196 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
272 | staticFunction | | style | The 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 |
434 | variableScope | 398 | style | The scope of the variable 'equation' can be reduced. | Sat Aug 16 14:48:51 2025 |
503 | staticFunction | | style | The 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 |
615 | staticFunction | | style | The 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 |
680 | staticFunction | | style | The 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 |
703 | staticFunction | | style | The 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 |
726 | staticFunction | | style | The 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 |
750 | staticFunction | | style | The 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 |
781 | staticFunction | | style | The 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 |
805 | staticFunction | | style | The 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 |
817 | staticFunction | | style | The 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 |
873 | variableScope | 398 | style | The scope of the variable 'text' can be reduced. | Sat Aug 16 14:48:51 2025 |
901 | staticFunction | | style | The 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 |
964 | staticFunction | | style | The 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 |
1030 | variableScope | 398 | style | The scope of the variable 'subscript_digits' can be reduced. | Sat Aug 16 14:48:51 2025 |
1031 | variableScope | 398 | style | The scope of the variable 'superscript_digits' can be reduced. | Sat Aug 16 14:48:51 2025 |
1109 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sat Aug 16 14:48:51 2025 |
1129 | constVariablePointer | 398 | style | Variable 't' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
1132 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sat Aug 16 14:48:51 2025 |
1877 | constParameterCallback | 398 | style | Parameter '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 |
161 | unreadVariable | 563 | style | Variable 'valid' is assigned a value that is never used. | Sat Aug 16 14:48:51 2025 |
src/math-variable-popup.c |
205 | constVariablePointer | 398 | style | Variable 'val' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/math-variables.c |
90 | constVariablePointer | 398 | style | Variable 'name' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
91 | constVariablePointer | 398 | style | Variable 'value' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
164 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/math-window.c |
309 | constParameterCallback | 398 | style | Parameter '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 |
33 | variableScope | 398 | style | The scope of the variable 'k' can be reduced. | Sat Aug 16 14:48:51 2025 |
106 | variableScope | 398 | style | The scope of the variable 'k' can be reduced. | Sat Aug 16 14:48:51 2025 |
187 | knownConditionTrueFalse | 571 | style | Condition 'x>0' is always true | Sat Aug 16 14:48:51 2025 |
420 | suspiciousFloatingPointCast | 398 | style | Floating-point cast causes loss of precision. | Sat Aug 16 14:48:51 2025 |
461 | variableScope | 398 | style | The scope of the variable 'dz2' can be reduced. | Sat Aug 16 14:48:51 2025 |
505 | variableScope | 398 | style | The scope of the variable 'i' can be reduced. | Sat Aug 16 14:48:51 2025 |
505 | variableScope | 398 | style | The scope of the variable 'j' can be reduced. | Sat Aug 16 14:48:51 2025 |
506 | variableScope | 398 | style | The scope of the variable 'digits' can be reduced. | Sat Aug 16 14:48:51 2025 |
560 | arrayIndexOutOfBounds | 788 | error | Array 'digits[0][10]' accessed at index digits[*][10], which is out of bounds. | Sat Aug 16 14:48:51 2025 |
593 | invalidscanf | 119 | warning | sscanf() without field width limits can crash with huge input data. | Sat Aug 16 14:48:51 2025 |
622 | variableScope | 398 | style | The scope of the variable 'numerators' can be reduced. | Sat Aug 16 14:48:51 2025 |
622 | constVariable | 398 | style | Variable 'numerators' can be declared as const array | Sat Aug 16 14:48:51 2025 |
623 | variableScope | 398 | style | The scope of the variable 'denominators' can be reduced. | Sat Aug 16 14:48:51 2025 |
623 | constVariable | 398 | style | Variable 'denominators' can be declared as const array | Sat Aug 16 14:48:51 2025 |
706 | knownConditionTrueFalse | 398 | style | The comparison 'multiplier != 0' is always false. | Sat Aug 16 14:48:51 2025 |
src/mp-equation.c |
153 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sat Aug 16 14:48:51 2025 |
198 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sat Aug 16 14:48:51 2025 |
293 | variableScope | 398 | style | The scope of the variable 'err' can be reduced. | Sat Aug 16 14:48:51 2025 |
src/mp-serializer.c |
146 | shadowVariable | 398 | style | Local variable 'digits' shadows outer variable | Sat Aug 16 14:48:51 2025 |
204 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false | Sat Aug 16 14:48:51 2025 |
206 | knownConditionTrueFalse | 571 | style | Condition 'strcmp(s->str,"0")!=0' is always true | Sat Aug 16 14:48:51 2025 |
336 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false | Sat Aug 16 14:48:51 2025 |
338 | knownConditionTrueFalse | 571 | style | Condition 'strcmp(s->str,"0")!=0' is always true | Sat Aug 16 14:48:51 2025 |
387 | constParameterPointer | 398 | style | Parameter 'serializer' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/mp-trigonometric.c |
34 | staticFunction | | style | The 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 |
364 | shadowVariable | 398 | style | Local variable 'pi' shadows outer variable | Sat Aug 16 14:48:51 2025 |
src/mp.c |
256 | shadowVariable | 398 | style | Local variable 'i' shadows outer variable | Sat Aug 16 14:48:51 2025 |
261 | knownConditionTrueFalse | 571 | style | Condition 'i>0' is always true | Sat Aug 16 14:48:51 2025 |
1233 | variableScope | 398 | style | The scope of the variable 'e' can be reduced. | Sat Aug 16 14:48:51 2025 |
1234 | variableScope | 398 | style | The scope of the variable 'rx' can be reduced. | Sat Aug 16 14:48:51 2025 |
1234 | variableScope | 398 | style | The scope of the variable 'rlx' can be reduced. | Sat Aug 16 14:48:51 2025 |
1572 | knownConditionTrueFalse | 570 | style | Condition 'c<0' is always false | Sat Aug 16 14:48:51 2025 |
src/parser.c |
73 | constParameterPointer | 398 | style | Parameter 'state' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
80 | constParameterPointer | 398 | style | Parameter 'state' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
106 | constParameterPointer | 398 | style | Parameter 'left' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
106 | constParameterPointer | 398 | style | Parameter 'right' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
250 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
326 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. | Sat Aug 16 14:48:51 2025 |
1205 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/parserfunc.c |
20 | constParameterPointer | 398 | style | Parameter 'self' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
172 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. | Sat Aug 16 14:48:51 2025 |
229 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. | Sat Aug 16 14:48:51 2025 |
370 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: inv_name | Sat Aug 16 14:48:51 2025 |
371 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: inv_name | Sat Aug 16 14:48:51 2025 |
src/prelexer.c |
36 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
47 | staticFunction | | style | The 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 |
162 | constParameterCallback | 398 | style | Parameter '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 |
184 | constParameterCallback | 398 | style | Parameter '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 |
59 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/unit-category.c |
62 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
81 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
107 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
126 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/unit-manager.c |
150 | staticFunction | | style | The 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 |
175 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
193 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
196 | variableScope | 398 | style | The scope of the variable 'u' can be reduced. | Sat Aug 16 14:48:51 2025 |
213 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
216 | variableScope | 398 | style | The scope of the variable 'u' can be reduced. | Sat Aug 16 14:48:51 2025 |
233 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
258 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/unit.c |
76 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
84 | constVariablePointer | 398 | style | Variable 's' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
102 | constParameterCallback | 398 | style | Parameter '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 |
111 | constVariablePointer | 398 | style | Variable 'x' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
140 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
162 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
184 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
200 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |
src/unittest.c |
81 | variableScope | 398 | style | The scope of the variable 'result_str' can be reduced. | Sat Aug 16 14:48:51 2025 |
142 | constParameterCallback | 398 | style | Parameter '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 |
166 | constParameterCallback | 398 | style | Parameter '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 |
181 | redundantAssignment | 563 | style | Variable 'options.base' is reassigned a value before the old one has been used. | Sat Aug 16 14:48:51 2025 |
595 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sat Aug 16 14:48:51 2025 |