| Run: | 43521388434 |
| Check: | main: bugprone-* |
| Status: | ok |
| Time: | 3s |
| Warnings: | 33 (TP 0, FP 0, unclassified 33) |
| Source: | msteinbeck/tinyspline/blob/f8b1ab7ec2a2bf43220044fe32c9869a5f6c3469 |
| Verdict | Location | Message |
|---|---|---|
| - | src/tinyspline.c:475:11 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' |
| - | src/tinyspline.c:477:39 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | src/tinyspline.c:482:11 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' |
| - | src/tinyspline.c:485:39 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | src/tinyspline.c:490:11 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' |
| - | src/tinyspline.c:490:12 | result of integer division used in a floating point context; possible loss of precision |
| - | src/tinyspline.c:494:33 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | src/tinyspline.c:494:34 | result of integer division used in a floating point context; possible loss of precision |
| - | src/tinyspline.c:500:51 | 3 adjacent parameters of 'ts_bspline_new' of convertible types are easily swapped by mistake |
| - | src/tinyspline.c:593:37 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' |
| - | src/tinyspline.c:653:19 | 2 adjacent parameters of 'ts_int_thomas_algorithm' of similar type ('size_t') are easily swapped by mistake |
| - | src/tinyspline.c:1145:35 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'float' |
| - | src/tinyspline.c:1242:27 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | src/tinyspline.c:1257:52 | 3 adjacent parameters of 'ts_bspline_bisect' of convertible types are easily swapped by mistake |
| - | src/tinyspline.c:1258:35 | 3 adjacent parameters of 'ts_bspline_bisect' of convertible types are easily swapped by mistake |
| - | src/tinyspline.c:1314:49 | 2 adjacent parameters of 'ts_bspline_domain' of similar type ('tsReal *') are easily swapped by mistake |
| - | src/tinyspline.c:1423:52 | 2 adjacent parameters of 'ts_bspline_derive' of convertible types are easily swapped by mistake |
| - | src/tinyspline.c:1493:18 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | src/tinyspline.c:1621:57 | 2 adjacent parameters of 'ts_bspline_insert_knot' of convertible types are easily swapped by mistake |
| - | src/tinyspline.c:1690:50 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | src/tinyspline.c:2082:31 | 2 adjacent parameters of 'ts_arr_fill' of convertible types are easily swapped by mistake |
| - | src/tinysplinecxx.cxx:148:28 | 2 adjacent parameters of 'Domain' of similar type ('tinyspline::real') are easily swapped by mistake |
| - | test/c/bisect.c:35:4 | loop induction expression should not have floating-point type |
| - | test/c/bisect.c:103:4 | loop induction expression should not have floating-point type |
| - | test/c/bisect.c:169:4 | loop induction expression should not have floating-point type |
| - | test/c/bisect.c:413:4 | loop induction expression should not have floating-point type |
| - | test/c/cutest/CuTest.h:89:105 | macro argument should be enclosed in parentheses |
| - | test/c/cutest/CuTest.h:90:85 | macro argument should be enclosed in parentheses |
| - | test/c/derive.c:177:24 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | test/c/derive.c:249:39 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | test/c/derive.c:272:37 | narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double') |
| - | test/c/derive.c:353:4 | loop induction expression should not have floating-point type |
| - | test/c/derive.c:645:4 | loop induction expression should not have floating-point type |
Generated from 3ddf6fa37f.