tinyspline:

Run:43521388434
Check:main: bugprone-*
Status:ok
Time:3s
Warnings:33 (TP 0, FP 0, unclassified 33)
Source:msteinbeck/tinyspline/blob/f8b1ab7ec2a2bf43220044fe32c9869a5f6c3469

Warnings (33):

VerdictLocationMessage
-src/tinyspline.c:475:11narrowing conversion from 'size_t' (aka 'unsigned long') to 'float'
-src/tinyspline.c:477:39narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-src/tinyspline.c:482:11narrowing conversion from 'size_t' (aka 'unsigned long') to 'float'
-src/tinyspline.c:485:39narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-src/tinyspline.c:490:11narrowing conversion from 'size_t' (aka 'unsigned long') to 'float'
-src/tinyspline.c:490:12result of integer division used in a floating point context; possible loss of precision
-src/tinyspline.c:494:33narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-src/tinyspline.c:494:34result of integer division used in a floating point context; possible loss of precision
-src/tinyspline.c:500:513 adjacent parameters of 'ts_bspline_new' of convertible types are easily swapped by mistake
-src/tinyspline.c:593:37narrowing conversion from 'size_t' (aka 'unsigned long') to 'float'
-src/tinyspline.c:653:192 adjacent parameters of 'ts_int_thomas_algorithm' of similar type ('size_t') are easily swapped by mistake
-src/tinyspline.c:1145:35narrowing conversion from 'size_t' (aka 'unsigned long') to 'float'
-src/tinyspline.c:1242:27narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-src/tinyspline.c:1257:523 adjacent parameters of 'ts_bspline_bisect' of convertible types are easily swapped by mistake
-src/tinyspline.c:1258:353 adjacent parameters of 'ts_bspline_bisect' of convertible types are easily swapped by mistake
-src/tinyspline.c:1314:492 adjacent parameters of 'ts_bspline_domain' of similar type ('tsReal *') are easily swapped by mistake
-src/tinyspline.c:1423:522 adjacent parameters of 'ts_bspline_derive' of convertible types are easily swapped by mistake
-src/tinyspline.c:1493:18narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-src/tinyspline.c:1621:572 adjacent parameters of 'ts_bspline_insert_knot' of convertible types are easily swapped by mistake
-src/tinyspline.c:1690:50narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-src/tinyspline.c:2082:312 adjacent parameters of 'ts_arr_fill' of convertible types are easily swapped by mistake
-src/tinysplinecxx.cxx:148:282 adjacent parameters of 'Domain' of similar type ('tinyspline::real') are easily swapped by mistake
-test/c/bisect.c:35:4loop induction expression should not have floating-point type
-test/c/bisect.c:103:4loop induction expression should not have floating-point type
-test/c/bisect.c:169:4loop induction expression should not have floating-point type
-test/c/bisect.c:413:4loop induction expression should not have floating-point type
-test/c/cutest/CuTest.h:89:105macro argument should be enclosed in parentheses
-test/c/cutest/CuTest.h:90:85macro argument should be enclosed in parentheses
-test/c/derive.c:177:24narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-test/c/derive.c:249:39narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-test/c/derive.c:272:37narrowing conversion from 'size_t' (aka 'unsigned long') to 'tsReal' (aka 'double')
-test/c/derive.c:353:4loop induction expression should not have floating-point type
-test/c/derive.c:645:4loop induction expression should not have floating-point type

Generated from 3ddf6fa37f.