2026-03-11 00:48 ftp://ftp.de.debian.org/debian/pool/main/p/porechop/porechop_0.2.4+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j1 platform: Linux-6.8.0-100-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 13f7e53 (2026-03-10 11:18:54 +0100) count: 9 9 elapsed-time: 1.0 0.1 head-timing-info: old-timing-info: head results: Porechop-0.2.4/porechop/src/adapter_align.cpp:42:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: c_string [nullPointerOutOfMemory] Porechop-0.2.4/porechop/src/adapter_align.cpp:40:36: note: Assuming allocation function fails Porechop-0.2.4/porechop/src/adapter_align.cpp:40:23: note: Assignment 'c_string=(char*)malloc(sizeof(char)*(cpp_string.size()+1))', assigned value is 0 Porechop-0.2.4/porechop/src/adapter_align.cpp:42:5: note: Null pointer dereference Porechop-0.2.4/porechop/src/adapter_align.cpp:40:23: style: C-style pointer casting [cstyleCast] Porechop-0.2.4/porechop/src/adapter_align.cpp:17:26: style: Variable 'readName' is assigned a value that is never used. [unreadVariable] Porechop-0.2.4/porechop/src/adapter_align.cpp:18:25: style: Variable 'refName' is assigned a value that is never used. [unreadVariable] Porechop-0.2.4/porechop/src/adapter_align.cpp:13:17: style: Unused variable: output [unusedVariable] Porechop-0.2.4/porechop/src/alignment.cpp:82:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_alignedRegionPercentIdentity [valueFlowBailoutIncompleteVar] Porechop-0.2.4/porechop/src/alignment.cpp:114:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_readStartPos [valueFlowBailoutIncompleteVar] Porechop-0.2.4/porechop/src/alignment.cpp:61:41: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Porechop-0.2.4/porechop/src/alignment.cpp:68:41: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] diff: DONE