2024-03-24 16:19 ftp://ftp.de.debian.org/debian/pool/main/m/mp3check/mp3check_0.8.7.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 51f8b53 (2024-03-24 16:07:43 +0100) count: 158 168 elapsed-time: 1.2 1.1 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 1.03456s (avg. 1.03456s - 1 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.423074s (avg. 0.105769s - 4 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.316674s (avg. 0.0791685s - 4 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.122149s (avg. 0.0305372s - 4 result(s)) valueFlowSubFunction(tokenlist, symboldatabase, errorLogger, settings): 0.040963s (avg. 0.0102407s - 4 result(s)) Overall time: 1.15052s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 0.982416s (avg. 0.982416s - 1 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.355516s (avg. 0.088879s - 4 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.2363s (avg. 0.059075s - 4 result(s)) valueFlowDynamicBufferSize(tokenlist, symboldatabase, settings): 0.190351s (avg. 0.190351s - 1 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.072069s (avg. 0.0180172s - 4 result(s)) Overall time: 1.0855s head results: mp3check-0.8.7/crc16.h:48:4: style: Class 'CRC16' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::fields_version' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::fields_spacefilled' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::field_title' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::field_artist' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::field_album' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::field_year' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::field_comment' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::field_genre' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:93:8: warning: Member variable 'Tagv1::field_track' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::fields_version' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::fields_spacefilled' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::field_title' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::field_artist' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::field_album' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::field_year' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::field_comment' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::field_genre' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.cc:94:8: warning: Member variable 'Tagv1::field_track' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/id3tag.h:62:2: style: Class 'Tagv1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/id3tag.cc:94:47: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/id3tag.cc:170:9: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/tfiletools.cc:139:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mp3check-0.8.7/tfiletools.h:85:5: warning: Member variable 'TFile::statbuf' is not initialized in the constructor. [uninitMemberVar] mp3check-0.8.7/tfiletools.h:176:10: style:inconclusive: Technically the member function 'TDir::invalidateContents' can be const. [functionConst] mp3check-0.8.7/texception.h:109:27: warning: Class 'TFileOperationErrnoException' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mp3check-0.8.7/texception.h:109:27: warning: Class 'TFileOperationErrnoException' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mp3check-0.8.7/texception.h:109:27: warning: Class 'TFileOperationErrnoException' does not have a destructor which is recommended since it has dynamic memory/resource allocation(s). [noDestructor] mp3check-0.8.7/texception.h:121:70: warning: Class 'TInternalErrorException' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mp3check-0.8.7/texception.h:121:70: warning: Class 'TInternalErrorException' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mp3check-0.8.7/texception.h:121:70: warning: Class 'TInternalErrorException' does not have a destructor which is recommended since it has dynamic memory/resource allocation(s). [noDestructor] mp3check-0.8.7/texception.h:86:4: style: Class 'TErrnoException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/texception.h:95:4: style: Class 'TOperationErrnoException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/texception.h:121:4: style: Class 'TInternalErrorException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/texception.h:129:4: style: Class 'TNotInitializedException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/tstring.h:114:4: style: Class 'tstring' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/tfiletools.h:66:5: style: Struct 'TFileInstance' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/tfiletools.h:85:5: style: Class 'TFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/tfiletools.h:151:5: style: Class 'TSubTreeContext' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/tvector.h:54:4: style: Class 'tvector < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/tvector.h:54:4: style: Class 'tvector < tstring >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/texception.h:70:4: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:48:4: note: Virtual function in base class mp3check-0.8.7/texception.h:70:4: note: Function in derived class mp3check-0.8.7/texception.h:73:4: style: The function 'message' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:50:4: note: Virtual function in base class mp3check-0.8.7/texception.h:73:4: note: Function in derived class mp3check-0.8.7/texception.h:79:4: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:70:4: note: Virtual function in base class mp3check-0.8.7/texception.h:79:4: note: Function in derived class mp3check-0.8.7/texception.h:85:4: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:48:4: note: Virtual function in base class mp3check-0.8.7/texception.h:85:4: note: Function in derived class mp3check-0.8.7/texception.h:89:4: style: The function 'message' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:50:4: note: Virtual function in base class mp3check-0.8.7/texception.h:89:4: note: Function in derived class mp3check-0.8.7/texception.h:94:4: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:85:4: note: Virtual function in base class mp3check-0.8.7/texception.h:94:4: note: Function in derived class mp3check-0.8.7/texception.h:97:4: style: The function 'message' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:89:4: note: Virtual function in base class mp3check-0.8.7/texception.h:97:4: note: Function in derived class mp3check-0.8.7/texception.h:102:4: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:48:4: note: Virtual function in base class mp3check-0.8.7/texception.h:102:4: note: Function in derived class mp3check-0.8.7/texception.h:107:4: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:85:4: note: Virtual function in base class mp3check-0.8.7/texception.h:107:4: note: Function in derived class mp3check-0.8.7/texception.h:113:4: style: The function 'message' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:89:4: note: Virtual function in base class mp3check-0.8.7/texception.h:113:4: note: Function in derived class mp3check-0.8.7/texception.h:120:4: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:48:4: note: Virtual function in base class mp3check-0.8.7/texception.h:120:4: note: Function in derived class mp3check-0.8.7/texception.h:124:4: style: The function 'message' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:50:4: note: Virtual function in base class mp3check-0.8.7/texception.h:124:4: note: Function in derived class mp3check-0.8.7/texception.h:128:4: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:120:4: note: Virtual function in base class mp3check-0.8.7/texception.h:128:4: note: Function in derived class mp3check-0.8.7/texception.h:130:4: style: The function 'message' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mp3check-0.8.7/texception.h:124:4: note: Virtual function in base class mp3check-0.8.7/texception.h:130:4: note: Function in derived class mp3check-0.8.7/tfiletools.cc:135:20: style: Variable 'dire' can be declared as pointer to const [constVariablePointer] mp3check-0.8.7/tvector.h:54:4: style: Class 'tvector < tvector < int > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/tregex.cc:93:8: style: The scope of the variable 'start' can be reduced. [variableScope] mp3check-0.8.7/tregex.cc:93:15: style: The scope of the variable 'len' can be reduced. [variableScope] mp3check-0.8.7/tregex.cc:116:8: style: The scope of the variable 'start' can be reduced. [variableScope] mp3check-0.8.7/tregex.cc:116:15: style: The scope of the variable 'len' can be reduced. [variableScope] mp3check-0.8.7/tregex.cc:69:41: style:inconclusive: Function 'match' argument 2 names different: declaration 'eflags' definition 'flags'. [funcArgNamesDifferent] mp3check-0.8.7/tregex.h:41:36: note: Function 'match' argument 2 names different: declaration 'eflags' definition 'flags'. mp3check-0.8.7/tregex.cc:69:41: note: Function 'match' argument 2 names different: declaration 'eflags' definition 'flags'. mp3check-0.8.7/tregex.cc:74:68: style:inconclusive: Function 'firstMatch' argument 4 names different: declaration 'eflags' definition 'flags'. [funcArgNamesDifferent] mp3check-0.8.7/tregex.h:43:63: note: Function 'firstMatch' argument 4 names different: declaration 'eflags' definition 'flags'. mp3check-0.8.7/tregex.cc:74:68: note: Function 'firstMatch' argument 4 names different: declaration 'eflags' definition 'flags'. mp3check-0.8.7/tregex.cc:88:65: style:inconclusive: Function 'allMatches' argument 3 names different: declaration 'eflags' definition 'flags'. [funcArgNamesDifferent] mp3check-0.8.7/tregex.h:46:60: note: Function 'allMatches' argument 3 names different: declaration 'eflags' definition 'flags'. mp3check-0.8.7/tregex.cc:88:65: note: Function 'allMatches' argument 3 names different: declaration 'eflags' definition 'flags'. mp3check-0.8.7/tregex.cc:111:10: style:inconclusive: Function 'allMatchesSubstring' argument 3 names different: declaration 'eflags' definition 'flags'. [funcArgNamesDifferent] mp3check-0.8.7/tregex.h:49:12: note: Function 'allMatchesSubstring' argument 3 names different: declaration 'eflags' definition 'flags'. mp3check-0.8.7/tregex.cc:111:10: note: Function 'allMatchesSubstring' argument 3 names different: declaration 'eflags' definition 'flags'. mp3check-0.8.7/tregex.cc:199:56: style:inconclusive: Function 'parameterSubstitution' argument 2 names different: declaration 'out' definition 'outstr'. [funcArgNamesDifferent] mp3check-0.8.7/tregex.h:85:56: note: Function 'parameterSubstitution' argument 2 names different: declaration 'out' definition 'outstr'. mp3check-0.8.7/tregex.cc:199:56: note: Function 'parameterSubstitution' argument 2 names different: declaration 'out' definition 'outstr'. mp3check-0.8.7/tappconfig.h:80:12: performance:inconclusive: Technically the member function 'TAppConfigItem::getWasSetStr' can be static (but you may consider moving to unnamed namespace). [functionStatic] mp3check-0.8.7/tappconfig.cc:651:25: note: Technically the member function 'TAppConfigItem::getWasSetStr' can be static (but you may consider moving to unnamed namespace). mp3check-0.8.7/tappconfig.h:80:12: note: Technically the member function 'TAppConfigItem::getWasSetStr' can be static (but you may consider moving to unnamed namespace). mp3check-0.8.7/tvector.h:54:4: style: Class 'tvector < TAppConfigItem >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mp3check-0.8.7/tstring.h:244:9: style:inconclusive: Technically the member function 'tstring::replaceUnprintable' can be const. [functionConst] mp3check-0.8.7/tstring.cc:717:15: note: Technically the member function 'tstring::replaceUnprintable' can be const. mp3check-0.8.7/tstring.h:244:9: note: Technically the member function 'tstring::replaceUnprintable' can be const. mp3check-0.8.7/tstring.h:286:8: style:inconclusive: Technically the member function 'tstring::writeFile' can be const. [functionConst] mp3check-0.8.7/tstring.cc:1332:14: note: Technically the member function 'tstring::writeFile' can be const. mp3check-0.8.7/tstring.h:286:8: note: Technically the member function 'tstring::writeFile' can be const. mp3check-0.8.7/tstring.cc:167:10: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] mp3check-0.8.7/tstring.cc:164:7: note: outer condition: n mp3check-0.8.7/tstring.cc:167:10: note: identical inner condition: n mp3check-0.8.7/tstring.cc:1265:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mp3check-0.8.7/tstring.cc:1275:12: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mp3check-0.8.7/tstring.cc:1275:12: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mp3check-0.8.7/tappconfig.cc:973:27: style: Comparing expression of type 'bool' against value 2. Condition is always false. [compareValueOutOfTypeRangeError] mp3check-0.8.7/tappconfig.cc:973:25: style: Condition '!setin==COMMAND_LINE' is always false [knownConditionTrueFalse] mp3check-0.8.7/tstring.cc:121:10: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/tstring.cc:131:11: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/tstring.cc:965:9: style: The scope of the variable 'c' can be reduced. [variableScope] mp3check-0.8.7/tstring.cc:1248:15: style: The scope of the variable 'phase' can be reduced. [variableScope] mp3check-0.8.7/tstring.cc:1249:16: style: The scope of the variable 'phasechar' can be reduced. [variableScope] mp3check-0.8.7/tstring.cc:153:40: style:inconclusive: Function 'tstring' argument 2 names different: declaration 'len' definition 'l'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:116:34: note: Function 'tstring' argument 2 names different: declaration 'len' definition 'l'. mp3check-0.8.7/tstring.cc:153:40: note: Function 'tstring' argument 2 names different: declaration 'len' definition 'l'. mp3check-0.8.7/tstring.cc:600:43: style:inconclusive: Function 'searchReplace' argument 1 names different: declaration 'search' definition 'tsearch'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:262:37: note: Function 'searchReplace' argument 1 names different: declaration 'search' definition 'tsearch'. mp3check-0.8.7/tstring.cc:600:43: note: Function 'searchReplace' argument 1 names different: declaration 'search' definition 'tsearch'. mp3check-0.8.7/tstring.cc:600:67: style:inconclusive: Function 'searchReplace' argument 2 names different: declaration 'replace' definition 'replace_'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:262:60: note: Function 'searchReplace' argument 2 names different: declaration 'replace' definition 'replace_'. mp3check-0.8.7/tstring.cc:600:67: note: Function 'searchReplace' argument 2 names different: declaration 'replace' definition 'replace_'. mp3check-0.8.7/tstring.cc:670:44: style:inconclusive: Function 'replace' argument 2 names different: declaration 'len' definition 'len_'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:272:38: note: Function 'replace' argument 2 names different: declaration 'len' definition 'len_'. mp3check-0.8.7/tstring.cc:670:44: note: Function 'replace' argument 2 names different: declaration 'len' definition 'len_'. mp3check-0.8.7/tstring.cc:687:40: style:inconclusive: Function 'hasPrefix' argument 1 names different: declaration 'prefix' definition 'pref'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:220:34: note: Function 'hasPrefix' argument 1 names different: declaration 'prefix' definition 'pref'. mp3check-0.8.7/tstring.cc:687:40: note: Function 'hasPrefix' argument 1 names different: declaration 'prefix' definition 'pref'. mp3check-0.8.7/tstring.cc:693:40: style:inconclusive: Function 'hasSuffix' argument 1 names different: declaration 'suffix' definition 'suf'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:222:34: note: Function 'hasSuffix' argument 1 names different: declaration 'suffix' definition 'suf'. mp3check-0.8.7/tstring.cc:693:40: note: Function 'hasSuffix' argument 1 names different: declaration 'suffix' definition 'suf'. mp3check-0.8.7/tstring.cc:1147:54: style:inconclusive: Function 'split' argument 2 names different: declaration 'separator' definition 'sep'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:416:54: note: Function 'split' argument 2 names different: declaration 'separator' definition 'sep'. mp3check-0.8.7/tstring.cc:1147:54: note: Function 'split' argument 2 names different: declaration 'separator' definition 'sep'. mp3check-0.8.7/tstring.cc:1208:56: style:inconclusive: Function 'join' argument 2 names different: declaration 'separator' definition 'sep'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:421:56: note: Function 'join' argument 2 names different: declaration 'separator' definition 'sep'. mp3check-0.8.7/tstring.cc:1208:56: note: Function 'join' argument 2 names different: declaration 'separator' definition 'sep'. mp3check-0.8.7/tstring.cc:1309:41: style:inconclusive: Function 'read' argument 2 names different: declaration 'len' definition 'l'. [funcArgNamesDifferent] mp3check-0.8.7/tstring.h:282:35: note: Function 'read' argument 2 names different: declaration 'len' definition 'l'. mp3check-0.8.7/tstring.cc:1309:41: note: Function 'read' argument 2 names different: declaration 'len' definition 'l'. mp3check-0.8.7/tappconfig.cc:1227:11: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/tstring.cc:1249:16: style: Variable 'phasechar' can be declared as const array [constVariable] mp3check-0.8.7/tappconfig.cc:437:44: style:inconclusive: Function 'TAppConfigItem' argument 1 names different: declaration 'confitem' definition 'str'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:44:31: note: Function 'TAppConfigItem' argument 1 names different: declaration 'confitem' definition 'str'. mp3check-0.8.7/tappconfig.cc:437:44: note: Function 'TAppConfigItem' argument 1 names different: declaration 'confitem' definition 'str'. mp3check-0.8.7/tappconfig.cc:437:61: style:inconclusive: Function 'TAppConfigItem' argument 2 names different: declaration 'context' definition 'line_context'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:44:53: note: Function 'TAppConfigItem' argument 2 names different: declaration 'context' definition 'line_context'. mp3check-0.8.7/tappconfig.cc:437:61: note: Function 'TAppConfigItem' argument 2 names different: declaration 'context' definition 'line_context'. mp3check-0.8.7/tappconfig.cc:504:43: style:inconclusive: Function 'validate' argument 1 names different: declaration 'context' definition 'line_context'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:76:30: note: Function 'validate' argument 1 names different: declaration 'context' definition 'line_context'. mp3check-0.8.7/tappconfig.cc:504:43: note: Function 'validate' argument 1 names different: declaration 'context' definition 'line_context'. mp3check-0.8.7/tappconfig.cc:943:36: style:inconclusive: Function 'printHelp' argument 1 names different: declaration 'maxoptlen' definition 'max_optlen'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:50:23: note: Function 'printHelp' argument 1 names different: declaration 'maxoptlen' definition 'max_optlen'. mp3check-0.8.7/tappconfig.cc:943:36: note: Function 'printHelp' argument 1 names different: declaration 'maxoptlen' definition 'max_optlen'. mp3check-0.8.7/tappconfig.cc:968:46: style:inconclusive: Function 'setValue' argument 1 names different: declaration 'par' definition 'parameter'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:53:33: note: Function 'setValue' argument 1 names different: declaration 'par' definition 'parameter'. mp3check-0.8.7/tappconfig.cc:968:46: note: Function 'setValue' argument 1 names different: declaration 'par' definition 'parameter'. mp3check-0.8.7/tappconfig.cc:970:48: style:inconclusive: Function 'setValue' argument 6 names different: declaration 'context' definition 'line_context'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:56:19: note: Function 'setValue' argument 6 names different: declaration 'context' definition 'line_context'. mp3check-0.8.7/tappconfig.cc:970:48: note: Function 'setValue' argument 6 names different: declaration 'context' definition 'line_context'. mp3check-0.8.7/tappconfig.cc:1048:43: style:inconclusive: Function 'setValueFromApp' argument 1 names different: declaration 'b' definition 'parameter'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:68:30: note: Function 'setValueFromApp' argument 1 names different: declaration 'b' definition 'parameter'. mp3check-0.8.7/tappconfig.cc:1048:43: note: Function 'setValueFromApp' argument 1 names different: declaration 'b' definition 'parameter'. mp3check-0.8.7/tappconfig.cc:1172:26: style:inconclusive: Function 'TAppConfig' argument 4 names different: declaration 'av' definition 'argv'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:124:24: note: Function 'TAppConfig' argument 4 names different: declaration 'av' definition 'argv'. mp3check-0.8.7/tappconfig.cc:1172:26: note: Function 'TAppConfig' argument 4 names different: declaration 'av' definition 'argv'. mp3check-0.8.7/tappconfig.cc:1380:64: style:inconclusive: Function 'getName' argument 2 names different: declaration 'context' definition 'context1'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:200:55: note: Function 'getName' argument 2 names different: declaration 'context' definition 'context1'. mp3check-0.8.7/tappconfig.cc:1380:64: note: Function 'getName' argument 2 names different: declaration 'context' definition 'context1'. mp3check-0.8.7/tappconfig.cc:1429:41: style:inconclusive: Function 'getBool' argument 1 names different: declaration 'par' definition 'n'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:139:32: note: Function 'getBool' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1429:41: note: Function 'getBool' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1485:53: style:inconclusive: Function 'getString' argument 1 names different: declaration 'par' definition 'n'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:136:44: note: Function 'getString' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1485:53: note: Function 'getString' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1497:39: style:inconclusive: Function 'getInt' argument 1 names different: declaration 'par' definition 'n'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:138:30: note: Function 'getInt' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1497:39: note: Function 'getInt' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1545:45: style:inconclusive: Function 'getDouble' argument 1 names different: declaration 'par' definition 'n'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:137:36: note: Function 'getDouble' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1545:45: note: Function 'getDouble' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1618:43: style:inconclusive: Function 'getSwitch' argument 1 names different: declaration 'par' definition 'n'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:140:34: note: Function 'getSwitch' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1618:43: note: Function 'getSwitch' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1623:45: style:inconclusive: Function 'operator()' argument 1 names different: declaration 'par' definition 'n'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:141:36: note: Function 'operator()' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1623:45: note: Function 'operator()' argument 1 names different: declaration 'par' definition 'n'. mp3check-0.8.7/tappconfig.cc:1686:43: style:inconclusive: Function 'doEnvironVar' argument 1 names different: declaration 'envvar' definition 'env'. [funcArgNamesDifferent] mp3check-0.8.7/tappconfig.h:197:34: note: Function 'doEnvironVar' argument 1 names different: declaration 'envvar' definition 'env'. mp3check-0.8.7/tappconfig.cc:1686:43: note: Function 'doEnvironVar' argument 1 names different: declaration 'envvar' definition 'env'. mp3check-0.8.7/tappconfig.cc:1242:10: style: Variable 'home' can be declared as pointer to const [constVariablePointer] mp3check-0.8.7/tappconfig.cc:1369:10: style: Variable 'home' can be declared as pointer to const [constVariablePointer] mp3check-0.8.7/tappconfig.cc:1722:13: style: Variable 'home' can be declared as pointer to const [constVariablePointer] mp3check-0.8.7/tappconfig.cc:1782:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] mp3check-0.8.7/tstring.cc:448:12: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mp3check-0.8.7/tstring.cc:458:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mp3check-0.8.7/tstring.cc:463:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mp3check-0.8.7/tstring.cc:464:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mp3check-0.8.7/tstring.cc:466:14: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] mp3check-0.8.7/mp3check.cc:1813:24: style: Condition '!(++err_thisfile)' is always false [knownConditionTrueFalse] mp3check-0.8.7/mp3check.cc:1819:38: style: Condition '!(++err_thisfile)' is always false [knownConditionTrueFalse] mp3check-0.8.7/mp3check.cc:1643:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mp3check-0.8.7/mp3check.cc:1643:6: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mp3check-0.8.7/mp3check.cc:1668:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mp3check-0.8.7/mp3check.cc:1815:9: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mp3check-0.8.7/mp3check.cc:1815:9: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] mp3check-0.8.7/mp3check.cc:275:32: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:276:32: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:365:35: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:372:23: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:390:23: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:683:16: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:694:19: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:780:16: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:799:19: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:849:30: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:1144:25: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:1153:16: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:1203:19: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:1555:16: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:1562:22: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:1712:17: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:1713:19: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:1882:30: style: C-style pointer casting [cstyleCast] mp3check-0.8.7/mp3check.cc:263:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] mp3check-0.8.7/mp3check.cc:267:9: note: Found duplicate branches for 'if' and 'else'. mp3check-0.8.7/mp3check.cc:263:7: note: Found duplicate branches for 'if' and 'else'. mp3check-0.8.7/mp3check.cc:1936:61: style: Same expression on both sides of '||'. [duplicateExpression] mp3check-0.8.7/mp3check.cc:568:14: style: The scope of the variable 'pos' can be reduced. [variableScope] mp3check-0.8.7/mp3check.cc:846:9: style: The scope of the variable 'fixed_crc' can be reduced. [variableScope] mp3check-0.8.7/mp3check.cc:1182:11: style: The scope of the variable 'tag' can be reduced. [variableScope] mp3check-0.8.7/mp3check.cc:274:29: performance: Function parameter 'h' should be passed by const reference. [passedByValue] mp3check-0.8.7/mp3check.cc:389:49: performance: Function parameter 'h' should be passed by const reference. [passedByValue] mp3check-0.8.7/mp3check.cc:408:36: performance: Function parameter 'from' should be passed by const reference. [passedByValue] mp3check-0.8.7/mp3check.cc:433:32: performance: Function parameter 'h' should be passed by const reference. [passedByValue] mp3check-0.8.7/mp3check.cc:453:37: performance: Function parameter 'h' should be passed by const reference. [passedByValue] mp3check-0.8.7/mp3check.cc:390:19: style: Variable 'q' can be declared as pointer to const [constVariablePointer] mp3check-0.8.7/mp3check.cc:499:16: style: Variable 'h' is assigned a value that is never used. [unreadVariable] mp3check-0.8.7/mp3check.cc:1089:13: style: Variable 'start' is assigned a value that is never used. [unreadVariable] mp3check-0.8.7/mp3check.cc:1110:12: style: Variable 'start' is assigned a value that is never used. [unreadVariable] mp3check-0.8.7/mp3check.cc:1114:11: style: Variable 'head' is assigned a value that is never used. [unreadVariable] mp3check-0.8.7/mp3check.cc:1120:12: style: Variable 'start' is assigned a value that is never used. [unreadVariable] diff: 2.13.0 mp3check-0.8.7/mp3check.cc:1048:8: style: The scope of the variable 'frame' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:1049:10: style: The scope of the variable 's' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:1049:8: style: The scope of the variable 'l' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:1050:11: style: The scope of the variable 'tag' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:1051:9: style: The scope of the variable 'have_a_tag' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:553:8: style: The scope of the variable 'rest' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:554:8: style: The scope of the variable 'frame' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:555:11: style: The scope of the variable 'time' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:556:12: style: The scope of the variable 's' can be reduced. [variableScope] 2.13.0 mp3check-0.8.7/mp3check.cc:557:11: style: The scope of the variable 'tag' can be reduced. [variableScope] DONE