|
| checkersReport | | information | Active checkers: There was critical errors (use --checkers-report=<filename> to see details) | Sun Aug 17 01:55:40 2025 |
src/cafe-calc-cmd.c |
72 | variableScope | 398 | style | The scope of the variable 'line' can be reduced. | Sun Aug 17 01:55:40 2025 |
72 | constVariablePointer | 398 | style | Variable 'line' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
85 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: equation | Sun Aug 17 01:55:40 2025 |
90 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: equation | Sun Aug 17 01:55:40 2025 |
src/cafe-calc.c |
53 | variableScope | 398 | style | The scope of the variable 'result_str' can be reduced. | Sun Aug 17 01:55:40 2025 |
53 | constVariablePointer | 398 | style | Variable 'result_str' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
128 | variableScope | 398 | style | The scope of the variable 'arg' can be reduced. | Sun Aug 17 01:55:40 2025 |
128 | constVariablePointer | 398 | style | Variable 'arg' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/currency-manager.c |
144 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
144 | staticFunction | | style | The function 'currency_manager_get_currency' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
386 | constVariablePointer | 398 | style | Variable 'value' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/currency.c |
69 | constParameterPointer | 398 | style | Parameter 'value' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/financial.c |
20 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
21 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
22 | constParameterPointer | 398 | style | Parameter 'pv' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
42 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
42 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
42 | constParameterPointer | 398 | style | Parameter 'period' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
83 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
84 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
85 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
108 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
109 | constParameterPointer | 398 | style | Parameter 'margin' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
129 | constParameterPointer | 398 | style | Parameter 'prin' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
130 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
131 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
156 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
157 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
158 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
183 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
184 | constParameterPointer | 398 | style | Parameter 'pv' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
185 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
208 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
209 | constParameterPointer | 398 | style | Parameter 'salvage' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
210 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
229 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
230 | constParameterPointer | 398 | style | Parameter 'salvage' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
231 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
232 | constParameterPointer | 398 | style | Parameter 'period' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
261 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
262 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
263 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/lexer.c |
34 | variableScope | 398 | style | The scope of the variable 'count' can be reduced. | Sun Aug 17 01:55:40 2025 |
122 | unreadVariable | 563 | style | Variable 'type' is assigned a value that is never used. | Sun Aug 17 01:55:40 2025 |
530 | variableScope | 398 | style | The scope of the variable 'token' can be reduced. | Sun Aug 17 01:55:40 2025 |
530 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sun Aug 17 01:55:40 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. | Sun Aug 17 01:55:40 2025 |
src/math-converter.c |
147 | shadowVariable | 398 | style | Local variable 'iter' shadows outer variable | Sun Aug 17 01:55:40 2025 |
198 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
274 | staticFunction | | style | The function 'math_converter_get_conversion' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
src/math-equation.c |
436 | variableScope | 398 | style | The scope of the variable 'equation' can be reduced. | Sun Aug 17 01:55:40 2025 |
505 | staticFunction | | style | The function 'math_equation_get_digit_text' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
617 | staticFunction | | style | The function 'math_equation_get_base' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
682 | staticFunction | | style | The function 'math_equation_get_source_currency' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
705 | staticFunction | | style | The function 'math_equation_get_target_currency' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
728 | staticFunction | | style | The function 'math_equation_get_source_units' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
752 | staticFunction | | style | The function 'math_equation_get_target_units' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
783 | staticFunction | | style | The function 'math_equation_is_empty' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
807 | staticFunction | | style | The function 'math_equation_get_display' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
819 | staticFunction | | style | The function 'math_equation_get_equation' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
875 | variableScope | 398 | style | The scope of the variable 'text' can be reduced. | Sun Aug 17 01:55:40 2025 |
903 | staticFunction | | style | The function 'math_equation_set_number_mode' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
966 | staticFunction | | style | The function 'math_equation_set' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
1032 | variableScope | 398 | style | The scope of the variable 'subscript_digits' can be reduced. | Sun Aug 17 01:55:40 2025 |
1033 | variableScope | 398 | style | The scope of the variable 'superscript_digits' can be reduced. | Sun Aug 17 01:55:40 2025 |
1111 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sun Aug 17 01:55:40 2025 |
1131 | constVariablePointer | 398 | style | Variable 't' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
1134 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sun Aug 17 01:55:40 2025 |
1883 | 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). | Sun Aug 17 01:55:40 2025 |
src/math-preferences.c |
151 | unreadVariable | 563 | style | Variable 'valid' is assigned a value that is never used. | Sun Aug 17 01:55:40 2025 |
src/math-variable-popup.c |
210 | constVariablePointer | 398 | style | Variable 'val' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/math-variables.c |
90 | constVariablePointer | 398 | style | Variable 'name' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
91 | constVariablePointer | 398 | style | Variable 'value' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/math-window.c |
317 | 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). | Sun Aug 17 01:55:40 2025 |
src/mp-convert.c |
33 | variableScope | 398 | style | The scope of the variable 'k' can be reduced. | Sun Aug 17 01:55:40 2025 |
106 | variableScope | 398 | style | The scope of the variable 'k' can be reduced. | Sun Aug 17 01:55:40 2025 |
187 | knownConditionTrueFalse | 571 | style | Condition 'x>0' is always true | Sun Aug 17 01:55:40 2025 |
420 | suspiciousFloatingPointCast | 398 | style | Floating-point cast causes loss of precision. | Sun Aug 17 01:55:40 2025 |
461 | variableScope | 398 | style | The scope of the variable 'dz2' can be reduced. | Sun Aug 17 01:55:40 2025 |
505 | variableScope | 398 | style | The scope of the variable 'i' can be reduced. | Sun Aug 17 01:55:40 2025 |
505 | variableScope | 398 | style | The scope of the variable 'j' can be reduced. | Sun Aug 17 01:55:40 2025 |
506 | variableScope | 398 | style | The scope of the variable 'digits' can be reduced. | Sun Aug 17 01:55:40 2025 |
560 | arrayIndexOutOfBounds | 788 | error | Array 'digits[0][10]' accessed at index digits[*][10], which is out of bounds. | Sun Aug 17 01:55:40 2025 |
593 | invalidscanf | 119 | warning | sscanf() without field width limits can crash with huge input data. | Sun Aug 17 01:55:40 2025 |
622 | variableScope | 398 | style | The scope of the variable 'numerators' can be reduced. | Sun Aug 17 01:55:40 2025 |
622 | constVariable | 398 | style | Variable 'numerators' can be declared as const array | Sun Aug 17 01:55:40 2025 |
623 | variableScope | 398 | style | The scope of the variable 'denominators' can be reduced. | Sun Aug 17 01:55:40 2025 |
623 | constVariable | 398 | style | Variable 'denominators' can be declared as const array | Sun Aug 17 01:55:40 2025 |
706 | knownConditionTrueFalse | 398 | style | The comparison 'multiplier != 0' is always false. | Sun Aug 17 01:55:40 2025 |
src/mp-equation.c |
153 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sun Aug 17 01:55:40 2025 |
198 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sun Aug 17 01:55:40 2025 |
293 | variableScope | 398 | style | The scope of the variable 'err' can be reduced. | Sun Aug 17 01:55:40 2025 |
src/mp-serializer.c |
146 | shadowVariable | 398 | style | Local variable 'digits' shadows outer variable | Sun Aug 17 01:55:40 2025 |
204 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false | Sun Aug 17 01:55:40 2025 |
206 | knownConditionTrueFalse | 571 | style | Condition 'strcmp(s->str,"0")!=0' is always true | Sun Aug 17 01:55:40 2025 |
336 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false | Sun Aug 17 01:55:40 2025 |
338 | knownConditionTrueFalse | 571 | style | Condition 'strcmp(s->str,"0")!=0' is always true | Sun Aug 17 01:55:40 2025 |
387 | constParameterPointer | 398 | style | Parameter 'serializer' can be declared as pointer to const | Sun Aug 17 01:55:40 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. | Sun Aug 17 01:55:40 2025 |
364 | shadowVariable | 398 | style | Local variable 'pi' shadows outer variable | Sun Aug 17 01:55:40 2025 |
src/mp.c |
256 | shadowVariable | 398 | style | Local variable 'i' shadows outer variable | Sun Aug 17 01:55:40 2025 |
261 | knownConditionTrueFalse | 571 | style | Condition 'i>0' is always true | Sun Aug 17 01:55:40 2025 |
1233 | variableScope | 398 | style | The scope of the variable 'e' can be reduced. | Sun Aug 17 01:55:40 2025 |
1234 | variableScope | 398 | style | The scope of the variable 'rx' can be reduced. | Sun Aug 17 01:55:40 2025 |
1234 | variableScope | 398 | style | The scope of the variable 'rlx' can be reduced. | Sun Aug 17 01:55:40 2025 |
1572 | knownConditionTrueFalse | 570 | style | Condition 'c<0' is always false | Sun Aug 17 01:55:40 2025 |
src/parser.c |
73 | constParameterPointer | 398 | style | Parameter 'state' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
80 | constParameterPointer | 398 | style | Parameter 'state' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
106 | constParameterPointer | 398 | style | Parameter 'left' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
106 | constParameterPointer | 398 | style | Parameter 'right' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
250 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
326 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. | Sun Aug 17 01:55:40 2025 |
1205 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/parserfunc.c |
172 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. | Sun Aug 17 01:55:40 2025 |
229 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. | Sun Aug 17 01:55:40 2025 |
370 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: inv_name | Sun Aug 17 01:55:40 2025 |
371 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: inv_name | Sun Aug 17 01:55:40 2025 |
src/prelexer.c |
36 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
47 | staticFunction | | style | The function 'pl_get_next_gunichar' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 01:55:40 2025 |
src/test-mp-equation.c |
167 | constParameterCallback | 398 | style | Parameter '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). | Sun Aug 17 01:55:40 2025 |
193 | constParameterCallback | 398 | style | Parameter '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). | Sun Aug 17 01:55:40 2025 |
src/test-mp.c |
59 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/unit-category.c |
62 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
81 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
107 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sun Aug 17 01:55:40 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. | Sun Aug 17 01:55:40 2025 |
175 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
193 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
196 | variableScope | 398 | style | The scope of the variable 'u' can be reduced. | Sun Aug 17 01:55:40 2025 |
213 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
216 | variableScope | 398 | style | The scope of the variable 'u' can be reduced. | Sun Aug 17 01:55:40 2025 |
233 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/unit.c |
76 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
84 | constVariablePointer | 398 | style | Variable 's' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
103 | constParameterCallback | 398 | style | Parameter '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). | Sun Aug 17 01:55:40 2025 |
114 | constVariablePointer | 398 | style | Variable 'x' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
143 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
165 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
187 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |
src/unittest.c |
81 | variableScope | 398 | style | The scope of the variable 'result_str' can be reduced. | Sun Aug 17 01:55:40 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). | Sun Aug 17 01:55:40 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). | Sun Aug 17 01:55:40 2025 |
181 | redundantAssignment | 563 | style | Variable 'options.base' is reassigned a value before the old one has been used. | Sun Aug 17 01:55:40 2025 |
595 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sun Aug 17 01:55:40 2025 |