|
| checkersReport | | information | Active checkers: There was critical errors (use --checkers-report=<filename> to see details) | Sun Aug 17 11:38:18 2025 |
src/cafe-calc-cmd.c |
84 | constVariablePointer | 398 | style | Variable 'line' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
87 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: equation | Sun Aug 17 11:38:18 2025 |
92 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: equation | Sun Aug 17 11:38:18 2025 |
src/cafe-calc.c |
70 | constVariablePointer | 398 | style | Variable 'result_str' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
130 | constVariablePointer | 398 | style | Variable 'arg' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/currency-manager.c |
144 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 11:38:18 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 11:38:18 2025 |
386 | constVariablePointer | 398 | style | Variable 'value' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/currency.c |
69 | constParameterPointer | 398 | style | Parameter 'value' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/financial.c |
20 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
21 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
22 | constParameterPointer | 398 | style | Parameter 'pv' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
42 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
42 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
42 | constParameterPointer | 398 | style | Parameter 'period' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
83 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
84 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
85 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
108 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
109 | constParameterPointer | 398 | style | Parameter 'margin' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
129 | constParameterPointer | 398 | style | Parameter 'prin' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
130 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
131 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
156 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
157 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
158 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
183 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
184 | constParameterPointer | 398 | style | Parameter 'pv' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
185 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
208 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
209 | constParameterPointer | 398 | style | Parameter 'salvage' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
210 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
229 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
230 | constParameterPointer | 398 | style | Parameter 'salvage' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
231 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
232 | constParameterPointer | 398 | style | Parameter 'period' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
261 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
262 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
263 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/lexer.c |
123 | unreadVariable | 563 | style | Variable 'type' is assigned a value that is never used. | Sun Aug 17 11:38:18 2025 |
531 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sun Aug 17 11:38:18 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 11:38:18 2025 |
src/math-converter.c |
147 | shadowVariable | 398 | style | Local variable 'iter' shadows outer variable | Sun Aug 17 11:38:18 2025 |
198 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sun Aug 17 11:38:18 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 11:38:18 2025 |
src/math-equation.c |
507 | 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 11:38:18 2025 |
619 | 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 11:38:18 2025 |
684 | 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 11:38:18 2025 |
707 | 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 11:38:18 2025 |
730 | 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 11:38:18 2025 |
754 | 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 11:38:18 2025 |
785 | 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 11:38:18 2025 |
809 | 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 11:38:18 2025 |
821 | 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 11:38:18 2025 |
906 | 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 11:38:18 2025 |
969 | staticFunction | | style | The function 'math_equation_set' should have static linkage since it is not used outside of its translation unit. | Sun Aug 17 11:38:18 2025 |
1117 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sun Aug 17 11:38:18 2025 |
1137 | constVariablePointer | 398 | style | Variable 't' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
1140 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sun Aug 17 11:38:18 2025 |
1889 | 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 11:38:18 2025 |
src/math-preferences.c |
163 | unreadVariable | 563 | style | Variable 'valid' is assigned a value that is never used. | Sun Aug 17 11:38:18 2025 |
src/math-variable-popup.c |
210 | constVariablePointer | 398 | style | Variable 'val' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/math-variables.c |
90 | constVariablePointer | 398 | style | Variable 'name' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
91 | constVariablePointer | 398 | style | Variable 'value' can be declared as pointer to const | Sun Aug 17 11:38:18 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 11:38:18 2025 |
src/mp-convert.c |
191 | knownConditionTrueFalse | 571 | style | Condition 'x>0' is always true | Sun Aug 17 11:38:18 2025 |
424 | suspiciousFloatingPointCast | 398 | style | Floating-point cast causes loss of precision. | Sun Aug 17 11:38:18 2025 |
568 | arrayIndexOutOfBounds | 788 | error | Array 'digits[0][10]' accessed at index digits[*][10], which is out of bounds. | Sun Aug 17 11:38:18 2025 |
601 | invalidscanf | 119 | warning | sscanf() without field width limits can crash with huge input data. | Sun Aug 17 11:38:18 2025 |
684 | constVariable | 398 | style | Variable 'numerators' can be declared as const array | Sun Aug 17 11:38:18 2025 |
685 | constVariable | 398 | style | Variable 'denominators' can be declared as const array | Sun Aug 17 11:38:18 2025 |
715 | knownConditionTrueFalse | 398 | style | The comparison 'multiplier != 0' is always false. | Sun Aug 17 11:38:18 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 11:38:18 2025 |
198 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: c | Sun Aug 17 11:38:18 2025 |
src/mp-serializer.c |
146 | shadowVariable | 398 | style | Local variable 'digits' shadows outer variable | Sun Aug 17 11:38:18 2025 |
204 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false | Sun Aug 17 11:38:18 2025 |
206 | knownConditionTrueFalse | 571 | style | Condition 'strcmp(s->str,"0")!=0' is always true | Sun Aug 17 11:38:18 2025 |
336 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false | Sun Aug 17 11:38:18 2025 |
338 | knownConditionTrueFalse | 571 | style | Condition 'strcmp(s->str,"0")!=0' is always true | Sun Aug 17 11:38:18 2025 |
387 | constParameterPointer | 398 | style | Parameter 'serializer' can be declared as pointer to const | Sun Aug 17 11:38:18 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 11:38:18 2025 |
364 | shadowVariable | 398 | style | Local variable 'pi' shadows outer variable | Sun Aug 17 11:38:18 2025 |
src/mp.c |
256 | shadowVariable | 398 | style | Local variable 'i' shadows outer variable | Sun Aug 17 11:38:18 2025 |
261 | knownConditionTrueFalse | 571 | style | Condition 'i>0' is always true | Sun Aug 17 11:38:18 2025 |
1574 | knownConditionTrueFalse | 570 | style | Condition 'c<0' is always false | Sun Aug 17 11:38:18 2025 |
src/parser.c |
73 | constParameterPointer | 398 | style | Parameter 'state' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
80 | constParameterPointer | 398 | style | Parameter 'state' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
106 | constParameterPointer | 398 | style | Parameter 'left' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
106 | constParameterPointer | 398 | style | Parameter 'right' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
250 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
1206 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/parserfunc.c |
372 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: inv_name | Sun Aug 17 11:38:18 2025 |
373 | nullPointerOutOfMemory | 476 | warning | If memory allocation fails, then there is a possible null pointer dereference: inv_name | Sun Aug 17 11:38:18 2025 |
src/prelexer.c |
36 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const | Sun Aug 17 11:38:18 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 11:38:18 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 11:38:18 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 11:38:18 2025 |
src/test-mp.c |
59 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/unit-category.c |
62 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
81 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
107 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const | Sun Aug 17 11:38:18 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 11:38:18 2025 |
175 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
193 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
214 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
235 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/unit.c |
76 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
84 | constVariablePointer | 398 | style | Variable 's' can be declared as pointer to const | Sun Aug 17 11:38:18 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 11:38:18 2025 |
114 | constVariablePointer | 398 | style | Variable 'x' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
143 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
165 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
187 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |
src/unittest.c |
143 | 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 11:38:18 2025 |
167 | 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 11:38:18 2025 |
182 | redundantAssignment | 563 | style | Variable 'options.base' is reassigned a value before the old one has been used. | Sun Aug 17 11:38:18 2025 |
596 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const | Sun Aug 17 11:38:18 2025 |