|
| checkersReport | | information | Active checkers: There was critical errors (use --checkers-report=<filename> to see details) |
src/cafe-calc-cmd.c |
71 | variableScope | 398 | style | The scope of the variable 'line' can be reduced. |
71 | constVariablePointer | 398 | style | Variable 'line' can be declared as pointer to const |
src/cafe-calc.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
49 | variableScope | 398 | style | The scope of the variable 'result_str' can be reduced. |
49 | constVariablePointer | 398 | style | Variable 'result_str' can be declared as pointer to const |
124 | variableScope | 398 | style | The scope of the variable 'arg' can be reduced. |
124 | constVariablePointer | 398 | style | Variable 'arg' can be declared as pointer to const |
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). |
src/currency-manager.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
144 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const |
386 | constVariablePointer | 398 | style | Variable 'value' can be declared as pointer to const |
src/currency.c |
69 | constParameterPointer | 398 | style | Parameter 'value' can be declared as pointer to const |
86 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const |
src/financial.c |
18 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const |
18 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const |
18 | constParameterPointer | 398 | style | Parameter 'pv' can be declared as pointer to const |
38 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const |
38 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const |
38 | constParameterPointer | 398 | style | Parameter 'period' can be declared as pointer to const |
77 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const |
77 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const |
77 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const |
98 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const |
98 | constParameterPointer | 398 | style | Parameter 'margin' can be declared as pointer to const |
116 | constParameterPointer | 398 | style | Parameter 'prin' can be declared as pointer to const |
116 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const |
116 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const |
139 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const |
139 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const |
139 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const |
162 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const |
162 | constParameterPointer | 398 | style | Parameter 'pv' can be declared as pointer to const |
162 | constParameterPointer | 398 | style | Parameter 'n' can be declared as pointer to const |
183 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const |
183 | constParameterPointer | 398 | style | Parameter 'salvage' can be declared as pointer to const |
183 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const |
200 | constParameterPointer | 398 | style | Parameter 'cost' can be declared as pointer to const |
200 | constParameterPointer | 398 | style | Parameter 'salvage' can be declared as pointer to const |
200 | constParameterPointer | 398 | style | Parameter 'life' can be declared as pointer to const |
200 | constParameterPointer | 398 | style | Parameter 'period' can be declared as pointer to const |
227 | constParameterPointer | 398 | style | Parameter 'pmt' can be declared as pointer to const |
227 | constParameterPointer | 398 | style | Parameter 'fv' can be declared as pointer to const |
227 | constParameterPointer | 398 | style | Parameter 'pint' can be declared as pointer to const |
src/lexer.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
34 | variableScope | 398 | style | The scope of the variable 'count' can be reduced. |
122 | unreadVariable | 563 | style | Variable 'type' is assigned a value that is never used. |
530 | variableScope | 398 | style | The scope of the variable 'token' can be reduced. |
530 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const |
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. |
src/math-converter.c |
145 | shadowVariable | 398 | style | Local variable 'iter' shadows outer variable |
196 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const |
src/math-display.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
src/math-equation.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
434 | variableScope | 398 | style | The scope of the variable 'equation' can be reduced. |
873 | variableScope | 398 | style | The scope of the variable 'text' can be reduced. |
1030 | variableScope | 398 | style | The scope of the variable 'subscript_digits' can be reduced. |
1031 | variableScope | 398 | style | The scope of the variable 'superscript_digits' can be reduced. |
1129 | variableScope | 398 | style | The scope of the variable 't' can be reduced. |
1129 | constVariablePointer | 398 | style | Variable 't' can be declared as pointer to const |
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). |
src/math-preferences.c |
161 | unreadVariable | 563 | style | Variable 'valid' is assigned a value that is never used. |
src/math-variable-popup.c |
205 | constVariablePointer | 398 | style | Variable 'val' can be declared as pointer to const |
src/math-variables.c |
90 | constVariablePointer | 398 | style | Variable 'name' can be declared as pointer to const |
91 | constVariablePointer | 398 | style | Variable 'value' can be declared as pointer to const |
164 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const |
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). |
src/mp-binary.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
src/mp-convert.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
33 | variableScope | 398 | style | The scope of the variable 'k' can be reduced. |
106 | variableScope | 398 | style | The scope of the variable 'k' can be reduced. |
187 | knownConditionTrueFalse | 571 | style | Condition 'x>0' is always true |
461 | variableScope | 398 | style | The scope of the variable 'dz2' can be reduced. |
505 | variableScope | 398 | style | The scope of the variable 'i' can be reduced. |
505 | variableScope | 398 | style | The scope of the variable 'j' can be reduced. |
506 | variableScope | 398 | style | The scope of the variable 'digits' can be reduced. |
560 | arrayIndexOutOfBounds | 788 | error | Array 'digits[0][10]' accessed at index digits[*][10], which is out of bounds. |
593 | invalidscanf | 119 | warning | sscanf() without field width limits can crash with huge input data. |
622 | variableScope | 398 | style | The scope of the variable 'numerators' can be reduced. |
622 | constVariable | 398 | style | Variable 'numerators' can be declared as const array |
623 | variableScope | 398 | style | The scope of the variable 'denominators' can be reduced. |
623 | constVariable | 398 | style | Variable 'denominators' can be declared as const array |
706 | knownConditionTrueFalse | 398 | style | The comparison 'multiplier != 0' is always false. |
src/mp-equation.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
293 | variableScope | 398 | style | The scope of the variable 'err' can be reduced. |
src/mp-serializer.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
146 | shadowVariable | 398 | style | Local variable 'digits' shadows outer variable |
204 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false |
336 | knownConditionTrueFalse | 570 | style | Condition 'strcmp(s->str,"+0")==0' is always false |
387 | constParameterPointer | 398 | style | Parameter 'serializer' can be declared as pointer to const |
src/mp-trigonometric.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
364 | shadowVariable | 398 | style | Local variable 'pi' shadows outer variable |
src/mp.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
256 | shadowVariable | 398 | style | Local variable 'i' shadows outer variable |
261 | knownConditionTrueFalse | 571 | style | Condition 'i>0' is always true |
1233 | variableScope | 398 | style | The scope of the variable 'e' can be reduced. |
1234 | variableScope | 398 | style | The scope of the variable 'rx' can be reduced. |
1234 | variableScope | 398 | style | The scope of the variable 'rlx' can be reduced. |
1572 | knownConditionTrueFalse | 570 | style | Condition 'c<0' is always false |
src/parser.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
73 | constParameterPointer | 398 | style | Parameter 'state' can be declared as pointer to const |
80 | constParameterPointer | 398 | style | Parameter 'state' can be declared as pointer to const |
106 | constParameterPointer | 398 | style | Parameter 'left' can be declared as pointer to const |
106 | constParameterPointer | 398 | style | Parameter 'right' can be declared as pointer to const |
250 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const |
326 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
539 | variableScope | 398 | style | The scope of the variable 'node' can be reduced. |
1162 | variableScope | 398 | style | The scope of the variable 'node' can be reduced. |
1205 | constVariablePointer | 398 | style | Variable 'token' can be declared as pointer to const |
1206 | variableScope | 398 | style | The scope of the variable 'node' can be reduced. |
src/parserfunc.c |
0 | normalCheckLevelMaxBranches | | information | Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. |
20 | constParameterPointer | 398 | style | Parameter 'self' can be declared as pointer to const |
172 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
229 | variableScope | 398 | style | The scope of the variable 'buffer' can be reduced. |
src/prelexer.c |
36 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
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). |
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). |
src/test-mp.c |
59 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const |
src/unit-category.c |
62 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const |
81 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const |
107 | constParameterPointer | 398 | style | Parameter 'category' can be declared as pointer to const |
126 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const |
src/unit-manager.c |
175 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const |
193 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const |
196 | variableScope | 398 | style | The scope of the variable 'u' can be reduced. |
213 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const |
216 | variableScope | 398 | style | The scope of the variable 'u' can be reduced. |
233 | constParameterPointer | 398 | style | Parameter 'manager' can be declared as pointer to const |
258 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const |
src/unit.c |
76 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const |
84 | constVariablePointer | 398 | style | Variable 's' can be declared as pointer to const |
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). |
111 | constVariablePointer | 398 | style | Variable 'x' can be declared as pointer to const |
140 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const |
162 | constParameterPointer | 398 | style | Parameter 'unit' can be declared as pointer to const |
184 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const |
200 | constParameterPointer | 398 | style | Parameter 'klass' can be declared as pointer to const |
src/unittest.c |
81 | variableScope | 398 | style | The scope of the variable 'result_str' can be reduced. |
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). |
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). |
181 | redundantAssignment | 563 | style | Variable 'options.base' is reassigned a value before the old one has been used. |
595 | constParameterPointer | 398 | style | Parameter 'x' can be declared as pointer to const |