2025-05-10 19:55 ftp://ftp.de.debian.org/debian/pool/main/g/gemmi/gemmi_0.7.1+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=boost --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: beb3362 (2025-05-10 14:33:23 +0200) count: 449 446 elapsed-time: 13.4 13.8 head-timing-info: old-timing-info: head results: gemmi-0.7.1/benchmarks/elem.cpp:43:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gemmi-0.7.1/benchmarks/niggli.cpp:27:42: style: Parameter 'state' can be declared as reference to const. However it seems that 'run_niggli' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/niggli.cpp:60:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/niggli.cpp:27:42: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/niggli.cpp:36:56: style: Parameter 'state' can be declared as reference to const. However it seems that 'run_niggli_with_tracking' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/niggli.cpp:61:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/niggli.cpp:36:56: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/niggli.cpp:44:43: style: Parameter 'state' can be declared as reference to const. However it seems that 'run_buerger' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/niggli.cpp:62:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/niggli.cpp:44:43: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/elem.cpp:12:35: style: Parameter 'state' can be declared as reference to const [constParameterReference] gemmi-0.7.1/benchmarks/niggli.cpp:52:43: style: Parameter 'state' can be declared as reference to const. However it seems that 'run_selling' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/niggli.cpp:63:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/niggli.cpp:52:43: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/elem.cpp:42:42: style: Parameter 'state' can be declared as reference to const. However it seems that 'run_fprime' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/elem.cpp:53:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/elem.cpp:42:42: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/mod.cpp:40:35: style: Parameter 'state' can be declared as reference to const. However it seems that 'run' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/mod.cpp:58:19: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/mod.cpp:40:35: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/mod.cpp:43:7: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/benchmarks/resinfo.cpp:22:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hydrogen_count [valueFlowBailoutIncompleteVar] gemmi-0.7.1/benchmarks/pdb.cpp:25:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/benchmarks/pdb.cpp:51:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/benchmarks/pdb.cpp:63:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/benchmarks/round.cpp:23:35: style: Parameter 'state' can be declared as reference to const. However it seems that 'run' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/round.cpp:45:19: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/round.cpp:23:35: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/round.cpp:32:36: style: Parameter 'state' can be declared as reference to const. However it seems that 'run2' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/round.cpp:50:19: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/round.cpp:32:36: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/round.cpp:25:7: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/benchmarks/round.cpp:34:7: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/benchmarks/resinfo.cpp:15:58: style: Parameter 'state' can be declared as reference to const. However it seems that 'find_tabulated_residue_x10' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/resinfo.cpp:65:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/resinfo.cpp:15:58: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/resinfo.cpp:27:47: style: Parameter 'state' can be declared as reference to const. However it seems that 'sequence_weight' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/resinfo.cpp:66:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/resinfo.cpp:27:47: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:14:45: style: Parameter 'state' can be declared as reference to const. However it seems that 'read_pdb_file' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:142:49: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:14:45: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:21:47: style: Parameter 'state' can be declared as reference to const. However it seems that 'find_atom_image' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:143:51: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:21:47: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:38:52: style: Parameter 'state' can be declared as reference to const. However it seems that 'neighbor_search_ctor' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:144:56: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:38:52: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:47:52: style: Parameter 'state' can be declared as reference to const. However it seems that 'neighbor_search_find' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:145:56: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:47:52: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:59:56: style: Parameter 'state' can be declared as reference to const. However it seems that 'neighbor_search_for_each' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:147:32: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:59:56: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:73:45: style: Parameter 'state' can be declared as reference to const. However it seems that 'calculate_box' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:148:49: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:73:45: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:82:46: style: Parameter 'state' can be declared as reference to const. However it seems that 'fractional_box' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:149:50: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:82:46: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:114:45: style: Parameter 'state' can be declared as reference to const. However it seems that 'has_hydrogen1' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:150:49: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:114:45: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:123:45: style: Parameter 'state' can be declared as reference to const. However it seems that 'has_hydrogen2' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:151:49: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:123:45: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:132:45: style: Parameter 'state' can be declared as reference to const. However it seems that 'has_hydrogen3' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/pdb.cpp:152:49: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/pdb.cpp:132:45: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/pdb.cpp:92:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/benchmarks/pdb.cpp:93:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/benchmarks/pdb.cpp:94:7: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/benchmarks/pdb.cpp:95:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/benchmarks/smat33.cpp:29:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gemmi-0.7.1/benchmarks/smat33.cpp:11:38: style: Parameter 'state' can be declared as reference to const. However it seems that 'r_u_r1' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/smat33.cpp:66:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/smat33.cpp:11:38: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/smat33.cpp:38:38: style: Parameter 'state' can be declared as reference to const. However it seems that 'r_u_r2' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/smat33.cpp:67:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/smat33.cpp:38:38: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/sym.cpp:20:52: style: Parameter 'state' can be declared as reference to const. However it seems that 'bm_parse_triplet_all' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/sym.cpp:60:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/sym.cpp:20:52: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/sym.cpp:33:51: style: Parameter 'state' can be declared as reference to const. However it seems that 'bm_make_triplet_all' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/sym.cpp:62:11: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/sym.cpp:33:51: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/benchmarks/writecif.cpp:10:41: style: Parameter 'state' can be declared as reference to const. However it seems that 'write_cif' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/writecif.cpp:34:46: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/writecif.cpp:10:41: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/docs/code/cif_cc.cpp:10:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/docs/code/cif_cc.cpp:23:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/benchmarks/stoi.cpp:19:35: style: Parameter 'state' can be declared as reference to const. However it seems that 'sequential' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.7.1/benchmarks/stoi.cpp:34:19: note: You might need to cast the function pointer here gemmi-0.7.1/benchmarks/stoi.cpp:19:35: note: Parameter 'state' can be declared as reference to const gemmi-0.7.1/docs/code/mutate.cpp:12:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Se [valueFlowBailoutIncompleteVar] gemmi-0.7.1/docs/code/newmtz.cpp:10:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.7.1/docs/code/sym.cpp:13:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable main [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/auth_label.cpp:13:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/check_symmetry.cpp:40:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/check_symmetry.cpp:33:7: style: The scope of the variable 'counter' can be reduced. [variableScope] gemmi-0.7.1/examples/hello.cpp:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/hello.cpp:8:25: style: The scope of the variable 'greeted' can be reduced. [variableScope] gemmi-0.7.1/examples/check_conn.cpp:69:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mmcif [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/with_bgl.cpp:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable el [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/with_bgl.cpp:70:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertex_index [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/with_bgl.cpp:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/with_bgl.cpp:116:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertex_index [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/with_bgl.cpp:135:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertex_index [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/with_bgl.cpp:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/with_bgl.cpp:192:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/with_bgl.cpp:216:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/examples/check_conn.cpp:64:7: style: The scope of the variable 'counter' can be reduced. [variableScope] gemmi-0.7.1/prog/options.h:93:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/align.cpp:194:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/align.cpp:217:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/blobs.cpp:95:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/blobs.cpp:201:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cifmod.h:40:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Loop [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cif2json.cpp:64:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cif2json.cpp:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cif2mtz.cpp:104:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cif2mtz.cpp:162:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataset_id [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cif2mtz.cpp:206:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable to_stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/sprintf.cpp:47:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vsprintfcb [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:89:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable batches [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:119:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:164:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable same_byte_order [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:179:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header_offset [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:334:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable batches [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:363:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:376:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nreflections [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:393:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cell [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:411:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:469:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEN [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:512:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:555:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indices_switched_to_original [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:585:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indices_switched_to_original [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:619:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nreflections [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:635:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sort_order [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:653:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:692:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:749:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable columns [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:772:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable columns [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:782:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable columns [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz.cpp:802:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ccp4.cpp:12:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/gz.cpp:80:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/gz.cpp:84:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/gz.cpp:88:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/gz.cpp:95:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_ [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/gz.cpp:104:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_ [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/gz.cpp:123:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_ [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/gz.cpp:154:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file_ [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cifdiff.cpp:101:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pair [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cifdiff.cpp:150:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cifdiff.cpp:183:24: style: Variable 'di' can be declared as reference to const [constVariableReference] gemmi-0.7.1/prog/cifdiff.cpp:50:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/contact.cpp:100:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/contact.cpp:177:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ignore [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/cif2mtz.cpp:89:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/histogram.h:28:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/contents.cpp:48:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chains [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/contents.cpp:88:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/contents.cpp:209:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PeptideL [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/contents.cpp:258:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/convert.cpp:54:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/convert.cpp:191:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable badbit [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/convert.cpp:294:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_id [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/convert.cpp:309:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/convert.cpp:557:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/convert.cpp:237:22: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/prog/convert.cpp:297:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/convert.cpp:434:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/crd.cpp:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/ecalc.cpp:69:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/fprime.cpp:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/gz.cpp:72:11: style: C-style pointer casting [cstyleCast] gemmi-0.7.1/prog/fprime.cpp:88:18: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/fprime.cpp:101:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/h.cpp:83:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReAddButWater [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/h.cpp:142:18: style: The if condition is the same as the previous if condition [duplicateCondition] gemmi-0.7.1/prog/h.cpp:139:18: note: First condition gemmi-0.7.1/prog/h.cpp:142:18: note: Second condition gemmi-0.7.1/prog/h.cpp:113:25: warning: Uninitialized variables: mon_args.monomer_dir, mon_args.libin, mon_args.verbose [uninitvar] gemmi-0.7.1/prog/h.cpp:103:16: note: Assuming condition is false gemmi-0.7.1/prog/h.cpp:113:25: note: Uninitialized variables: mon_args.monomer_dir, mon_args.libin, mon_args.verbose gemmi-0.7.1/prog/grep.cpp:139:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/grep.cpp:203:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/grep.cpp:230:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/grep.cpp:435:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/grep.cpp:522:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/json2cif.cpp:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/map.cpp:173:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/grep.cpp:253:11: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/grep.cpp:356:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/grep.cpp:401:11: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/main.cpp:96:16: style: Variable 'sub' can be declared as reference to const [constVariableReference] gemmi-0.7.1/prog/main.cpp:104:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/map2sf.cpp:54:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/map2sf.cpp:136:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/timer.h:20:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mask.cpp:81:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mapcoef.cpp:141:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/map2sf.cpp:81:27: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/prog/timer.h:8:3: style: Class 'Timer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.7.1/prog/mixmtz.cpp:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mixmtz.cpp:64:26: style: The scope of the variable 'input_list' can be reduced. [variableScope] gemmi-0.7.1/prog/mixmtz.cpp:39:29: style: Variable 'indices0' is assigned a value that is never used. [unreadVariable] gemmi-0.7.1/prog/mixmtz.cpp:39:20: style: Variable 'indices0' is assigned a value that is never used. [unreadVariable] gemmi-0.7.1/prog/merge.cpp:76:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/merge.cpp:87:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable to_stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/merge.cpp:157:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/merge.cpp:302:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r_merge [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/merge.cpp:324:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mondiff.cpp:154:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Both [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mondiff.cpp:214:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bond [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/monlib_opt.cpp:31:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/monlib_opt.cpp:48:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mondiff.cpp:185:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/mtz2cif.cpp:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mtz.cpp:550:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable to_stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mtz.cpp:615:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/merge.cpp:167:42: warning: Either the condition 'r' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] gemmi-0.7.1/prog/merge.cpp:171:12: note: Assuming that condition 'r' is not redundant gemmi-0.7.1/prog/merge.cpp:167:42: note: Null pointer dereference gemmi-0.7.1/prog/merge.cpp:176:35: warning: Possible null pointer dereference: r [nullPointer] gemmi-0.7.1/prog/merge.cpp:219:33: note: Calling function 'print_reflection', 2nd argument 'nullptr' value is 0 gemmi-0.7.1/prog/merge.cpp:176:35: note: Null pointer dereference gemmi-0.7.1/prog/merge.cpp:94:78: style: Parameter 'p' can be declared as reference to const [constParameterReference] gemmi-0.7.1/prog/merge.cpp:116:44: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/merge.cpp:126:37: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/options.cpp:326:21: error: There is an unknown macro here somewhere. Configuration is required. If GEMMI_VERSION is a macro then please configure it. [unknownMacro] gemmi-0.7.1/prog/mtz.cpp:24:28: warning: The struct 'MtzArg' defines member function with name 'AsuChoice' also defined in its parent struct 'Arg'. [duplInheritedMember] gemmi-0.7.1/prog/options.h:58:28: note: Parent function 'Arg::AsuChoice' gemmi-0.7.1/prog/mtz.cpp:24:28: note: Derived function 'MtzArg::AsuChoice' gemmi-0.7.1/prog/mtz.cpp:513:7: portability: %g in format string (no. 3) requires 'double' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_float] gemmi-0.7.1/prog/reindex.cpp:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/mtz.cpp:128:14: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/residues.cpp:155:13: error: syntax error [syntaxError] gemmi-0.7.1/prog/set.cpp:108:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/set.cpp:141:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable result_out_of_range [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/set.cpp:154:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable result_out_of_range [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/set.cpp:214:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pdb [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/set.cpp:256:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/rmsz.cpp:99:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Different [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/rmsz.cpp:225:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sf2map.cpp:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sf2map.cpp:136:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sf2map.cpp:281:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sf2map.cpp:445:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/set.cpp:178:19: style: C-style pointer casting [cstyleCast] gemmi-0.7.1/prog/sf2map.cpp:349:17: style:inconclusive: Technically the member function '::check_map_coef::Counters::get_fm' can be const. [functionConst] gemmi-0.7.1/prog/sf2map.cpp:364:17: style:inconclusive: Technically the member function '::check_map_coef::Counters::get_fd' can be const. [functionConst] gemmi-0.7.1/prog/rmsz.cpp:92:22: error: Uninitialized variable: buf [uninitvar] gemmi-0.7.1/prog/sf2map.cpp:77:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/sg.cpp:43:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rot [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sg.cpp:135:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/tags.cpp:86:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/tags.cpp:133:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/tags.cpp:169:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/tags.cpp:223:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/tags.cpp:281:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/tags.cpp:312:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/tags.cpp:356:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/validate.cpp:109:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pair [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/validate.cpp:161:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Loop [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/validate.cpp:197:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ddl [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/validate.cpp:263:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable to_stdout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sfcalc.cpp:57:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_OK [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sfcalc.cpp:210:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sfcalc.cpp:247:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sfcalc.cpp:410:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sfcalc.cpp:435:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sfcalc.cpp:770:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable element [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sfcalc.cpp:875:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/sfcalc.cpp:532:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/tags.cpp:190:17: style: The scope of the variable 'ts' can be reduced. [variableScope] gemmi-0.7.1/prog/validate.cpp:172:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/validate_mon.cpp:33:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/validate_mon.cpp:159:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Single [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/validate_mon.cpp:204:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/validate_mon.cpp:284:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/wcn.cpp:99:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/wcn.cpp:231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/wcn.cpp:339:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.7.1/prog/validate_mon.cpp:122:3: style: Struct 'HeavyAtom' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.7.1/prog/validate_mon.cpp:28:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/wcn.cpp:346:10: style: The scope of the variable 'sum_cc' can be reduced. [variableScope] gemmi-0.7.1/prog/wcn.cpp:347:10: style: The scope of the variable 'sum_rmad' can be reduced. [variableScope] gemmi-0.7.1/prog/wcn.cpp:348:10: style: The scope of the variable 'sum_rank_cc' can be reduced. [variableScope] gemmi-0.7.1/prog/xds2mtz.cpp:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/python/common.h:21:0: error: #error Required nanobind version >= 2.2 [preprocessorErrorDirective] gemmi-0.7.1/python/common.h:21:4: error: #error Required nanobind version >= 2.2 [preprocessorErrorDirective] gemmi-0.7.1/src/align.cpp:37:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Polymer [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/align.cpp:36:16: style: Variable 'ent' can be declared as reference to const [constVariableReference] gemmi-0.7.1/src/align.cpp:39:15: style: Variable 'ptypes' can be declared as const array [constVariable] gemmi-0.7.1/src/calculate.cpp:42:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEN [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/calculate.cpp:11:10: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/assembly.cpp:97:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/assembly.cpp:163:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/assembly.cpp:216:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Same [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/assembly.cpp:411:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Short [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/assembly.cpp:432:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/crd.cpp:74:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/crd.cpp:153:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoChange [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/crd.cpp:396:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bond [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/crd.cpp:481:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/crd.cpp:202:7: style: Condition 'write_fract_matrix' is always true [knownConditionTrueFalse] gemmi-0.7.1/src/crd.cpp:201:29: note: Assignment 'write_fract_matrix=true', assigned value is 1 gemmi-0.7.1/src/crd.cpp:202:7: note: Condition 'write_fract_matrix' is always true gemmi-0.7.1/src/crd.cpp:54:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/crd.cpp:356:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/crd.cpp:365:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/prog/sfcalc.cpp:168:3: portability: %f in format string (no. 4) requires 'double' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_float] gemmi-0.7.1/prog/sfcalc.cpp:357:7: portability: %f in format string (no. 4) requires 'double' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_float] gemmi-0.7.1/prog/sfcalc.cpp:357:7: portability: %f in format string (no. 5) requires 'double' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_float] gemmi-0.7.1/prog/sfcalc.cpp:327:47: style: Variable 'hv' can be declared as reference to const [constVariableReference] gemmi-0.7.1/src/ddl.cpp:21:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_digit [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:29:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:77:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:159:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:245:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable major_version [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:272:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:389:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_null [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:407:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pair [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:449:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dict_name [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:458:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Frame [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:577:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pair [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:656:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable major_version [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/ddl.cpp:57:3: style: Class 'Ddl1Rules' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.7.1/src/ddl.cpp:416:17: style: The scope of the variable 'first_missing' can be reduced. [variableScope] gemmi-0.7.1/src/ddl.cpp:32:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/ddl.cpp:86:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/ddl.cpp:159:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/ddl.cpp:162:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/ddl.cpp:191:64: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/assembly.cpp:49:13: style: Variable 'cra' can be declared as reference to const [constVariableReference] gemmi-0.7.1/src/assembly.cpp:450:42: style: Parameter 'r' can be declared as reference to const [constParameterReference] gemmi-0.7.1/src/intensit.cpp:102:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:139:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:163:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mean [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:182:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:215:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:281:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sum_ibar2 [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:287:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:321:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:349:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:370:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:377:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:427:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:440:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:448:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:494:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:505:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:529:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:533:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:538:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/intensit.cpp:81:10: style: Variable 'eigval' can be declared as const array [constVariable] gemmi-0.7.1/third_party/sajson.h:254:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] gemmi-0.7.1/third_party/sajson.h:1076:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] gemmi-0.7.1/third_party/sajson.h:1160:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] gemmi-0.7.1/third_party/sajson.h:1181:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] gemmi-0.7.1/third_party/sajson.h:1288:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] gemmi-0.7.1/third_party/sajson.h:1330:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nothrow [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/json.cpp:73:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable items [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:79:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:172:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:216:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Same [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:321:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:356:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:424:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:466:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subchain [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:517:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pair [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mmcif.cpp:544:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mmcif [valueFlowBailoutIncompleteVar] gemmi-0.7.1/third_party/sajson.h:1532:9: warning: Member variable 'parser::error_code' is not initialized in the constructor. [uninitMemberVar] gemmi-0.7.1/third_party/sajson.h:1532:9: warning: Member variable 'parser::error_arg' is not initialized in the constructor. [uninitMemberVar] gemmi-0.7.1/third_party/sajson.h:640:14: style: Unused private function: 'value::assert_in_bounds' [unusedPrivateFunction] gemmi-0.7.1/third_party/sajson.h:640:14: note: Unused private function: 'value::assert_in_bounds' gemmi-0.7.1/third_party/sajson.h:640:14: note: Unused private function: 'value::assert_in_bounds' gemmi-0.7.1/third_party/sajson.h:1943:23: style: Unused private function: 'parser::pow10' [unusedPrivateFunction] gemmi-0.7.1/third_party/sajson.h:1943:23: note: Unused private function: 'parser::pow10' gemmi-0.7.1/third_party/sajson.h:1943:23: note: Unused private function: 'parser::pow10' gemmi-0.7.1/third_party/sajson.h:379:18: style:inconclusive: Technically the member function 'sajson::internal::object_key_comparator::operator()' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:930:20: style:inconclusive: Technically the member function 'sajson::single_allocation::stack_head::get_size' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1001:20: style:inconclusive: Technically the member function 'sajson::single_allocation::allocator::get_write_offset' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1142:20: style:inconclusive: Technically the member function 'sajson::dynamic_allocation::stack_head::get_size' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1239:24: style:inconclusive: Technically the member function 'sajson::dynamic_allocation::allocator::get_stack_head' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1243:20: style:inconclusive: Technically the member function 'sajson::dynamic_allocation::allocator::get_write_offset' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1395:20: style:inconclusive: Technically the member function 'sajson::bounded_allocation::stack_head::get_size' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1450:20: style:inconclusive: Technically the member function 'sajson::bounded_allocation::allocator::get_write_offset' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1481:18: style:inconclusive: Technically the member function 'sajson::bounded_allocation::allocator::can_grow' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1560:14: style:inconclusive: Technically the member function 'sajson::parser::at_eof' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:1897:14: style:inconclusive: Technically the member function 'sajson::parser::has_remaining_characters' can be const. [functionConst] gemmi-0.7.1/third_party/sajson.h:2399:14: performance:inconclusive: Technically the member function 'sajson::parser::write_utf8' can be static (but you may consider moving to unnamed namespace). [functionStatic] gemmi-0.7.1/third_party/sajson.h:281:9: style: Class 'mutable_string_view' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.7.1/third_party/sajson.h:291:9: style: Class 'mutable_string_view' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.7.1/third_party/sajson.h:360:13: style: Struct 'object_key_comparator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.7.1/third_party/sajson.h:1316:9: style: Class 'dynamic_allocation' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.7.1/third_party/sajson.h:517:19: style: Condition 'i!=end' is always true [knownConditionTrueFalse] gemmi-0.7.1/third_party/sajson.h:1296:25: style: Variable 'old_write_head' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/third_party/sajson.h:1543:25: style: Variable 'ast_root' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/third_party/sajson.h:1593:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gemmi-0.7.1/third_party/sajson.h:1897:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gemmi-0.7.1/third_party/sajson.h:2281:36: style: Parameter 'array_base' can be declared as pointer to const [constParameterPointer] gemmi-0.7.1/third_party/sajson.h:2281:56: style: Parameter 'array_end' can be declared as pointer to const [constParameterPointer] gemmi-0.7.1/third_party/sajson.h:2291:27: style: Variable 'structure_end' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/third_party/sajson.h:2297:25: style: Variable 'element_ptr' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/third_party/sajson.h:2304:37: style: Parameter 'object_base' can be declared as pointer to const [constParameterPointer] gemmi-0.7.1/third_party/sajson.h:2304:58: style: Parameter 'object_end' can be declared as pointer to const [constParameterPointer] gemmi-0.7.1/third_party/sajson.h:2322:27: style: Variable 'structure_end' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/third_party/sajson.h:2328:25: style: Variable 'element_ptr' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/src/mmcif.cpp:222:18: style: Condition 'sep2!=std::string::npos' is always true [knownConditionTrueFalse] gemmi-0.7.1/src/mmcif.cpp:219:16: style: Same expression used in consecutive assignments of 'sep1' and 'sep2'. [duplicateAssignExpression] gemmi-0.7.1/src/mmcif.cpp:220:16: note: Same expression used in consecutive assignments of 'sep1' and 'sep2'. gemmi-0.7.1/src/mmcif.cpp:219:16: note: Same expression used in consecutive assignments of 'sep1' and 'sep2'. gemmi-0.7.1/src/mmcif.cpp:221:64: style: Same expression 'sep1!=std::string::npos' found multiple times in chain of '&&' operators because 'sep1!=std::string::npos' and 'sep2!=std::string::npos' represent the same value. [knownConditionTrueFalse] gemmi-0.7.1/src/mmcif.cpp:219:30: note: 'sep1' is assigned value 's2.find('_')' here. gemmi-0.7.1/src/mmcif.cpp:220:30: note: 'sep2' is assigned value 's2.find('_')' here. gemmi-0.7.1/src/mmcif.cpp:221:64: note: Same expression 'sep1!=std::string::npos' found multiple times in chain of '&&' operators because 'sep1!=std::string::npos' and 'sep2!=std::string::npos' represent the same value. gemmi-0.7.1/src/mmcif.cpp:496:40: style: Parameter 'meta' can be declared as reference to const [constParameterReference] gemmi-0.7.1/src/mmcif.cpp:497:21: style: Variable 'crystal_info' can be declared as reference to const [constVariableReference] gemmi-0.7.1/src/mmcif.cpp:119:12: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/mmcif.cpp:177:35: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/mmcif.cpp:499:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/mmcif.cpp:533:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/monlib.cpp:26:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chirs [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/monlib.cpp:171:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/monlib.cpp:247:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/monlib.cpp:491:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable links [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/monlib.cpp:515:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ion [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/monlib.cpp:540:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monomer_dir [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/monlib.cpp:571:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monomers [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/monlib.cpp:601:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monomers [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/mtz2cif.cpp:297:32: error: There is an unknown macro here somewhere. Configuration is required. If GEMMI_VERSION is a macro then please configure it. [unknownMacro] gemmi-0.7.1/src/pdb.cpp:1051:9: error: syntax error [syntaxError] gemmi-0.7.1/src/polyheur.cpp:346:37: debug: Failed to instantiate template "in_vector_at". The checking continues anyway. [templateInstantiation] gemmi-0.7.1/src/polyheur.cpp:12:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:123:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:143:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:169:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:235:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:262:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entity_type [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:306:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:316:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:358:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:420:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable label_seq [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/polyheur.cpp:376:19: error: Using object that points to local variable 'short_code' that is out of scope. [invalidLifetime] gemmi-0.7.1/src/polyheur.cpp:379:26: note: Array decayed to pointer here. gemmi-0.7.1/src/polyheur.cpp:377:12: note: Variable created here. gemmi-0.7.1/src/polyheur.cpp:376:19: note: Using object that points to local variable 'short_code' that is out of scope. gemmi-0.7.1/src/polyheur.cpp:176:21: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/src/polyheur.cpp:428:26: style: Variable 'tls_groups' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/src/polyheur.cpp:322:7: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/polyheur.cpp:335:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/resinfo.cpp:14:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AA [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/resinfo.cpp:422:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/riding_h.cpp:152:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dummy [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/riding_h.cpp:166:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Calculated [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/riding_h.cpp:463:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/riding_h.cpp:227:11: style: Variable 'torsion_h' can be declared as pointer to const [constVariablePointer] gemmi-0.7.1/src/riding_h.cpp:219:66: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/riding_h.cpp:421:12: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/select.cpp:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/select.cpp:48:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/select.cpp:81:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/select.cpp:215:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/select.cpp:270:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seqnum [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/select.cpp:282:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable property [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/select.cpp:290:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mdl [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/select.cpp:142:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/to_json.cpp:74:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/to_json.cpp:112:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/to_json.cpp:229:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Frame [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/to_pdb.cpp:256:7: error: syntax error [syntaxError] gemmi-0.7.1/src/to_mmcif.cpp:99:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoHydrogen [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/to_mmcif.cpp:224:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompleteIcosahedral [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/to_mmcif.cpp:522:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Polymer [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:16:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Null [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:122:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subchain_name [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:218:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Null [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:363:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable only_bonds [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:462:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group_idx [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:597:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chain_infos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:620:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bonds [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:651:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chain_infos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:696:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable atom [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:752:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chain_infos [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:847:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable calc_flag [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:942:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Shift [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/topo.cpp:183:25: warning: Either the condition 's.size()>0' is redundant or size of 's' can be 1. Expression 's[1]' causes access out of bounds. [containerOutOfBounds] gemmi-0.7.1/src/topo.cpp:182:16: note: Assuming that condition 's.size()>0' is not redundant gemmi-0.7.1/src/topo.cpp:183:25: note: Access out of bounds gemmi-0.7.1/src/topo.cpp:185:25: warning: Either the condition 's.size()>2' is redundant or size of 's' can be 3. Expression 's[3]' causes access out of bounds. [containerOutOfBounds] gemmi-0.7.1/src/topo.cpp:184:16: note: Assuming that condition 's.size()>2' is not redundant gemmi-0.7.1/src/topo.cpp:185:25: note: Access out of bounds gemmi-0.7.1/src/topo.cpp:206:57: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/topo.cpp:221:57: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/topo.cpp:274:60: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/topo.cpp:285:60: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.7.1/src/xds_ascii.cpp:13:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isets [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/xds_ascii.cpp:52:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/xds_ascii.cpp:87:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] gemmi-0.7.1/src/xds_ascii.cpp:130:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable source_path [valueFlowBailoutIncompleteVar] gemmi-0.7.1/tests/cif.cpp:20:16: style: Condition 'cit==it' is always true [knownConditionTrueFalse] gemmi-0.7.1/tests/cif.cpp:19:7: note: cit is assigned 'it' here. gemmi-0.7.1/tests/cif.cpp:20:16: note: Condition 'cit==it' is always true gemmi-0.7.1/tests/cif.cpp:21:16: style: Condition 'cit!=it' is always false [knownConditionTrueFalse] gemmi-0.7.1/tests/cif.cpp:19:7: note: cit is assigned 'it' here. gemmi-0.7.1/tests/cif.cpp:21:16: note: Condition 'cit!=it' is always false gemmi-0.7.1/tests/cif.cpp:19:7: style: Variable 'cit' is reassigned a value before the old one has been used. [redundantAssignment] gemmi-0.7.1/tests/cif.cpp:18:7: note: cit is assigned gemmi-0.7.1/tests/cif.cpp:19:7: note: cit is overwritten gemmi-0.7.1/src/xds_ascii.cpp:255:30: style: Variable 'refl' can be declared as reference to const [constVariableReference] gemmi-0.7.1/tests/disulf.cpp:49:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable atom [valueFlowBailoutIncompleteVar] gemmi-0.7.1/tests/disulf.cpp:144:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.7.1/tests/main.cpp:15:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gemmi-0.7.1/tests/main.cpp:30:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] gemmi-0.7.1/tests/main.cpp:153:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mg [valueFlowBailoutIncompleteVar] gemmi-0.7.1/tests/main.cpp:181:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gemmi-0.7.1/tests/disulf.cpp:149:24: performance: Range variable 'path' should be declared as const reference. [iterateByValue] gemmi-0.7.1/wasm/cell.cpp:8:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] gemmi-0.7.1/wasm/gemmi.cpp:10:3: error: There is an unknown macro here somewhere. Configuration is required. If EM_ASM is a macro then please configure it. [unknownMacro] gemmi-0.7.1/wasm/mol.cpp:15:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.7.1/wasm/mol.cpp:69:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gemmi-0.7.1/wasm/mtz_fft.cpp:39:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZYX [valueFlowBailoutIncompleteVar] gemmi-0.7.1/wasm/mol.cpp:30:45: performance: Function parameter 'buf' should be passed by const reference. However it seems that 'read_structure' is a callback function. [passedByValueCallback] gemmi-0.7.1/wasm/mol.cpp:117:36: note: Function pointer used here. gemmi-0.7.1/wasm/mol.cpp:30:45: note: Function parameter 'buf' should be passed by const reference. However it seems that 'read_structure' is a callback function. gemmi-0.7.1/wasm/mol.cpp:30:80: performance: Function parameter 'format' should be passed by const reference. However it seems that 'read_structure' is a callback function. [passedByValueCallback] gemmi-0.7.1/wasm/mol.cpp:117:36: note: Function pointer used here. gemmi-0.7.1/wasm/mol.cpp:30:80: note: Function parameter 'format' should be passed by const reference. However it seems that 'read_structure' is a callback function. gemmi-0.7.1/wasm/mtz_fft.cpp:18:3: style: Class 'MtzFft' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.7.1/wasm/mtz_fft.cpp:86:15: performance: Function 'get_last_error()' should return member 'last_error_' by const reference. [returnByReference] gemmi-0.7.1/wasm/mtz_fft.cpp:34:32: style: C-style pointer casting [cstyleCast] gemmi-0.7.1/wasm/mtz_fft.cpp:34:31: portability: Casting between const char * and const float * which have an incompatible binary data representation. [invalidPointerCast] gemmi-0.7.1/wasm/mtz_fft.cpp:18:22: performance: Function parameter 'buf' should be passed by const reference. [passedByValue] gemmi-0.7.1/src/fprime.cpp:218:26: style: Variable 'kpcor_minus_relcor' can be declared as const array [constVariable] diff: head gemmi-0.7.1/prog/mixmtz.cpp:39:20: style: Variable 'indices0' is assigned a value that is never used. [unreadVariable] head gemmi-0.7.1/python/common.h:21:4: error: #error Required nanobind version >= 2.2 [preprocessorErrorDirective] head gemmi-0.7.1/src/ddl.cpp:32:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head gemmi-0.7.1/src/select.cpp:142:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.17.0 gemmi-0.7.1/third_party/sajson.h:1943:23: style: Unused private function: 'parser::pow10' [unusedPrivateFunction] head gemmi-0.7.1/third_party/sajson.h:1943:23: style: Unused private function: 'parser::pow10' [unusedPrivateFunction] gemmi-0.7.1/third_party/sajson.h:1943:23: note: Unused private function: 'parser::pow10' gemmi-0.7.1/third_party/sajson.h:1943:23: note: Unused private function: 'parser::pow10' 2.17.0 gemmi-0.7.1/third_party/sajson.h:2594:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allocator [valueFlowBailoutIncompleteVar] 2.17.0 gemmi-0.7.1/third_party/sajson.h:640:14: style: Unused private function: 'value::assert_in_bounds' [unusedPrivateFunction] head gemmi-0.7.1/third_party/sajson.h:640:14: style: Unused private function: 'value::assert_in_bounds' [unusedPrivateFunction] gemmi-0.7.1/third_party/sajson.h:640:14: note: Unused private function: 'value::assert_in_bounds' gemmi-0.7.1/third_party/sajson.h:640:14: note: Unused private function: 'value::assert_in_bounds' DONE