2026-07-26 19:18 ftp://ftp.de.debian.org/debian/pool/main/b/bibtexconv/bibtexconv_2.1.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j16 platform: Linux-7.0.0-28-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 6640862 (2026-07-26 07:32:28 -0400) count: 128 120 elapsed-time: 32.2 4.5 head-timing-info: old-timing-info: head results: bibtexconv-2.1.1/src/stringhandling.cc:315:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/stringhandling.cc:449:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/node.cc:171:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/node.cc:288:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/node.cc:371:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/mappings.cc:131:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:100:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:174:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:208:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:232:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:305:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:344:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:440:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:467:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:515:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/stringhandling.cc:344:22: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] bibtexconv-2.1.1/src/stringhandling.cc:242:54: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bibtexconv-2.1.1/src/stringhandling.cc:247:54: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bibtexconv-2.1.1/src/stringhandling.cc:295:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] bibtexconv-2.1.1/src/mappings.cc:225:16: style: The member function 'Mappings::map' can be static. [functionStatic] bibtexconv-2.1.1/src/mappings.h:53:9: note: The member function 'Mappings::map' can be static. bibtexconv-2.1.1/src/mappings.cc:225:16: note: The member function 'Mappings::map' can be static. bibtexconv-2.1.1/src/bibtexconv.cc:79:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/bibtexconv.cc:155:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/bibtexconv.cc:192:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/bibtexconv.cc:550:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/bibtexconv.cc:731:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIBTEXCONV_VERSION [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/bibtexconv.cc:739:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/bibtexconv.cc:797:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/mappings.cc:139:33: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/mappings.cc:145:20: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/mappings.cc:183:37: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/mappings.cc:186:26: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/mappings.cc:123:46: style:inconclusive: Function 'addMapping' argument 2 names different: declaration 'mappingFile' definition 'mappingFileName'. [funcArgNamesDifferent] bibtexconv-2.1.1/src/mappings.h:49:39: note: Function 'addMapping' argument 2 names different: declaration 'mappingFile' definition 'mappingFileName'. bibtexconv-2.1.1/src/mappings.cc:123:46: note: Function 'addMapping' argument 2 names different: declaration 'mappingFile' definition 'mappingFileName'. bibtexconv-2.1.1/src/node.h:44:29: warning: Member variable 'Node::prev' has no initializer. [uninitMemberVarNoCtor] bibtexconv-2.1.1/src/node.h:45:29: warning: Member variable 'Node::next' has no initializer. [uninitMemberVarNoCtor] bibtexconv-2.1.1/src/node.h:46:29: warning: Member variable 'Node::child' has no initializer. [uninitMemberVarNoCtor] bibtexconv-2.1.1/src/node.h:52:29: warning: Member variable 'Node::priority' has no initializer. [uninitMemberVarNoCtor] bibtexconv-2.1.1/src/node.h:53:29: warning: Member variable 'Node::number' has no initializer. [uninitMemberVarNoCtor] bibtexconv-2.1.1/src/node.cc:47:4: warning: Either the condition 'node==nullptr' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] bibtexconv-2.1.1/src/node.cc:44:12: note: Assuming that condition 'node==nullptr' is not redundant bibtexconv-2.1.1/src/node.cc:47:4: note: Null pointer dereference bibtexconv-2.1.1/src/node.cc:48:4: warning: Either the condition 'node==nullptr' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] bibtexconv-2.1.1/src/node.cc:44:12: note: Assuming that condition 'node==nullptr' is not redundant bibtexconv-2.1.1/src/node.cc:48:4: note: Null pointer dereference bibtexconv-2.1.1/src/node.cc:49:4: warning: Either the condition 'node==nullptr' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] bibtexconv-2.1.1/src/node.cc:44:12: note: Assuming that condition 'node==nullptr' is not redundant bibtexconv-2.1.1/src/node.cc:49:4: note: Null pointer dereference bibtexconv-2.1.1/src/node.cc:50:4: warning: Either the condition 'node==nullptr' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] bibtexconv-2.1.1/src/node.cc:44:12: note: Assuming that condition 'node==nullptr' is not redundant bibtexconv-2.1.1/src/node.cc:50:4: note: Null pointer dereference bibtexconv-2.1.1/src/node.cc:51:4: warning: Either the condition 'node==nullptr' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] bibtexconv-2.1.1/src/node.cc:44:12: note: Assuming that condition 'node==nullptr' is not redundant bibtexconv-2.1.1/src/node.cc:51:4: note: Null pointer dereference bibtexconv-2.1.1/src/node.cc:52:4: warning: Either the condition 'node==nullptr' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] bibtexconv-2.1.1/src/node.cc:44:12: note: Assuming that condition 'node==nullptr' is not redundant bibtexconv-2.1.1/src/node.cc:52:4: note: Null pointer dereference bibtexconv-2.1.1/src/node.cc:210:26: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/node.cc:211:26: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/node.cc:241:13: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/node.cc:313:16: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/node.cc:93:10: style: Variable 'child' can be declared as pointer to const [constVariablePointer] bibtexconv-2.1.1/src/publicationset.cc:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/publicationset.cc:321:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/publicationset.cc:572:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/publicationset.cc:1289:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bibtexconv-2.1.1/src/unification.cc:486:19: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/unification.cc:489:19: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/unification.cc:161:16: style: The scope of the variable 'currentAuthor' can be reduced. [variableScope] bibtexconv-2.1.1/src/unification.cc:215:22: style: Parameter 'publication' can be declared as pointer to const [constParameterPointer] bibtexconv-2.1.1/src/unification.cc:288:22: style: Parameter 'publication' can be declared as pointer to const [constParameterPointer] bibtexconv-2.1.1/src/unification.cc:338:22: style: Parameter 'publication' can be declared as pointer to const [constParameterPointer] bibtexconv-2.1.1/src/unification.cc:493:13: style: Variable 'numpages' can be declared as pointer to const [constVariablePointer] bibtexconv-2.1.1/src/unification.cc:511:26: style: Parameter 'publication' can be declared as pointer to const [constParameterPointer] bibtexconv-2.1.1/src/publicationset.h:44:4: style: Class 'PublicationSet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bibtexconv-2.1.1/src/bibtexconv.cc:342:30: style: Condition '!failed' is always true [knownConditionTrueFalse] bibtexconv-2.1.1/src/bibtexconv.cc:328:39: note: Assignment 'failed=false', assigned value is 0 bibtexconv-2.1.1/src/bibtexconv.cc:342:30: note: Condition '!failed' is always true bibtexconv-2.1.1/src/bibtexconv.cc:356:30: style: Condition '!failed' is always true [knownConditionTrueFalse] bibtexconv-2.1.1/src/bibtexconv.cc:328:39: note: Assignment 'failed=false', assigned value is 0 bibtexconv-2.1.1/src/bibtexconv.cc:356:30: note: Condition '!failed' is always true bibtexconv-2.1.1/src/bibtexconv.cc:420:65: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bibtexconv-2.1.1/src/bibtexconv.cc:984:13: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bibtexconv-2.1.1/src/bibtexconv.cc:103:23: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:151:24: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:249:22: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:252:22: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:254:19: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:255:19: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:257:34: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:258:34: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:295:40: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:320:56: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:380:46: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:383:107: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:390:67: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:396:64: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:422:37: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:517:16: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:535:37: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:545:28: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:551:27: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:567:37: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:596:33: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:605:33: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:651:48: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:654:36: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:657:37: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:660:20: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:663:25: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:675:38: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:678:39: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:682:46: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:706:30: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/bibtexconv.cc:595:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] bibtexconv-2.1.1/src/bibtexconv.cc:374:40: style: Local variable 'command' shadows outer variable [shadowVariable] bibtexconv-2.1.1/src/bibtexconv.cc:290:37: note: Shadowed variable bibtexconv-2.1.1/src/bibtexconv.cc:374:40: note: Shadow local variable bibtexconv-2.1.1/src/bibtexconv.cc:390:58: style: Local variable 'keywords' shadows outer variable [shadowVariable] bibtexconv-2.1.1/src/bibtexconv.cc:386:49: note: Shadowed variable bibtexconv-2.1.1/src/bibtexconv.cc:390:58: note: Shadow local variable bibtexconv-2.1.1/src/bibtexconv.cc:139:48: performance: Function parameter 'url' should be passed by const reference. [passedByValue] bibtexconv-2.1.1/src/bibtexconv.cc:386:49: style: Variable 'keywords' can be declared as pointer to const [constVariablePointer] bibtexconv-2.1.1/src/bibtexconv.cc:299:50: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bibtexconv-2.1.1/src/bibtexconv.cc:575:28: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] bibtexconv-2.1.1/src/publicationset.cc:46:4: warning: Class 'PublicationSet' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] bibtexconv-2.1.1/src/publicationset.cc:46:4: warning: Class 'PublicationSet' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] bibtexconv-2.1.1/src/publicationset.cc:243:16: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bibtexconv-2.1.1/src/publicationset.cc:400:16: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bibtexconv-2.1.1/src/publicationset.cc:409:16: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] bibtexconv-2.1.1/src/publicationset.cc:106:26: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:107:26: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:110:42: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:111:42: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:212:22: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:339:22: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:490:34: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:538:25: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:582:51: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:606:32: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:627:32: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:834:25: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:842:25: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:1107:46: style: C-style pointer casting [cstyleCast] bibtexconv-2.1.1/src/publicationset.cc:246:35: style: The scope of the variable 'bibtexMonthNames' can be reduced. [variableScope] bibtexconv-2.1.1/src/publicationset.cc:403:35: style: The scope of the variable 'xmlMonthNames' can be reduced. [variableScope] bibtexconv-2.1.1/src/publicationset.cc:484:25: style: Local variable 'type' shadows outer variable [shadowVariable] bibtexconv-2.1.1/src/publicationset.cc:357:22: note: Shadowed variable bibtexconv-2.1.1/src/publicationset.cc:484:25: note: Shadow local variable bibtexconv-2.1.1/src/publicationset.cc:183:67: style: Parameter 'publicationSet' can be declared as pointer to const [constParameterPointer] bibtexconv-2.1.1/src/publicationset.cc:203:19: style: Variable 'child' can be declared as pointer to const [constVariablePointer] bibtexconv-2.1.1/src/publicationset.cc:224:16: style: Variable 'child' can be declared as pointer to const [constVariablePointer] diff: head bibtexconv-2.1.1/src/node.cc:93:10: style: Variable 'child' can be declared as pointer to const [constVariablePointer] head bibtexconv-2.1.1/src/publicationset.cc:203:19: style: Variable 'child' can be declared as pointer to const [constVariablePointer] head bibtexconv-2.1.1/src/publicationset.cc:224:16: style: Variable 'child' can be declared as pointer to const [constVariablePointer] head bibtexconv-2.1.1/src/unification.cc:215:22: style: Parameter 'publication' can be declared as pointer to const [constParameterPointer] head bibtexconv-2.1.1/src/unification.cc:288:22: style: Parameter 'publication' can be declared as pointer to const [constParameterPointer] head bibtexconv-2.1.1/src/unification.cc:338:22: style: Parameter 'publication' can be declared as pointer to const [constParameterPointer] head bibtexconv-2.1.1/src/unification.cc:493:13: style: Variable 'numpages' can be declared as pointer to const [constVariablePointer] head bibtexconv-2.1.1/src/unification.cc:511:26: style: Parameter 'publication' can be declared as pointer to const [constParameterPointer] DONE