|
| missingInclude | | information | Cppcheck cannot find all the include files (use --check-config for details) |
../../modules/complex/Mandelbrot.c |
15 | unusedVariable | 563 | style | Unused variable: i |
15 | unusedVariable | 563 | style | Unused variable: j |
100 | unusedVariable | 563 | style | Unused variable: errorcode |
113 | unreadVariable | 563 | style | Variable 'left' is assigned a value that is never used. |
114 | unreadVariable | 563 | style | Variable 'top' is assigned a value that is never used. |
115 | unreadVariable | 563 | style | Variable 'xside' is assigned a value that is never used. |
116 | unreadVariable | 563 | style | Variable 'yside' is assigned a value that is never used. |
../../modules/complex/Mandelbrot.cpp |
44 | unusedVariable | 563 | style | Unused variable: i |
44 | unusedVariable | 563 | style | Unused variable: j |
116 | unusedVariable | 563 | style | Unused variable: errorcode |
../../modules/complex/openGL_bounce.c |
19 | syntaxError | | error | Code 'classCamera{' is invalid C code. Use --std or --language to configure the language. |
../../modules/complex/openGL_example00.c |
32 | variableScope | 398 | style | The scope of the variable 'x' can be reduced. |
32 | variableScope | 398 | style | The scope of the variable 'y' can be reduced. |
../../modules/core/datatable2.cpp |
74 | unusedFunction | 561 | style | The function 'map_file' is never used. |
200 | variableScope | 398 | style | The scope of the variable 'num_omitted_rows' can be reduced. |
../../modules/disct/graphs.cpp |
406 | useStlAlgorithm | 398 | style | Consider using std::any_of algorithm instead of a raw loop. |
676 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
../../modules/linalg/arm/mtx_arm_vec_f32.cpp |
73 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
103 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/avx/mtx_avx2_arr_f32.cpp |
74 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/avx/mtx_avx2_arr_f64.cpp |
73 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/avx/mtx_avx2_arr_i16.cpp |
104 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/avx/mtx_avx2_arr_i32.cpp |
116 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/avx/mtx_avx2_arr_i8.cpp |
105 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/avx/mtx_avx2_vec_f32.cpp |
75 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/avx/mtx_avx2_vec_f64.cpp |
75 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
108 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/avx/mtx_avx2_vec_i32.cpp |
78 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
117 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/dgemm_arr.cpp |
147 | variableScope | 398 | style | The scope of the variable 'j' can be reduced. |
195 | variableScope | 398 | style | The scope of the variable 'i' can be reduced. |
403 | variableScope | 398 | style | The scope of the variable 'nc' can be reduced. |
../../modules/linalg/gpu/_gpu_kernel_mtx_add.c |
4 | unusedFunction | 561 | style | The function 'add_vec_gpu' is never used. |
../../modules/linalg/gpu/_gpu_kernel_mtx_mul.c |
4 | unusedFunction | 561 | style | The function 'matrixMul' is never used. |
5 | constParameter | 398 | style | Parameter 'A' can be declared with const |
6 | constParameter | 398 | style | Parameter 'B' can be declared with const |
../../modules/linalg/gpu/_gpu_mtx_add.c |
85 | constParameter | 398 | style | Parameter 'v1' can be declared with const |
85 | constParameter | 398 | style | Parameter 'v2' can be declared with const |
99 | unusedVariable | 563 | style | Unused variable: start |
99 | unusedVariable | 563 | style | Unused variable: finish |
100 | unusedVariable | 563 | style | Unused variable: duration |
143 | unusedVariable | 563 | style | Unused variable: ret_num_devices |
153 | unusedVariable | 563 | style | Unused variable: string |
../../modules/linalg/gpu/_gpu_mtx_kernel.c |
17 | constParameter | 398 | style | Parameter 'A' can be declared with const |
18 | constParameter | 398 | style | Parameter 'B' can be declared with const |
../../modules/linalg/gpu/mtx_x86.c |
9 | syntaxError | | error | Code 'std::random_device' is invalid C code. Use --std or --language to configure the language. |
../../modules/linalg/igemm_arr.cpp |
76 | variableScope | 398 | style | The scope of the variable 'j' can be reduced. |
124 | variableScope | 398 | style | The scope of the variable 'i' can be reduced. |
280 | variableScope | 398 | style | The scope of the variable 'nr' can be reduced. |
353 | variableScope | 398 | style | The scope of the variable 'nc' can be reduced. |
../../modules/linalg/sgemm_arr.cpp |
76 | variableScope | 398 | style | The scope of the variable 'j' can be reduced. |
124 | variableScope | 398 | style | The scope of the variable 'i' can be reduced. |
281 | variableScope | 398 | style | The scope of the variable 'nr' can be reduced. |
354 | variableScope | 398 | style | The scope of the variable 'nc' can be reduced. |
../../modules/linalg/sse/mtx_sse2_arr_f32.cpp |
0 | noValidConfiguration | | information | This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. |
91 | preprocessorErrorDirective | | error | #endif without #if |
../../modules/linalg/sse/mtx_sse2_arr_f64.cpp |
0 | noValidConfiguration | | information | This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. |
92 | preprocessorErrorDirective | | error | #endif without #if |
../../modules/linalg/sse/mtx_sse2_arr_i16.cpp |
0 | noValidConfiguration | | information | This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. |
87 | preprocessorErrorDirective | | error | #endif without #if |
../../modules/linalg/sse/mtx_sse2_arr_i32.cpp |
0 | noValidConfiguration | | information | This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. |
98 | preprocessorErrorDirective | | error | #endif without #if |
../../modules/linalg/sse/mtx_sse2_arr_i8.cpp |
0 | noValidConfiguration | | information | This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. |
87 | preprocessorErrorDirective | | error | #endif without #if |
../../modules/linalg/sse/mtx_sse2_vec_f32.cpp |
75 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/sse/mtx_sse2_vec_f64.cpp |
0 | noValidConfiguration | | information | This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. |
182 | preprocessorErrorDirective | | error | #endif without #if |
../../modules/linalg/sse/mtx_sse2_vec_i32.cpp |
77 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
113 | redundantInitialization | 563 | style | Redundant initialization for 'c'. The initialized value is overwritten before it is read. |
../../modules/linalg/tensor.cpp |
51 | unreadVariable | 563 | style | Variable 'totalSize' is assigned a value that is never used. |
53 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
53 | unreadVariable | 563 | style | Variable 'totalSize' is assigned a value that is never used. |
../../modules/linalg/vector_naive.cpp |
59 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
100 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
../../modules/ml/activators.cpp |
123 | unpreciseMathCall | 758 | style | Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. |
127 | unpreciseMathCall | 758 | style | Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. |
135 | unpreciseMathCall | 758 | style | Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. |
../../modules/ml/encoder.cpp |
409 | unpreciseMathCall | 758 | style | Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. |
555 | unusedVariable | 563 | style | Unused variable: generator |
../../modules/ml/regularizers.cpp |
53 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
98 | useStlAlgorithm | 398 | style | Consider using std::transform algorithm instead of a raw loop. |
108 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
114 | useStlAlgorithm | 398 | style | Consider using std::transform algorithm instead of a raw loop. |
123 | useStlAlgorithm | 398 | style | Consider using std::transform algorithm instead of a raw loop. |
136 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
142 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
../../modules/ml/svc.cpp |
92 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
../../modules/nt/logarithms.cpp |
63 | redundantInitialization | 563 | style | Redundant initialization for 'x'. The initialized value is overwritten before it is read. |
../../modules/nt/rc4.cpp |
51 | redundantInitialization | 563 | style | Redundant initialization for 'swapped'. The initialized value is overwritten before it is read. |
../../modules/nt/rc6.cpp |
111 | uninitvar | 457 | error | Uninitialized variable: block[j/4] |
../../modules/optim/function.cpp |
244 | unreadVariable | 563 | style | Variable 'best_point' is assigned a value that is never used. |
254 | unreadVariable | 563 | style | Variable 'best_point' is assigned a value that is never used. |
458 | unreadVariable | 563 | style | Variable 'sum_x_cubed' is assigned a value that is never used. |
468 | unreadVariable | 563 | style | Variable 'sum_x_cubed' is assigned a value that is never used. |
../../modules/optim/quasi.cpp |
231 | unreadVariable | 563 | style | Variable 'updated_point' is assigned a value that is never used. |
../../modules/stats/cdfs.cpp |
56 | knownConditionTrueFalse | 571 | style | Condition 'x>=1' is always true |
../../modules/stats/describe.cpp |
44 | useStlAlgorithm | 398 | style | Consider using std::count_if algorithm instead of a raw loop. |
55 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
64 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
93 | useStlAlgorithm | 398 | style | Consider using std::accumulate algorithm instead of a raw loop. |
../../modules/stats/probdist.cpp |
107 | duplicateExpression | 398 | style | Same expression on both sides of '/'. |
173 | useStlAlgorithm | 398 | style | Consider using std::count_if algorithm instead of a raw loop. |
../../modules/stats/quantiles.cpp |
45 | unusedFunction | 561 | style | The function 'bernoulli' is never used. |
66 | unusedFunction | 561 | style | The function 'binomial' is never used. |
79 | unusedFunction | 561 | style | The function 'cauchy' is never used. |
84 | unusedFunction | 561 | style | The function 'chiSquared' is never used. |
91 | unusedFunction | 561 | style | The function 'exponential' is never used. |
121 | unreadVariable | 563 | style | Variable 'maxIterations' is assigned a value that is never used. |
122 | unreadVariable | 563 | style | Variable 'epsilon' is assigned a value that is never used. |
165 | variableScope | 398 | style | The scope of the variable 'aold' can be reduced. |
165 | unreadVariable | 563 | style | Variable 'aold' is assigned a value that is never used. |
166 | variableScope | 398 | style | The scope of the variable 'em' can be reduced. |
166 | variableScope | 398 | style | The scope of the variable 'tem' can be reduced. |
166 | variableScope | 398 | style | The scope of the variable 'd' can be reduced. |
166 | variableScope | 398 | style | The scope of the variable 'ap' can be reduced. |
166 | variableScope | 398 | style | The scope of the variable 'bp' can be reduced. |
166 | variableScope | 398 | style | The scope of the variable 'app' can be reduced. |
166 | variableScope | 398 | style | The scope of the variable 'bpp' can be reduced. |
../../modules/stats/resampling.cpp |
256 | unreadVariable | 563 | style | Variable 'permutedData1' is assigned a value that is never used. |
257 | unreadVariable | 563 | style | Variable 'permutedData2' is assigned a value that is never used. |