2022-06-24 15:38 ftp://ftp.de.debian.org/debian/pool/main/p/python-gammu/python-gammu_3.2.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 cppcheck: head 2.8 head-info: 11860cc (2022-06-24 13:55:04 +0200) count: 61 61 elapsed-time: 69.6 87.3 head-timing-info: Tokenizer::simplifyTokens1: 22.5971s (avg. 1.18932s - 19 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 22.2789s (avg. 1.17257s - 19 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.181365s (avg. 0.00954553s - 19 result(s)) Check function usage::runChecks: 0.055369s (avg. 0.00291416s - 19 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.050996s (avg. 0.002684s - 19 result(s)) Overall time: 45.4028s old-timing-info: Tokenizer::simplifyTokens1: 28.3979s (avg. 1.49462s - 19 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 28.0726s (avg. 1.47751s - 19 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.197158s (avg. 0.0103767s - 19 result(s)) UnusedVar::runChecks: 0.065056s (avg. 0.003424s - 19 result(s)) Check function usage::runChecks: 0.05939s (avg. 0.00312579s - 19 result(s)) Overall time: 57.0185s head results: python-gammu-3.2.4/gammu/src/gammu.c:160:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:790:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:830:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1213:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1342:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1432:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1477:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1509:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1552:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1607:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1637:21: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:1726:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2272:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2308:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2396:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2465:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2699:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2828:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2859:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2890:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2921:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:2987:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3019:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3069:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3101:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3145:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3188:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3220:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3253:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3286:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3319:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3358:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3397:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3429:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3519:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:3540:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:4069:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:4096:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:4328:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:4355:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:4706:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:5004:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:5090:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:5198:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:5638:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:6117:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/gammu.c:180:46: style: Parameter 's' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/gammu.c:205:45: style: Parameter 's' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/gammu.c:205:58: style: Parameter 'call' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/gammu.c:238:44: style: Parameter 's' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/gammu.c:238:63: style: Parameter 'msg' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/gammu.c:271:43: style: Parameter 's' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/gammu.c:271:61: style: Parameter 'cb' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/gammu.c:304:45: style: Parameter 's' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/gammu.c:304:65: style: Parameter 'ussd' can be declared as pointer to const [constParameter] python-gammu-3.2.4/gammu/src/smsd.c:75:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/smsd.c:94:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] python-gammu-3.2.4/gammu/src/smsd.c:63:12: style: Unused variable: error [unusedVariable] python-gammu-3.2.4/gammu/src/smsd.c:84:12: style: Unused variable: error [unusedVariable] python-gammu-3.2.4/gammu/src/smsd.c:103:12: style: Unused variable: error [unusedVariable] python-gammu-3.2.4/gammu/src/smsd.c:132:12: style: Unused variable: error [unusedVariable] diff: head python-gammu-3.2.4/gammu/src/gammu.c:180:46: style: Parameter 's' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:180:46: style: Parameter 's' can be declared with const [constParameter] head python-gammu-3.2.4/gammu/src/gammu.c:205:45: style: Parameter 's' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:205:45: style: Parameter 's' can be declared with const [constParameter] head python-gammu-3.2.4/gammu/src/gammu.c:205:58: style: Parameter 'call' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:205:58: style: Parameter 'call' can be declared with const [constParameter] head python-gammu-3.2.4/gammu/src/gammu.c:238:44: style: Parameter 's' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:238:44: style: Parameter 's' can be declared with const [constParameter] head python-gammu-3.2.4/gammu/src/gammu.c:238:63: style: Parameter 'msg' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:238:63: style: Parameter 'msg' can be declared with const [constParameter] head python-gammu-3.2.4/gammu/src/gammu.c:271:43: style: Parameter 's' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:271:43: style: Parameter 's' can be declared with const [constParameter] head python-gammu-3.2.4/gammu/src/gammu.c:271:61: style: Parameter 'cb' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:271:61: style: Parameter 'cb' can be declared with const [constParameter] head python-gammu-3.2.4/gammu/src/gammu.c:304:45: style: Parameter 's' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:304:45: style: Parameter 's' can be declared with const [constParameter] head python-gammu-3.2.4/gammu/src/gammu.c:304:65: style: Parameter 'ussd' can be declared as pointer to const [constParameter] 2.8 python-gammu-3.2.4/gammu/src/gammu.c:304:65: style: Parameter 'ussd' can be declared with const [constParameter] DONE