2026-05-01 19:33 ftp://ftp.de.debian.org/debian/pool/main/f/fast5/fast5_0.6.5.orig.tar.gz 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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 55 50 elapsed-time: 0.8 0.7 head-timing-info: old-timing-info: head results: fast5-0.6.5/src/f5-mod.cpp:20:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5-mod.cpp:23:12: style: The scope of the variable 'file_name' can be reduced. [variableScope] fast5-0.6.5/src/f5-mod.cpp:16:26: style: Parameter 'argv' can be declared as const array [constParameter] fast5-0.6.5/src/f5dump.cpp:50:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5dump.cpp:72:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5dump.cpp:288:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5ls-full.cpp:30:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5ls-full.cpp:38:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5ls-full.cpp:34:26: style: Parameter 'argv' can be declared as const array [constParameter] fast5-0.6.5/src/f5ls.cpp:30:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5ls.cpp:38:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5ls.cpp:34:26: style: Parameter 'argv' can be declared as const array [constParameter] fast5-0.6.5/src/File_Packer.hpp:290:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_THROW [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/File_Packer.hpp:389:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_THROW [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/File_Packer.hpp:526:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_THROW [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/File_Packer.hpp:661:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable warning [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/File_Packer.hpp:865:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable warning [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/f5pack.cpp:73:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/File_Packer.hpp:328:5: style: The member function 'fast5::File_Packer::unpack_rw' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:339:5: style: The member function 'fast5::File_Packer::copy_rw' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:456:5: style: The member function 'fast5::File_Packer::unpack_ed' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:473:5: style: The member function 'fast5::File_Packer::copy_ed' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:599:5: style: The member function 'fast5::File_Packer::unpack_fq' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:617:5: style: The member function 'fast5::File_Packer::copy_fq' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:805:5: style: The member function 'fast5::File_Packer::unpack_ev' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:823:5: style: The member function 'fast5::File_Packer::copy_ev' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:927:5: style: The member function 'fast5::File_Packer::unpack_al' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:942:5: style: The member function 'fast5::File_Packer::copy_al' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:963:5: style: The member function 'fast5::File_Packer::copy_basecall_params' can be static. [functionStatic] fast5-0.6.5/src/File_Packer.hpp:121:5: style: Class 'File_Packer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fast5-0.6.5/src/f5pack.cpp:161:8: error: Unhandled exception thrown in function that is an entry point. [throwInEntryPoint] fast5-0.6.5/src/File_Packer.hpp:377:28: style: The scope of the variable 'ede_params' can be reduced. [variableScope] fast5-0.6.5/src/File_Packer.hpp:670:28: style: The scope of the variable 'ev_params' can be reduced. [variableScope] fast5-0.6.5/src/File_Packer.hpp:287:28: style: Variable 'rs_params_unpack' can be declared as reference to const [constVariableReference] fast5-0.6.5/src/File_Packer.hpp:377:28: style: Variable 'ede_params' can be declared as reference to const [constVariableReference] fast5-0.6.5/src/File_Packer.hpp:393:32: style: Variable 'ede_params_unpack' can be declared as reference to const [constVariableReference] fast5-0.6.5/src/File_Packer.hpp:670:28: style: Variable 'ev_params' can be declared as reference to const [constVariableReference] fast5-0.6.5/src/File_Packer.hpp:705:32: style: Variable 'ev_params_unpack' can be declared as reference to const [constVariableReference] fast5-0.6.5/src/File_Packer.hpp:583:17: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] fast5-0.6.5/src/hdf5-mod.cpp:120:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/hdf5-mod.cpp:203:38: style: C-style pointer casting [cstyleCast] fast5-0.6.5/src/hdf5-mod.cpp:213:38: style: C-style pointer casting [cstyleCast] fast5-0.6.5/src/hdf5-mod.cpp:261:49: style: C-style pointer casting [cstyleCast] fast5-0.6.5/src/hdf5-mod.cpp:271:49: style: C-style pointer casting [cstyleCast] fast5-0.6.5/src/hdf5-mod.cpp:289:53: style: C-style pointer casting [cstyleCast] fast5-0.6.5/src/hdf5-mod.cpp:297:53: style: C-style pointer casting [cstyleCast] fast5-0.6.5/src/hdf5-mod.cpp:124:12: style: The scope of the variable 'file_name' can be reduced. [variableScope] fast5-0.6.5/src/huffman-decode.cpp:20:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/huffman-decode.cpp:18:27: style: Parameter 'argv' can be declared as const array [constParameter] fast5-0.6.5/src/huffman-encode.cpp:20:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/huffman-encode.cpp:18:27: style: Parameter 'argv' can be declared as const array [constParameter] fast5-0.6.5/src/tmp.cpp:42:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fast5-0.6.5/src/tmp.cpp:197:25: style: Local variable 'i' shadows outer variable [shadowVariable] fast5-0.6.5/src/tmp.cpp:64:9: note: Shadowed declaration fast5-0.6.5/src/tmp.cpp:197:25: note: Shadow variable fast5-0.6.5/src/tmp.cpp:92:25: style: Unused variable: a_stype_id [unusedVariable] fast5-0.6.5/src/hdf5-mod.cpp:30:1: error: The one definition rule is violated, different classes/structs have the same name 'A' [ctuOneDefinitionRuleViolation] fast5-0.6.5/src/tmp.cpp:29:1: note: The one definition rule is violated, different classes/structs have the same name 'A' fast5-0.6.5/src/hdf5-mod.cpp:30:1: note: The one definition rule is violated, different classes/structs have the same name 'A' diff: head fast5-0.6.5/src/File_Packer.hpp:287:28: style: Variable 'rs_params_unpack' can be declared as reference to const [constVariableReference] head fast5-0.6.5/src/File_Packer.hpp:377:28: style: Variable 'ede_params' can be declared as reference to const [constVariableReference] head fast5-0.6.5/src/File_Packer.hpp:393:32: style: Variable 'ede_params_unpack' can be declared as reference to const [constVariableReference] head fast5-0.6.5/src/File_Packer.hpp:670:28: style: Variable 'ev_params' can be declared as reference to const [constVariableReference] head fast5-0.6.5/src/File_Packer.hpp:705:32: style: Variable 'ev_params_unpack' can be declared as reference to const [constVariableReference] DONE