2024-04-24 19:32 ftp://ftp.de.debian.org/debian/pool/main/g/gemmi/gemmi_0.6.4+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=zlib --library=boost --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.49 compiler: g++ (Debian 13.2.0-23) 13.2.0 cppcheck: head 2.14.0 head-info: 94f28a2 (2024-04-24 20:47:54 +0200) count: 400 400 elapsed-time: 11.9 12.0 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 8.22015s (avg. 0.0838791s - 98 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 2.63759s (avg. 0.012742s - 207 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.89136s (avg. 0.00913702s - 207 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 1.63135s (avg. 0.00534868s - 305 result(s)) STL usage::runChecks: 0.754387s (avg. 0.00769783s - 98 result(s)) Overall time: 11.0944s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 8.23114s (avg. 0.0839913s - 98 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 2.64156s (avg. 0.0127611s - 207 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.89545s (avg. 0.00915674s - 207 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 1.62669s (avg. 0.00533342s - 305 result(s)) STL usage::runChecks: 0.7585s (avg. 0.0077398s - 98 result(s)) Overall time: 11.121s head results: gemmi-0.6.4/benchmarks/elem.cpp:43:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/elem.cpp:12:35: style: Parameter 'state' can be declared as reference to const [constParameterReference] gemmi-0.6.4/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.6.4/benchmarks/elem.cpp:53:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/elem.cpp:42:42: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/mod.cpp:58:19: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/mod.cpp:40:35: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/mod.cpp:43:7: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/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.6.4/benchmarks/niggli.cpp:60:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/niggli.cpp:27:42: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/niggli.cpp:61:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/niggli.cpp:36:56: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/niggli.cpp:62:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/niggli.cpp:44:43: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/niggli.cpp:63:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/niggli.cpp:52:43: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:33:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:50:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:59:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:71:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:85:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:94:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:126:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:135:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:144:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/benchmarks/pdb.cpp:15: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.6.4/benchmarks/pdb.cpp:163:49: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:15:45: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:22:48: style: Parameter 'state' can be declared as reference to const. However it seems that 'read_pdb_remarks' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.6.4/benchmarks/pdb.cpp:164:52: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:22:48: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:32: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.6.4/benchmarks/pdb.cpp:165:51: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:32:47: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:49: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.6.4/benchmarks/pdb.cpp:166:56: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:49:52: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:58: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.6.4/benchmarks/pdb.cpp:167:56: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:58:52: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:70: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.6.4/benchmarks/pdb.cpp:169:32: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:70:56: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:84: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.6.4/benchmarks/pdb.cpp:170:49: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:84:45: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:93: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.6.4/benchmarks/pdb.cpp:171:50: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:93:46: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:125: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.6.4/benchmarks/pdb.cpp:172:49: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:125:45: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:134: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.6.4/benchmarks/pdb.cpp:173:49: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:134:45: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:143: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.6.4/benchmarks/pdb.cpp:174:49: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/pdb.cpp:143:45: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/pdb.cpp:103:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/benchmarks/pdb.cpp:104:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/benchmarks/pdb.cpp:105:7: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/benchmarks/pdb.cpp:106:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/benchmarks/resinfo.cpp:22:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hydrogen_count [valueFlowBailoutIncompleteVar] gemmi-0.6.4/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.6.4/benchmarks/resinfo.cpp:65:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/resinfo.cpp:15:58: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/resinfo.cpp:66:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/resinfo.cpp:27:47: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/round.cpp:45:19: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/round.cpp:23:35: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/round.cpp:50:19: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/round.cpp:32:36: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/benchmarks/round.cpp:25:7: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/benchmarks/round.cpp:34:7: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/benchmarks/smat33.cpp:29:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gemmi-0.6.4/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.6.4/benchmarks/smat33.cpp:66:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/smat33.cpp:11:38: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/smat33.cpp:67:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/smat33.cpp:38:38: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/stoi.cpp:34:19: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/stoi.cpp:19:35: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/sym.cpp:60:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/sym.cpp:20:52: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/sym.cpp:62:11: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/sym.cpp:33:51: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/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.6.4/benchmarks/writecif.cpp:34:46: note: You might need to cast the function pointer here gemmi-0.6.4/benchmarks/writecif.cpp:10:41: note: Parameter 'state' can be declared as reference to const gemmi-0.6.4/docs/code/cif_cc.cpp:10:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/docs/code/cif_cc.cpp:23:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/docs/code/maybegz.cpp:9:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/docs/code/mutate.cpp:12:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Se [valueFlowBailoutIncompleteVar] gemmi-0.6.4/docs/code/newmtz.cpp:10:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.6.4/docs/code/sym.cpp:13:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable main [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/auth_label.cpp:14:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/check_conn.cpp:69:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mmcif [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/check_conn.cpp:64:7: style: The scope of the variable 'counter' can be reduced. [variableScope] gemmi-0.6.4/examples/check_symmetry.cpp:11:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/check_symmetry.cpp:41:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/check_symmetry.cpp:34:7: style: The scope of the variable 'counter' can be reduced. [variableScope] gemmi-0.6.4/examples/hello.cpp:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/hello.cpp:8:25: style: The scope of the variable 'greeted' can be reduced. [variableScope] gemmi-0.6.4/examples/with_bgl.cpp:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable el [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/with_bgl.cpp:70:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertex_index [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/with_bgl.cpp:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/with_bgl.cpp:116:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertex_index [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/with_bgl.cpp:135:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertex_index [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/with_bgl.cpp:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/with_bgl.cpp:192:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/examples/with_bgl.cpp:216:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/sprintf.cpp:47:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vsprintfcb [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mtz.cpp:54:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mtz.cpp:113:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEN [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mtz.cpp:161:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mtz.cpp:204:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indices_switched_to_original [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mtz.cpp:234:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable indices_switched_to_original [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mtz.cpp:277:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spacegroup [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/options.h:81:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namelen [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/options.h:87:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/align.cpp:194:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/align.cpp:216:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Query [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/blobs.cpp:95:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/blobs.cpp:201:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/cifmod.h:40:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Loop [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/cif2json.cpp:64:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/cif2json.cpp:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/cif2mtz.cpp:108:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/cif2mtz.cpp:166:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataset_id [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/cif2mtz.cpp:184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PrintSpec [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/cif2mtz.cpp:93:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/contact.cpp:100:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/contact.cpp:168:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cov [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/histogram.h:28:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/contents.cpp:48:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chains [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/contents.cpp:88:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/contents.cpp:209:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PeptideL [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/contents.cpp:257:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Select [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/convert.cpp:166:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable badbit [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/convert.cpp:181:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/convert.cpp:406:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FormatIn [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/convert.cpp:268:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/diff.cpp:86:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OnlyCategories [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/diff.cpp:90:22: style: Variable 'di' can be declared as reference to const [constVariableReference] gemmi-0.6.4/prog/diff.cpp:42:10: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/ecalc.cpp:64:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LabelF [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/fprime.cpp:36:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Energy [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/grep.cpp:133:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/grep.cpp:197:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/grep.cpp:224:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/grep.cpp:423:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/grep.cpp:476:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxCount [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/grep.cpp:241:11: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/grep.cpp:344:3: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/grep.cpp:389:11: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/h.cpp:83:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReAddButWater [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/h.cpp:141:18: style: The if condition is the same as the previous if condition [duplicateCondition] gemmi-0.6.4/prog/h.cpp:138:18: note: First condition gemmi-0.6.4/prog/h.cpp:141:18: note: Second condition gemmi-0.6.4/prog/json2cif.cpp:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/main.cpp:94:16: style: Variable 'sub' can be declared as reference to const [constVariableReference] gemmi-0.6.4/prog/main.cpp:102:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/map.cpp:173:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Reorder [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/map2sf.cpp:55:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/map2sf.cpp:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/map2sf.cpp:83:27: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] gemmi-0.6.4/prog/timer.h:20:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/mapcoef.cpp:137:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/timer.h:8:3: style: Class 'Timer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.6.4/prog/mask.cpp:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/merge.cpp:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/merge.cpp:76:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unmerged [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/merge.cpp:102:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/merge.cpp:137:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/merge.cpp:299:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Compare [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/merge.cpp:194:42: warning: Either the condition 'r' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] gemmi-0.6.4/prog/merge.cpp:198:12: note: Assuming that condition 'r' is not redundant gemmi-0.6.4/prog/merge.cpp:194:42: note: Null pointer dereference gemmi-0.6.4/prog/merge.cpp:203:35: warning: Possible null pointer dereference: r [nullPointer] gemmi-0.6.4/prog/merge.cpp:246:33: note: Calling function 'print_reflection', 2nd argument 'nullptr' value is 0 gemmi-0.6.4/prog/merge.cpp:203:35: note: Null pointer dereference gemmi-0.6.4/prog/mixmtz.cpp:70:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/mixmtz.cpp:32:3: style: Struct 'InputSpec' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.6.4/prog/mixmtz.cpp:65:26: style: The scope of the variable 'input_list' can be reduced. [variableScope] gemmi-0.6.4/prog/mixmtz.cpp:40:29: style: Variable 'indices0' is assigned a value that is never used. [unreadVariable] gemmi-0.6.4/prog/mondiff.cpp:154:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Both [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/mondiff.cpp:214:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bond [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/mondiff.cpp:185:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/monlib_opt.cpp:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/monlib_opt.cpp:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/mtz.cpp:545:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/mtz.cpp:606:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/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.6.4/prog/options.h:56:28: note: Parent function 'Arg::AsuChoice' gemmi-0.6.4/prog/mtz.cpp:24:28: note: Derived function 'MtzArg::AsuChoice' gemmi-0.6.4/prog/mtz.cpp:498:0: portability: %g in format string (no. 3) requires 'double' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_float] gemmi-0.6.4/prog/mtz2cif.cpp:116:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PrintSpec [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/options.cpp:299: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.6.4/prog/prep.cpp:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/reindex.cpp:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hkl [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/residues.cpp:54:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable altloc [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/residues.cpp:175:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/residues.cpp:228:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/residues.cpp:252:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Polymer [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/residues.cpp:318:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FormatIn [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/residues.cpp:127:60: style: Parameter 'p' can be declared as reference to const [constParameterReference] gemmi-0.6.4/prog/residues.cpp:52:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/rmsz.cpp:101:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Different [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/rmsz.cpp:216:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cutoff [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/rmsz.cpp:94:22: error: Uninitialized variable: buf [uninitvar] gemmi-0.6.4/prog/sf2map.cpp:64:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sf2map.cpp:107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sf2map.cpp:69:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/sfcalc.cpp:56:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_OK [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sfcalc.cpp:200:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sfcalc.cpp:237:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sfcalc.cpp:403:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sfcalc.cpp:428:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sfcalc.cpp:724:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable element [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sfcalc.cpp:832:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sfcalc.cpp:523:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CifFp [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sfcalc.cpp:158:3: portability: %f in format string (no. 4) requires 'double' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_float] gemmi-0.6.4/prog/sfcalc.cpp:350:7: portability: %f in format string (no. 4) requires 'double' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_float] gemmi-0.6.4/prog/sfcalc.cpp:350:7: portability: %f in format string (no. 5) requires 'double' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_float] gemmi-0.6.4/prog/sfcalc.cpp:320:47: style: Variable 'hv' can be declared as reference to const [constVariableReference] gemmi-0.6.4/prog/sfcalc.cpp:499:23: style: Variable 'col' can be declared as pointer to const [constVariablePointer] gemmi-0.6.4/prog/sg.cpp:43:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rot [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/sg.cpp:133:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/tags.cpp:82:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/tags.cpp:161:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/tags.cpp:260:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/tags.cpp:299:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Full [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/tags.cpp:182:17: style: The scope of the variable 'st' can be reduced. [variableScope] gemmi-0.6.4/prog/validate.cpp:106:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pair [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/validate.cpp:158:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Loop [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/validate.cpp:174:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/validate.cpp:224:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Quiet [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/validate_mon.cpp:33:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/validate_mon.cpp:212:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/validate_mon.cpp:28:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/prog/wcn.cpp:99:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/wcn.cpp:231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/wcn.cpp:326:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FromFile [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/wcn.cpp:348:10: style: The scope of the variable 'sum_cc' can be reduced. [variableScope] gemmi-0.6.4/prog/wcn.cpp:349:10: style: The scope of the variable 'sum_rmad' can be reduced. [variableScope] gemmi-0.6.4/prog/wcn.cpp:350:10: style: The scope of the variable 'sum_rank_cc' can be reduced. [variableScope] gemmi-0.6.4/prog/xds2mtz.cpp:60:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] gemmi-0.6.4/prog/xds2mtz.cpp:169:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/python/common.h:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pybind11 [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/common.h:78:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pybind11 [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/align.cpp:17:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable score [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/align.cpp:99:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clear_sequences [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/ccp4.cpp:36:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Full [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/ccp4.cpp:18:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grid [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/chemcomp.cpp:13:1: error: There is an unknown macro here somewhere. Configuration is required. If PYBIND11_MAKE_OPAQUE is a macro then please configure it. [unknownMacro] gemmi-0.6.4/python/cif.cpp:19:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/cif.cpp:68:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Simple [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/cif.cpp:134:18: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/cif.cpp:368:39: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/cif.cpp:422:39: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/cif.cpp:433:31: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/cif.cpp:369:63: performance: Function parameter 'value' should be passed by const reference. [passedByValue] gemmi-0.6.4/python/cif.cpp:426:67: performance: Function parameter 'value' should be passed by const reference. [passedByValue] gemmi-0.6.4/python/cif.cpp:430:40: performance: Function parameter 'value' should be passed by const reference. [passedByValue] gemmi-0.6.4/python/cif.cpp:101:38: style: Parameter 'd' can be declared as reference to const [constParameterReference] gemmi-0.6.4/python/cif.cpp:190:35: style: Parameter 'self' can be declared as reference to const [constParameterReference] gemmi-0.6.4/python/cif.cpp:96:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gemmi-0.6.4/python/cif.cpp:108:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] gemmi-0.6.4/python/cif.cpp:37:9: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/python/custom.cpp:7:29: style: Parameter 'm' can be declared as reference to const [constParameterReference] gemmi-0.6.4/python/elem.cpp:37:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set_coefs [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/gemmi.cpp:44:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_pdb_code [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/gemmi.cpp:148:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEMMI_VERSION [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/gemmi.cpp:88:22: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/gemmi.cpp:113:22: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:190:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/grid.cpp:163:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interpolate_value [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/grid.cpp:101:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set_size [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/grid.cpp:35:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/grid.cpp:163:21: style: C-style reference casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:165:21: style: C-style reference casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:179:26: style: C-style reference casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:181:26: style: C-style reference casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:183:32: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:183:40: style: C-style reference casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:130:27: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:136:27: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/grid.cpp:159:63: style: Parameter 'grid' can be declared as reference to const [constParameterReference] gemmi-0.6.4/python/grid.cpp:40:31: style: Parameter 'self' can be declared as reference to const [constParameterReference] gemmi-0.6.4/python/hkl.cpp:44:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/hkl.cpp:210:45: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:216:29: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:222:29: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:228:29: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:234:29: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:292:23: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:311:20: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:322:20: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:354:29: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:355:29: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/hkl.cpp:362:23: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/meta.h:11:1: error: There is an unknown macro here somewhere. Configuration is required. If PYBIND11_MAKE_OPAQUE is a macro then please configure it. [unknownMacro] gemmi-0.6.4/python/mol.cpp:19:1: error: There is an unknown macro here somewhere. Configuration is required. If PYBIND11_MAKE_OPAQUE is a macro then please configure it. [unknownMacro] gemmi-0.6.4/python/monlib.cpp:16:1: error: There is an unknown macro here somewhere. Configuration is required. If PYBIND11_MAKE_OPAQUE is a macro then please configure it. [unknownMacro] gemmi-0.6.4/python/mtz.cpp:15:1: error: There is an unknown macro here somewhere. Configuration is required. If PYBIND11_MAKE_OPAQUE is a macro then please configure it. [unknownMacro] gemmi-0.6.4/python/read.cpp:23:1: error: There is an unknown macro here somewhere. Configuration is required. If PYBIND11_MAKE_OPAQUE is a macro then please configure it. [unknownMacro] gemmi-0.6.4/python/recgrid.cpp:40:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XYZ [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/recgrid.cpp:208:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/recgrid.cpp:144:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable half_l [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/recgrid.cpp:60:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hkl [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/recgrid.cpp:27:16: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/recgrid.cpp:179:17: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/recgrid.cpp:100:45: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/recgrid.cpp:106:29: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/scaling.cpp:12:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adp_symmetry_constraints [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/scaling.cpp:34:23: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/search.cpp:13:1: error: There is an unknown macro here somewhere. Configuration is required. If PYBIND11_MAKE_OPAQUE is a macro then please configure it. [unknownMacro] gemmi-0.6.4/python/sf.cpp:67:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/sf.cpp:36:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grid [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/sf.cpp:21:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addends [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/sym.cpp:125:16: debug: Failed to instantiate template "miller_function". The checking continues anyway. [templateInstantiation] gemmi-0.6.4/python/miller_a.h:13:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pybind11 [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/sym.cpp:16:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Triclinic [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/miller_a.h:12:15: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/python/topo.cpp:15:1: error: There is an unknown macro here somewhere. Configuration is required. If PYBIND11_MAKE_OPAQUE is a macro then please configure it. [unknownMacro] gemmi-0.6.4/python/unitcell.cpp:319:16: debug: Failed to instantiate template "miller_function". The checking continues anyway. [templateInstantiation] gemmi-0.6.4/python/unitcell.cpp:103:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/unitcell.cpp:92:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable minimum [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/unitcell.cpp:49:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u11 [valueFlowBailoutIncompleteVar] gemmi-0.6.4/python/unitcell.cpp:154:40: style: C-style reference casting [cstyleCast] gemmi-0.6.4/python/unitcell.cpp:155:39: style: C-style reference casting [cstyleCast] gemmi-0.6.4/python/unitcell.cpp:64:34: style: C-style reference casting [cstyleCast] gemmi-0.6.4/python/unitcell.cpp:28:78: style: Parameter 'm' can be declared as const array. However it seems that 'mat33_from_list' is a callback function, if 'm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gemmi-0.6.4/python/unitcell.cpp:169:22: note: You might need to cast the function pointer here gemmi-0.6.4/python/unitcell.cpp:28:78: note: Parameter 'm' can be declared as const array gemmi-0.6.4/python/unitcell.cpp:114:59: style: Parameter 'v' can be declared as const array [constParameterReference] gemmi-0.6.4/python/write.cpp:118:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable make_pdb_headers [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/align.cpp:37:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Polymer [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/align.cpp:36:16: style: Variable 'ent' can be declared as reference to const [constVariableReference] gemmi-0.6.4/src/align.cpp:39:15: style: Variable 'ptypes' can be declared as const array [constVariable] gemmi-0.6.4/src/assembly.cpp:81:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/assembly.cpp:158:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dup [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/assembly.cpp:211:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Same [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/assembly.cpp:406:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Short [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/assembly.cpp:427:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/assembly.cpp:49:13: style: Variable 'cra' can be declared as reference to const [constVariableReference] gemmi-0.6.4/src/assembly.cpp:445:42: style: Parameter 'r' can be declared as reference to const [constParameterReference] gemmi-0.6.4/src/calculate.cpp:11:10: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/crd.cpp:511:72: error: There is an unknown macro here somewhere. Configuration is required. If GEMMI_VERSION is a macro then please configure it. [unknownMacro] gemmi-0.6.4/src/ddl.cpp:21:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_digit [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:29:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:77:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:158:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:259:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable major_version [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:286:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:373:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:388:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:425:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pair [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:468:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dict_name [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:477:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Frame [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:589:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pair [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:664:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable major_version [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/ddl.cpp:57:3: style: Class 'Validator1' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gemmi-0.6.4/src/ddl.cpp:434:17: style: The scope of the variable 'first_missing' can be reduced. [variableScope] gemmi-0.6.4/src/ddl.cpp:86:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/ddl.cpp:158:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/ddl.cpp:161:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/ddl.cpp:196:64: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/ddl.cpp:521:17: style: Unused variable: prev_group [unusedVariable] gemmi-0.6.4/src/mmcif.cpp:72:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mmcif.cpp:165:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mmcif.cpp:206:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Different [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mmcif.cpp:298:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mmcif.cpp:333:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mmcif.cpp:401:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mmcif.cpp:443:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subchain [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mmcif.cpp:487:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mmcif [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mmcif.cpp:473:40: style: Parameter 'meta' can be declared as reference to const [constParameterReference] gemmi-0.6.4/src/mmcif.cpp:474:21: style: Variable 'crystal_info' can be declared as reference to const [constVariableReference] gemmi-0.6.4/src/mmcif.cpp:112:12: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/mmcif.cpp:170:35: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/mmcif.cpp:476:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/monlib.cpp:24:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chirs [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/monlib.cpp:169:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/monlib.cpp:245:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/monlib.cpp:451:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable links [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/monlib.cpp:475:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ion [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/monlib.cpp:490:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monomers [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/monlib.cpp:523:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monomers [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/mtz2cif.cpp:296: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.6.4/src/polyheur.cpp:9:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/polyheur.cpp:97:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/polyheur.cpp:117:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/polyheur.cpp:143:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/polyheur.cpp:206:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unknown [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/polyheur.cpp:233:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entity_type [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/polyheur.cpp:291:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/polyheur.cpp:342:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/polyheur.cpp:150:21: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] gemmi-0.6.4/src/resinfo.cpp:14:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AA [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/resinfo.cpp:422:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/riding_h.cpp:127:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dummy [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/riding_h.cpp:420:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/riding_h.cpp:277:21: warning: Either the condition '!ang1' is redundant or there is possible null pointer dereference: ang1. [nullPointerRedundantCheck] gemmi-0.6.4/src/riding_h.cpp:271:9: note: Assuming that condition '!ang1' is not redundant gemmi-0.6.4/src/riding_h.cpp:277:21: note: Null pointer dereference gemmi-0.6.4/src/riding_h.cpp:278:21: warning: Either the condition '!ang2' is redundant or there is possible null pointer dereference: ang2. [nullPointerRedundantCheck] gemmi-0.6.4/src/riding_h.cpp:271:18: note: Assuming that condition '!ang2' is not redundant gemmi-0.6.4/src/riding_h.cpp:278:21: note: Null pointer dereference gemmi-0.6.4/src/riding_h.cpp:279:21: warning: Either the condition '!ang3' is redundant or there is possible null pointer dereference: ang3. [nullPointerRedundantCheck] gemmi-0.6.4/src/riding_h.cpp:271:27: note: Assuming that condition '!ang3' is not redundant gemmi-0.6.4/src/riding_h.cpp:279:21: note: Null pointer dereference gemmi-0.6.4/src/riding_h.cpp:191:66: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/riding_h.cpp:378:12: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/to_mmcif.cpp:98:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoHydrogen [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/to_mmcif.cpp:222:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CompleteIcosahedral [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/to_mmcif.cpp:504:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Polymer [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/to_pdb.cpp:48:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Branched [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/to_pdb.cpp:178:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chains [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/to_pdb.cpp:284:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Polymer [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/to_pdb.cpp:361:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chains [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/to_pdb.cpp:335:7: style: The if condition is the same as the previous if condition [duplicateCondition] gemmi-0.6.4/src/to_pdb.cpp:317:7: note: First condition gemmi-0.6.4/src/to_pdb.cpp:335:7: note: Second condition gemmi-0.6.4/src/to_pdb.cpp:318:17: style: The scope of the variable 'months' can be reduced. [variableScope] gemmi-0.6.4/src/to_pdb.cpp:646:33: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/topo.cpp:16:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Null [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:121:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subchain_name [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:207:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Null [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:348:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable only_bonds [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:447:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group_idx [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:582:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chain_infos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:603:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bonds [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:657:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable atom [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:710:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chain_infos [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:789:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:808:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable calc_flag [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:907:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Shift [valueFlowBailoutIncompleteVar] gemmi-0.6.4/src/topo.cpp:195:57: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/topo.cpp:210:57: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/topo.cpp:261:60: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/topo.cpp:272:60: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] gemmi-0.6.4/src/xds_ascii.cpp:25:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wavelength [valueFlowBailoutIncompleteVar] gemmi-0.6.4/tests/cif.cpp:22:16: style: Condition 'cit==it' is always true [knownConditionTrueFalse] gemmi-0.6.4/tests/cif.cpp:21:7: note: cit is assigned 'it' here. gemmi-0.6.4/tests/cif.cpp:22:16: note: Condition 'cit==it' is always true gemmi-0.6.4/tests/cif.cpp:23:16: style: Condition 'cit!=it' is always false [knownConditionTrueFalse] gemmi-0.6.4/tests/cif.cpp:21:7: note: cit is assigned 'it' here. gemmi-0.6.4/tests/cif.cpp:23:16: note: Condition 'cit!=it' is always false gemmi-0.6.4/tests/cif.cpp:21:7: style: Variable 'cit' is reassigned a value before the old one has been used. [redundantAssignment] gemmi-0.6.4/tests/cif.cpp:20:7: note: cit is assigned gemmi-0.6.4/tests/cif.cpp:21:7: note: cit is overwritten gemmi-0.6.4/tests/disulf.cpp:50:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable atom [valueFlowBailoutIncompleteVar] gemmi-0.6.4/tests/disulf.cpp:145:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gemmi-0.6.4/tests/disulf.cpp:150:24: performance: Range variable 'path' should be declared as const reference. [iterateByValue] gemmi-0.6.4/tests/main.cpp:15:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gemmi-0.6.4/tests/main.cpp:30:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] gemmi-0.6.4/tests/main.cpp:153:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mg [valueFlowBailoutIncompleteVar] gemmi-0.6.4/tests/main.cpp:181:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gemmi-0.6.4/wasm/mtz/mtz_fft.cpp:43:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gemmi [valueFlowBailoutIncompleteVar] gemmi-0.6.4/wasm/mtz/mtz_fft.cpp:110:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] gemmi-0.6.4/wasm/mtz/mtz_fft.cpp:93:15: performance: Function 'get_last_error()' should return member 'last_error_' by const reference. [returnByReference] gemmi-0.6.4/wasm/mtz/mtz_fft.cpp:22:13: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/wasm/mtz/mtz_fft.cpp:40:32: style: C-style pointer casting [cstyleCast] gemmi-0.6.4/wasm/mtz/mtz_fft.cpp:40:31: portability: Casting between char * and const float * which have an incompatible binary data representation. [invalidPointerCast] diff: DONE