2025-07-07 00:32 ftp://ftp.de.debian.org/debian/pool/main/a/autodocksuite/autodocksuite_4.2.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 0eb4dd8 (2025-07-06 21:35:35 +0200) count: 880 877 elapsed-time: 47.2 48.2 head-timing-info: old-timing-info: head results: src/autodock/alea.cc:11:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] src/autodock/structs.h:281:5: warning: Member variable 'nonbond_param::nonbond_type' is not initialized in the constructor. [uninitMemberVar] src/autodock/structs.h:281:5: warning: Member variable 'nonbond_param::desolv' is not initialized in the constructor. [uninitMemberVar] src/autodock/structs.h:281:5: warning: Member variable 'nonbond_param::q1q2' is not initialized in the constructor. [uninitMemberVar] src/autodock/structs.h:281:5: warning: Member variable 'nonbond_param::t1' is not initialized in the constructor. [uninitMemberVar] src/autodock/structs.h:281:5: warning: Member variable 'nonbond_param::t2' is not initialized in the constructor. [uninitMemberVar] src/autodock/structs.h:281:5: warning: Member variable 'nonbond_param::is_hbond' is not initialized in the constructor. [uninitMemberVar] src/autodock/atom_parameter_manager.cc:50:33: style: C-style pointer casting [cstyleCast] src/autodock/bestpdb.cc:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] src/autodock/banner.cc:95:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] src/autodock/calculateEnergies.cc:268:16: style: Variable 'eb->deltaG' is reassigned a value before the old one has been used. [redundantAssignment] src/autodock/calculateEnergies.cc:255:24: note: eb->deltaG is assigned src/autodock/calculateEnergies.cc:268:16: note: eb->deltaG is overwritten src/autodock/calculateEnergies.cc:268:16: style: Variable 'eb->deltaG' is reassigned a value before the old one has been used. [redundantAssignment] src/autodock/calculateEnergies.cc:263:24: note: eb->deltaG is assigned src/autodock/calculateEnergies.cc:268:16: note: eb->deltaG is overwritten src/autodock/bestpdb.cc:159:5: warning: Buffer 'off' is too small, the function 'print_avsfld' expects a bigger buffer in 5th argument [argumentSize] src/autodock/bestpdb.cc:159:5: note: Function 'print_avsfld' is called src/autodock/print_avsfld.h:36:32: note: Declaration of 5th function argument. src/autodock/bestpdb.cc:67:5: note: Passing buffer 'off' to function that is declared here src/autodock/bestpdb.cc:159:5: note: Buffer 'off' is too small, the function 'print_avsfld' expects a bigger buffer in 5th argument src/autodock/bestpdb.cc:71:5: style: The scope of the variable 'i1' can be reduced. [variableScope] src/autodock/bestpdb.cc:59:13: style: Variable 'j' is assigned a value that is never used. [unreadVariable] src/autodock/bestpdb.cc:60:13: style: Variable 'k' is assigned a value that is never used. [unreadVariable] src/autodock/bestpdb.cc:63:21: style: Variable 'c' is assigned a value that is never used. [unreadVariable] src/autodock/bestpdb.cc:64:10: style: Variable 'kmax' is assigned a value that is never used. [unreadVariable] src/autodock/bestpdb.cc:70:8: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] src/autodock/bestpdb.cc:71:8: style: Variable 'i1' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:111:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] src/autodock/center_ligand.cc:65:6: style: The scope of the variable 'origin' can be reduced. [variableScope] src/autodock/rep.h:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mytype [valueFlowBailoutIncompleteVar] src/autodock/eval.h:216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] src/autodock/eval.h:257:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] src/autodock/call_cpso.cc:84:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_max [valueFlowBailoutIncompleteVar] src/autodock/call_ls.cc:133:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mol [valueFlowBailoutIncompleteVar] src/autodock/call_gs.cc:66:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mol [valueFlowBailoutIncompleteVar] src/autodock/rep.h:244:24: warning: Member variable 'Representation::normalized' is not initialized in the constructor. [uninitMemberVar] src/autodock/rep.h:250:24: warning: Member variable 'Representation::mytype' is not initialized in the constructor. [uninitMemberVar] src/autodock/rep.h:250:24: warning: Member variable 'Representation::normalized' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::natom' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::Nnb' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::Nnb_array' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::info' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::map' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::B_calcIntElec' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::B_isGaussTorCon' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::B_ShowTorE' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::US_TorE' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::US_torProfile' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::type' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::tlist' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::nonbondlist' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::charge' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::abs_charge' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::qsp_abs_charge' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::crd' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::ptr_ad_energy_tables' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::B_isTorConstrained' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::mol' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::ignore_inter' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::B_include_1_4_interactions' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::scale_1_4' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::scale_eintermol' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::unbound_internal_FE' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::B_compute_intermol_energy' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::B_use_non_bond_cutoff' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::B_have_flexible_residues' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::true_ligand_atoms' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::outlev' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::stateNow' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::crdpdb' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::peratomE' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::group_energy' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:147:14: warning: Member variable 'Eval::logFile' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:437:19: warning: Member variable 'Phenotype::modified' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:447:19: warning: Member variable 'Phenotype::modified' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:479:20: warning: Member variable 'Individual::mol' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:479:20: warning: Member variable 'Individual::serial' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:484:20: warning: Member variable 'Individual::mol' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:484:20: warning: Member variable 'Individual::serial' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:492:20: warning: Member variable 'Individual::mol' is not initialized in the copy constructor. [uninitMemberVar] src/autodock/support.h:492:20: warning: Member variable 'Individual::age' is not initialized in the copy constructor. [uninitMemberVar] src/autodock/support.h:492:20: warning: Member variable 'Individual::serial' is not initialized in the copy constructor. [uninitMemberVar] src/autodock/support.h:498:20: warning: Member variable 'Individual::mol' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:498:20: warning: Member variable 'Individual::age' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:498:20: warning: Member variable 'Individual::serial' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:508:32: warning: Member variable 'Individual::serial' is not assigned a value in 'Individual::operator='. [operatorEqVarError] src/autodock/support.h:527:20: warning: Member variable 'Population::best_e' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:527:20: warning: Member variable 'Population::best_i' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:527:20: warning: Member variable 'Population::nevals_last_pop_stats' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:539:20: warning: Member variable 'Population::best_e' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:539:20: warning: Member variable 'Population::best_i' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:539:20: warning: Member variable 'Population::nevals_last_pop_stats' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:569:20: warning: Member variable 'Population::lhb' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:569:20: warning: Member variable 'Population::best_e' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:569:20: warning: Member variable 'Population::best_i' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:569:20: warning: Member variable 'Population::nevals_last_pop_stats' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:549:20: warning: Member variable 'Population::lhb' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:549:20: warning: Member variable 'Population::best_e' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:549:20: warning: Member variable 'Population::best_i' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.h:549:20: warning: Member variable 'Population::nevals_last_pop_stats' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.h:187:22: warning: Member variable 'Local_Search::ls_count' is not initialized in the constructor. [uninitMemberVar] src/autodock/eval.h:267:27: style:inconclusive: Technically the member function 'Eval::evals' can be const. [functionConst] src/autodock/eval.h:141:20: note: Technically the member function 'Eval::evals' can be const. src/autodock/eval.h:267:27: note: Technically the member function 'Eval::evals' can be const. src/autodock/ls.h:208:4: warning: Class 'Solis_Wets_Base' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] src/autodock/ls.h:208:4: warning: Class 'Solis_Wets_Base' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] src/autodock/ls.h:281:4: warning: Class 'Pseudo_Solis_Wets' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] src/autodock/ls.h:281:4: warning: Class 'Pseudo_Solis_Wets' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] src/autodock/rep.h:110:7: style: Class 'IntVector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/autodock/rep.h:142:7: style: Class 'RealVector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/autodock/rep.h:199:7: style: Class 'ConstrainedRealVector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/autodock/rep.h:225:7: style: Class 'BitVector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/autodock/support.h:302:7: style: Class 'Phenotype' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/autodock/support.h:338:7: style: Class 'Individual' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/autodock/support.h:372:7: style: Class 'Population' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/autodock/rep.h:105:19: style: The function 'internals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:95:27: note: Virtual function in base class src/autodock/rep.h:105:19: note: Function in derived class src/autodock/rep.h:106:23: style: The function 'clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:94:31: note: Virtual function in base class src/autodock/rep.h:106:23: note: Function in derived class src/autodock/rep.h:114:8: style: The destructor '~IntVector' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:82:16: note: Virtual destructor in base class src/autodock/rep.h:114:8: note: Destructor in derived class src/autodock/rep.h:115:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:89:20: note: Virtual function in base class src/autodock/rep.h:115:12: note: Function in derived class src/autodock/rep.h:116:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:90:20: note: Virtual function in base class src/autodock/rep.h:116:12: note: Function in derived class src/autodock/rep.h:117:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:91:20: note: Virtual function in base class src/autodock/rep.h:117:12: note: Function in derived class src/autodock/rep.h:118:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:92:20: note: Virtual function in base class src/autodock/rep.h:118:12: note: Function in derived class src/autodock/rep.h:119:23: style: The function 'operator=' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:83:31: note: Virtual function in base class src/autodock/rep.h:119:23: note: Function in derived class src/autodock/rep.h:120:21: style: The function 'gene' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:93:29: note: Virtual function in base class src/autodock/rep.h:120:21: note: Function in derived class src/autodock/rep.h:130:19: style: The function 'internals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:95:27: note: Virtual function in base class src/autodock/rep.h:130:19: note: Function in derived class src/autodock/rep.h:131:23: style: The function 'clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:94:31: note: Virtual function in base class src/autodock/rep.h:131:23: note: Function in derived class src/autodock/rep.h:151:8: style: The destructor '~RealVector' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:82:16: note: Virtual destructor in base class src/autodock/rep.h:151:8: note: Destructor in derived class src/autodock/rep.h:152:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:89:20: note: Virtual function in base class src/autodock/rep.h:152:12: note: Function in derived class src/autodock/rep.h:153:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:90:20: note: Virtual function in base class src/autodock/rep.h:153:12: note: Function in derived class src/autodock/rep.h:155:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:92:20: note: Virtual function in base class src/autodock/rep.h:155:12: note: Function in derived class src/autodock/rep.h:156:23: style: The function 'operator=' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:83:31: note: Virtual function in base class src/autodock/rep.h:156:23: note: Function in derived class src/autodock/rep.h:179:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:91:20: note: Virtual function in base class src/autodock/rep.h:179:12: note: Function in derived class src/autodock/rep.h:180:21: style: The function 'gene' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:93:29: note: Virtual function in base class src/autodock/rep.h:180:21: note: Function in derived class src/autodock/rep.h:193:19: style: The function 'internals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:95:27: note: Virtual function in base class src/autodock/rep.h:193:19: note: Function in derived class src/autodock/rep.h:194:23: style: The function 'clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:94:31: note: Virtual function in base class src/autodock/rep.h:194:23: note: Function in derived class src/autodock/rep.h:203:8: style: The destructor '~ConstrainedRealVector' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:82:16: note: Virtual destructor in base class src/autodock/rep.h:203:8: note: Destructor in derived class src/autodock/rep.h:204:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:89:20: note: Virtual function in base class src/autodock/rep.h:204:12: note: Function in derived class src/autodock/rep.h:205:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:90:20: note: Virtual function in base class src/autodock/rep.h:205:12: note: Function in derived class src/autodock/rep.h:206:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:91:20: note: Virtual function in base class src/autodock/rep.h:206:12: note: Function in derived class src/autodock/rep.h:207:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:92:20: note: Virtual function in base class src/autodock/rep.h:207:12: note: Function in derived class src/autodock/rep.h:209:23: style: The function 'operator=' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:83:31: note: Virtual function in base class src/autodock/rep.h:209:23: note: Function in derived class src/autodock/rep.h:210:21: style: The function 'gene' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:93:29: note: Virtual function in base class src/autodock/rep.h:210:21: note: Function in derived class src/autodock/rep.h:220:19: style: The function 'internals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:95:27: note: Virtual function in base class src/autodock/rep.h:220:19: note: Function in derived class src/autodock/rep.h:221:23: style: The function 'clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:94:31: note: Virtual function in base class src/autodock/rep.h:221:23: note: Function in derived class src/autodock/rep.h:229:8: style: The destructor '~BitVector' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:82:16: note: Virtual destructor in base class src/autodock/rep.h:229:8: note: Destructor in derived class src/autodock/rep.h:230:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:89:20: note: Virtual function in base class src/autodock/rep.h:230:12: note: Function in derived class src/autodock/rep.h:231:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:90:20: note: Virtual function in base class src/autodock/rep.h:231:12: note: Function in derived class src/autodock/rep.h:232:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:91:20: note: Virtual function in base class src/autodock/rep.h:232:12: note: Function in derived class src/autodock/rep.h:234:12: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:92:20: note: Virtual function in base class src/autodock/rep.h:234:12: note: Function in derived class src/autodock/rep.h:235:23: style: The function 'operator=' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:83:31: note: Virtual function in base class src/autodock/rep.h:235:23: note: Function in derived class src/autodock/rep.h:237:21: style: The function 'gene' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/rep.h:93:29: note: Virtual function in base class src/autodock/rep.h:237:21: note: Function in derived class src/autodock/ls.h:80:8: style: The destructor '~Pattern_Search' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:48:16: note: Virtual destructor in base class src/autodock/ls.h:80:8: note: Destructor in derived class src/autodock/ls.h:81:12: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:49:20: note: Virtual function in base class src/autodock/ls.h:81:12: note: Function in derived class src/autodock/ls.h:82:14: style: The function 'shortname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:50:22: note: Virtual function in base class src/autodock/ls.h:82:14: note: Function in derived class src/autodock/ls.h:83:14: style: The function 'longname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:51:22: note: Virtual function in base class src/autodock/ls.h:83:14: note: Function in derived class src/autodock/ls.h:84:11: style: The function 'terminate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:52:19: note: Virtual function in base class src/autodock/ls.h:84:11: note: Function in derived class src/autodock/ls.h:85:11: style: The function 'search' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:53:19: note: Virtual function in base class src/autodock/ls.h:85:11: note: Function in derived class src/autodock/ls.h:108:16: style: The destructor '~Solis_Wets_Base' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:48:16: note: Virtual destructor in base class src/autodock/ls.h:108:16: note: Destructor in derived class src/autodock/ls.h:111:20: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:49:20: note: Virtual function in base class src/autodock/ls.h:111:20: note: Function in derived class src/autodock/ls.h:112:19: style: The function 'terminate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:52:19: note: Virtual function in base class src/autodock/ls.h:112:19: note: Function in derived class src/autodock/ls.h:113:11: style: The function 'search' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:53:19: note: Virtual function in base class src/autodock/ls.h:113:11: note: Function in derived class src/autodock/ls.h:124:16: style: The destructor '~Solis_Wets' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:108:16: note: Virtual destructor in base class src/autodock/ls.h:124:16: note: Destructor in derived class src/autodock/ls.h:125:22: style: The function 'gen_deviates' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:109:22: note: Virtual function in base class src/autodock/ls.h:125:22: note: Function in derived class src/autodock/ls.h:126:13: style: The function 'SW' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:110:21: note: Virtual function in base class src/autodock/ls.h:126:13: note: Function in derived class src/autodock/ls.h:127:14: style: The function 'shortname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:50:22: note: Virtual function in base class src/autodock/ls.h:127:14: note: Function in derived class src/autodock/ls.h:128:14: style: The function 'longname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:51:22: note: Virtual function in base class src/autodock/ls.h:128:14: note: Function in derived class src/autodock/ls.h:141:16: style: The destructor '~Pseudo_Solis_Wets' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:108:16: note: Virtual destructor in base class src/autodock/ls.h:141:16: note: Destructor in derived class src/autodock/ls.h:142:22: style: The function 'gen_deviates' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:109:22: note: Virtual function in base class src/autodock/ls.h:142:22: note: Function in derived class src/autodock/ls.h:143:13: style: The function 'SW' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:110:21: note: Virtual function in base class src/autodock/ls.h:143:13: note: Function in derived class src/autodock/ls.h:144:14: style: The function 'shortname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:50:22: note: Virtual function in base class src/autodock/ls.h:144:14: note: Function in derived class src/autodock/ls.h:145:14: style: The function 'longname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:51:22: note: Virtual function in base class src/autodock/ls.h:145:14: note: Function in derived class src/autodock/ls.h:153:8: style: The destructor '~Solis_Wets1' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:124:16: note: Virtual destructor in base class src/autodock/ls.h:153:8: note: Destructor in derived class src/autodock/ls.h:154:14: style: The function 'gen_deviates' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:125:22: note: Virtual function in base class src/autodock/ls.h:154:14: note: Function in derived class src/autodock/ls.h:162:8: style: The destructor '~Solis_Wets2' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:124:16: note: Virtual destructor in base class src/autodock/ls.h:162:8: note: Destructor in derived class src/autodock/ls.h:163:14: style: The function 'gen_deviates' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:125:22: note: Virtual function in base class src/autodock/ls.h:163:14: note: Function in derived class src/autodock/ls.h:172:8: style: The destructor '~Pseudo_Solis_Wets1' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:141:16: note: Virtual destructor in base class src/autodock/ls.h:172:8: note: Destructor in derived class src/autodock/ls.h:173:14: style: The function 'gen_deviates' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:142:22: note: Virtual function in base class src/autodock/ls.h:173:14: note: Function in derived class src/autodock/ls.h:182:8: style: The destructor '~Pseudo_Solis_Wets2' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:141:16: note: Virtual destructor in base class src/autodock/ls.h:182:8: note: Destructor in derived class src/autodock/ls.h:183:14: style: The function 'gen_deviates' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/ls.h:142:22: note: Virtual function in base class src/autodock/ls.h:183:14: note: Function in derived class src/autodock/support.h:407:17: style: C-style pointer casting [cstyleCast] src/autodock/support.h:439:19: style: C-style pointer casting [cstyleCast] src/autodock/support.h:450:19: style: C-style pointer casting [cstyleCast] src/autodock/eval.h:161:25: style:inconclusive: Function 'setup' argument 9 names different: declaration 'peratomE' definition 'init_peratomE'. [funcArgNamesDifferent] src/autodock/eval.h:102:24: note: Function 'setup' argument 9 names different: declaration 'peratomE' definition 'init_peratomE'. src/autodock/eval.h:161:25: note: Function 'setup' argument 9 names different: declaration 'peratomE' definition 'init_peratomE'. src/autodock/eval.h:228:28: style: Variable 'zeroEC' is not assigned a value. [unassignedVariable] src/autodock/gs.h:131:8: style: The destructor '~Genetic_Algorithm' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:48:16: note: Virtual destructor in base class src/autodock/gs.h:131:8: note: Destructor in derived class src/autodock/gs.h:135:12: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:52:20: note: Virtual function in base class src/autodock/gs.h:135:12: note: Function in derived class src/autodock/gs.h:136:12: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:53:20: note: Virtual function in base class src/autodock/gs.h:136:12: note: Function in derived class src/autodock/gs.h:137:14: style: The function 'shortname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:54:22: note: Virtual function in base class src/autodock/gs.h:137:14: note: Function in derived class src/autodock/gs.h:138:14: style: The function 'longname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:55:22: note: Virtual function in base class src/autodock/gs.h:138:14: note: Function in derived class src/autodock/gs.h:139:11: style: The function 'terminate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:51:19: note: Virtual function in base class src/autodock/gs.h:139:11: note: Function in derived class src/autodock/gs.h:140:11: style: The function 'search' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:49:19: note: Virtual function in base class src/autodock/gs.h:140:11: note: Function in derived class src/autodock/gs.h:141:11: style: The function 'localsearch' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:50:19: note: Virtual function in base class src/autodock/gs.h:141:11: note: Function in derived class src/autodock/call_gs.cc:52:33: style: Parameter 'extOutput_pop_stats' can be declared as reference to const [constParameterReference] src/autodock/check_header_float.cc:45:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/check_header_int.cc:50:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/call_glss.cc:299:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mol [valueFlowBailoutIncompleteVar] src/autodock/analysis.cc:111:11: style: The scope of the variable 'filename' can be reduced. [variableScope] src/autodock/analysis.cc:112:12: style: The scope of the variable 'label' can be reduced. [variableScope] src/autodock/analysis.cc:128:11: style: The scope of the variable 'i1' can be reduced. [variableScope] src/autodock/analysis.cc:129:11: style: The scope of the variable 'indpf' can be reduced. [variableScope] src/autodock/analysis.cc:132:11: style: The scope of the variable 'off' can be reduced. [variableScope] src/autodock/analysis.cc:134:11: style: The scope of the variable 'veclen' can be reduced. [variableScope] src/autodock/analysis.cc:88:29: style:inconclusive: Function 'analysis' argument 28 names different: declaration 'rms_ref_crds' definition 'FN_rms_ref_crds'. [funcArgNamesDifferent] src/autodock/analysis.h:72:30: note: Function 'analysis' argument 28 names different: declaration 'rms_ref_crds' definition 'FN_rms_ref_crds'. src/autodock/analysis.cc:88:29: note: Function 'analysis' argument 28 names different: declaration 'rms_ref_crds' definition 'FN_rms_ref_crds'. src/autodock/analysis.cc:112:12: style: Variable 'label' can be declared as pointer to const [constVariablePointer] src/autodock/cluster_analysis.cc:66:11: style: The scope of the variable 'new_conf' can be reduced. [variableScope] src/autodock/cluster_analysis.cc:61:26: style: Variable 'compare' is assigned a value that is never used. [unreadVariable] src/autodock/cluster_analysis.cc:66:20: style: Variable 'new_conf' is assigned a value that is never used. [unreadVariable] src/autodock/cluster_analysis.cc:68:14: style: Variable 'rms' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:121:17: style: Variable 'torDeg' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:122:20: style: Variable 'modtorDeg' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:125:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:126:14: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:128:13: style: Variable 'i1' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:129:17: style: Variable 'indpf' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:134:18: style: Variable 'veclen' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:135:16: style: Variable 'kmax' is assigned a value that is never used. [unreadVariable] src/autodock/analysis.cc:141:22: style: Variable 't' is assigned a value that is never used. [unreadVariable] src/autodock/changeState.cc:70:18: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autodock/changeState.cc:74:18: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autodock/changeState.cc:104:12: error: Uninitialized variables: now.hasEnergy, now.e, now.Center [uninitvar] src/autodock/com.cc:109:73: style:inconclusive: Function 'getsd_t' argument 3 names different: declaration 'thread' definition 'curntg'. [funcArgNamesDifferent] src/autodock/ranlib.h:70:80: note: Function 'getsd_t' argument 3 names different: declaration 'thread' definition 'curntg'. src/autodock/com.cc:109:73: note: Function 'getsd_t' argument 3 names different: declaration 'thread' definition 'curntg'. src/autodock/com.cc:279:71: style:inconclusive: Function 'setsd_t' argument 3 names different: declaration 'thread' definition 'curntg'. [funcArgNamesDifferent] src/autodock/ranlib.h:71:78: note: Function 'setsd_t' argument 3 names different: declaration 'thread' definition 'curntg'. src/autodock/com.cc:279:71: note: Function 'setsd_t' argument 3 names different: declaration 'thread' definition 'curntg'. src/autodock/call_cpso.cc:93:12: style: The scope of the variable 'min' can be reduced. [variableScope] src/autodock/call_cpso.cc:103:9: style: The scope of the variable 'sb' can be reduced. [variableScope] src/autodock/call_cpso.cc:78:31: style: Parameter 'xmin' can be declared as pointer to const [constParameterPointer] src/autodock/call_cpso.cc:78:51: style: Parameter 'xmax' can be declared as pointer to const [constParameterPointer] src/autodock/call_cpso.cc:93:15: style: Variable 'min' is assigned a value that is never used. [unreadVariable] src/autodock/call_cpso.cc:103:12: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] src/autodock/call_cpso.cc:152:23: style: Variable 'min' is assigned a value that is never used. [unreadVariable] src/autodock/conformation_sampler.cc:79:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crdpdb [valueFlowBailoutIncompleteVar] src/autodock/conformation_sampler.cc:205:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crdpdb [valueFlowBailoutIncompleteVar] src/autodock/conformation_sampler.cc:396:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crdpdb [valueFlowBailoutIncompleteVar] src/autodock/conformation_sampler.cc:420:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crdpdb [valueFlowBailoutIncompleteVar] src/autodock/conformation_sampler.cc:577:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable crdpdb [valueFlowBailoutIncompleteVar] src/autodock/eval.cc:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] src/autodock/eval.cc:162:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] src/autodock/eval.cc:265:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vt [valueFlowBailoutIncompleteVar] src/autodock/pso.h:122:25: warning: Member variable 'ParticleSwarmGS::best' is not initialized in the constructor. [uninitMemberVar] src/autodock/pso.h:122:25: warning: Member variable 'ParticleSwarmGS::pop_size' is not initialized in the constructor. [uninitMemberVar] src/autodock/pso.h:122:25: warning: Member variable 'ParticleSwarmGS::size' is not initialized in the constructor. [uninitMemberVar] src/autodock/pso.h:122:25: warning: Member variable 'ParticleSwarmGS::outputEveryNgens' is not initialized in the constructor. [uninitMemberVar] src/autodock/pso.h:138:2: performance: Variable 'pso_options' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] src/autodock/pso.h:141:2: performance: Variable 'output_pop_stats' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] src/autodock/pso.h:72:4: style: The destructor '~ParticleSwarmGS' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:48:16: note: Virtual destructor in base class src/autodock/pso.h:72:4: note: Destructor in derived class src/autodock/pso.h:90:15: style: The function 'shortname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:54:22: note: Virtual function in base class src/autodock/pso.h:90:15: note: Function in derived class src/autodock/pso.h:91:15: style: The function 'longname' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:55:22: note: Virtual function in base class src/autodock/pso.h:91:15: note: Function in derived class src/autodock/pso.h:92:8: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:52:20: note: Virtual function in base class src/autodock/pso.h:92:8: note: Function in derived class src/autodock/pso.h:93:14: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:53:20: note: Virtual function in base class src/autodock/pso.h:93:14: note: Function in derived class src/autodock/pso.h:94:13: style: The function 'terminate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:51:19: note: Virtual function in base class src/autodock/pso.h:94:13: note: Function in derived class src/autodock/pso.h:95:13: style: The function 'search' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:49:19: note: Virtual function in base class src/autodock/pso.h:95:13: note: Function in derived class src/autodock/pso.h:96:6: style: The function 'localsearch' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] src/autodock/gs.h:50:19: note: Virtual function in base class src/autodock/pso.h:96:6: note: Function in derived class src/autodock/pso.h:131:21: style:inconclusive: Function 'ParticleSwarmGS' argument 9 names different: declaration 'output_pop_stats' definition 'init_output_pop_stats'. [funcArgNamesDifferent] src/autodock/pso.h:82:21: note: Function 'ParticleSwarmGS' argument 9 names different: declaration 'output_pop_stats' definition 'init_output_pop_stats'. src/autodock/pso.h:131:21: note: Function 'ParticleSwarmGS' argument 9 names different: declaration 'output_pop_stats' definition 'init_output_pop_stats'. src/autodock/pso.h:127:16: performance: Function parameter 'init_pso_options' should be passed by const reference. [passedByValue] src/autodock/pso.h:151:119: style: Parameter 'logFile' can be declared as pointer to const [constParameterPointer] src/autodock/conformation_sampler.cc:73:22: warning: Member variable 'ConformationSampler::base_axis_angle' is not initialized in the constructor. [uninitMemberVar] src/autodock/conformation_sampler.cc:73:22: warning: Member variable 'ConformationSampler::base_q' is not initialized in the constructor. [uninitMemberVar] src/autodock/conformation_sampler.cc:73:22: warning: Member variable 'ConformationSampler::temp_rotation_angle' is not initialized in the constructor. [uninitMemberVar] src/autodock/conformation_sampler.cc:349:27: style: Unused private function: 'ConformationSampler::normalized_volume' [unusedPrivateFunction] src/autodock/conformation_sampler.h:86:8: note: Unused private function: 'ConformationSampler::normalized_volume' src/autodock/conformation_sampler.cc:349:27: note: Unused private function: 'ConformationSampler::normalized_volume' src/autodock/conformation_sampler.cc:357:27: style: Unused private function: 'ConformationSampler::normalized_Boltzmann' [unusedPrivateFunction] src/autodock/conformation_sampler.h:87:8: note: Unused private function: 'ConformationSampler::normalized_Boltzmann' src/autodock/conformation_sampler.cc:357:27: note: Unused private function: 'ConformationSampler::normalized_Boltzmann' src/autodock/conformation_sampler.cc:75:2: performance: Variable 'base_state' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] src/autodock/conformation_sampler.cc:76:2: performance: Variable 'base_ind' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] src/autodock/eintcal.cc:46:36: style:inconclusive: Function 'eintcal' argument 2 names different: declaration 'ad_energy_tables' definition 'ptr_ad_energy_tables'. [funcArgNamesDifferent] src/autodock/eintcal.h:37:37: note: Function 'eintcal' argument 2 names different: declaration 'ad_energy_tables' definition 'ptr_ad_energy_tables'. src/autodock/eintcal.cc:46:36: note: Function 'eintcal' argument 2 names different: declaration 'ad_energy_tables' definition 'ptr_ad_energy_tables'. src/autodock/eintcal.cc:49:12: style: Parameter 'Nnb_array' can be declared as const array [constParameter] src/autodock/conformation_sampler.cc:124:7: style: The scope of the variable 'multiplier' can be reduced. [variableScope] src/autodock/conformation_sampler.cc:217:7: style: The scope of the variable 'current_value' can be reduced. [variableScope] src/autodock/conformation_sampler.cc:99:10: style: Local variable 'base_q' shadows outer variable [shadowVariable] src/autodock/conformation_sampler.h:48:14: note: Shadowed declaration src/autodock/conformation_sampler.cc:99:10: note: Shadow variable src/autodock/conformation_sampler.cc:445:60: performance: Function parameter 'state' should be passed by const reference. [passedByValue] src/autodock/conformation_sampler.cc:445:42: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] src/autodock/conformation_sampler.cc:99:17: style: Variable 'base_q' is assigned a value that is never used. [unreadVariable] src/autodock/conformation_sampler.cc:99:10: style: Variable 'base_q' is assigned a value that is never used. [unreadVariable] src/autodock/get_atom_type.cc:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/get_atom_type.cc:53:9: style: The scope of the variable 'bond_index' can be reduced. [variableScope] src/autodock/get_atom_type.cc:54:10: style: The scope of the variable 'message' can be reduced. [variableScope] src/autodock/get_atom_type.cc:53:20: style: Variable 'bond_index' is assigned a value that is never used. [unreadVariable] src/autodock/get_atom_type.cc:65:20: style: Variable 'bond_index' is assigned a value that is never used. [unreadVariable] src/autodock/eval.cc:137:10: style: The scope of the variable 'I_tor' can be reduced. [variableScope] src/autodock/eval.cc:138:10: style: The scope of the variable 'indx' can be reduced. [variableScope] src/autodock/eval.cc:183:16: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autodock/eval.cc:187:16: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autodock/call_glss.cc:375:15: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/call_glss.cc:430:23: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/call_glss.cc:474:14: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] src/autodock/call_glss.cc:474:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/call_glss.cc:485:16: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] src/autodock/call_glss.cc:493:16: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/call_glss.cc:451:17: warning: Either the condition 'global_method' is redundant or there is possible null pointer dereference: global_method. [nullPointerRedundantCheck] src/autodock/call_glss.cc:535:8: note: Assuming that condition 'global_method' is not redundant src/autodock/call_glss.cc:451:17: note: Null pointer dereference src/autodock/call_glss.cc:264:12: style: The scope of the variable 'firstEnergy' can be reduced. [variableScope] src/autodock/call_glss.cc:249:30: style:inconclusive: Function 'call_glss' argument 3 names different: declaration 'now' definition 'sInit'. [funcArgNamesDifferent] src/autodock/hybrids.h:49:16: note: Function 'call_glss' argument 3 names different: declaration 'now' definition 'sInit'. src/autodock/call_glss.cc:249:30: note: Function 'call_glss' argument 3 names different: declaration 'now' definition 'sInit'. src/autodock/call_glss.cc:252:27: style:inconclusive: Function 'call_glss' argument 8 names different: declaration 'extOutput_pop_stats' definition 'output_pop_stats'. [funcArgNamesDifferent] src/autodock/hybrids.h:50:60: note: Function 'call_glss' argument 8 names different: declaration 'extOutput_pop_stats' definition 'output_pop_stats'. src/autodock/call_glss.cc:252:27: note: Function 'call_glss' argument 8 names different: declaration 'extOutput_pop_stats' definition 'output_pop_stats'. src/autodock/call_glss.cc:58:75: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] src/autodock/call_glss.cc:264:24: style: Variable 'firstEnergy' is assigned a value that is never used. [unreadVariable] src/autodock/getrms.cc:46:20: style: The scope of the variable 'sqrMin' can be reduced. [variableScope] src/autodock/getrms.cc:47:11: style: The scope of the variable 'is_available' can be reduced. [variableScope] src/autodock/getrms.cc:48:21: style: The scope of the variable 'j' can be reduced. [variableScope] src/autodock/getpdbcrds.cc:67:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/getpdbcrds.cc:45:11: style: Variable 'ii' is assigned a value that is never used. [unreadVariable] src/autodock/getInitialState.cc:106:10: style: The scope of the variable 'e0total' can be reduced. [variableScope] src/autodock/getInitialState.cc:107:10: style: The scope of the variable 'e0inter' can be reduced. [variableScope] src/autodock/getInitialState.cc:108:10: style: The scope of the variable 'e0intra' can be reduced. [variableScope] src/autodock/getInitialState.cc:109:10: style: The scope of the variable 'e0min' can be reduced. [variableScope] src/autodock/getInitialState.cc:111:18: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/getInitialState.cc:113:12: style: The scope of the variable 'initEnd' can be reduced. [variableScope] src/autodock/getInitialState.cc:48:41: style:inconclusive: Function 'getInitialState' argument 1 names different: declaration 'Addr_e0' definition 'Addr_e0total'. [funcArgNamesDifferent] src/autodock/getInitialState.h:41:41: note: Function 'getInitialState' argument 1 names different: declaration 'Addr_e0' definition 'Addr_e0total'. src/autodock/getInitialState.cc:48:41: note: Function 'getInitialState' argument 1 names different: declaration 'Addr_e0' definition 'Addr_e0total'. src/autodock/getInitialState.cc:52:42: style:inconclusive: Function 'getInitialState' argument 4 names different: declaration 'sMin' definition 'sMinm'. [funcArgNamesDifferent] src/autodock/getInitialState.h:45:35: note: Function 'getInitialState' argument 4 names different: declaration 'sMin' definition 'sMinm'. src/autodock/getInitialState.cc:52:42: note: Function 'getInitialState' argument 4 names different: declaration 'sMin' definition 'sMinm'. src/autodock/getInitialState.cc:81:25: style:inconclusive: Function 'getInitialState' argument 29 names different: declaration 'irun1' definition 'irun'. [funcArgNamesDifferent] src/autodock/getInitialState.h:74:25: note: Function 'getInitialState' argument 29 names different: declaration 'irun1' definition 'irun'. src/autodock/getInitialState.cc:81:25: note: Function 'getInitialState' argument 29 names different: declaration 'irun1' definition 'irun'. src/autodock/getInitialState.cc:107:18: style: Variable 'e0inter' is assigned a value that is never used. [unreadVariable] src/autodock/getInitialState.cc:108:18: style: Variable 'e0intra' is assigned a value that is never used. [unreadVariable] src/autodock/getInitialState.cc:111:20: style: Variable 'i' is assigned a value that is never used. [unreadVariable] src/autodock/getInitialState.cc:218:25: style: Variable 'e0total' is assigned a value that is never used. [unreadVariable] src/autodock/intnbtable.cc:213:13: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] src/autodock/input_state.cc:50:9: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/input_state.cc:45:17: style:inconclusive: Function 'input_state' argument 5 names different: declaration 'P_istep' definition 'p_istep'. [funcArgNamesDifferent] src/autodock/input_state.h:36:17: note: Function 'input_state' argument 5 names different: declaration 'P_istep' definition 'p_istep'. src/autodock/input_state.cc:45:17: note: Function 'input_state' argument 5 names different: declaration 'P_istep' definition 'p_istep'. src/autodock/input_state.cc:46:17: style:inconclusive: Function 'input_state' argument 6 names different: declaration 'P_energy' definition 'p_energy'. [funcArgNamesDifferent] src/autodock/input_state.h:37:31: note: Function 'input_state' argument 6 names different: declaration 'P_energy' definition 'p_energy'. src/autodock/input_state.cc:46:17: note: Function 'input_state' argument 6 names different: declaration 'P_energy' definition 'p_energy'. src/autodock/input_state.cc:47:17: style:inconclusive: Function 'input_state' argument 7 names different: declaration 'P_eint' definition 'p_eint'. [funcArgNamesDifferent] src/autodock/input_state.h:38:17: note: Function 'input_state' argument 7 names different: declaration 'P_eint' definition 'p_eint'. src/autodock/input_state.cc:47:17: note: Function 'input_state' argument 7 names different: declaration 'P_eint' definition 'p_eint'. src/autodock/input_state.cc:48:17: style:inconclusive: Function 'input_state' argument 8 names different: declaration 'P_lastmove' definition 'p_lastmove'. [funcArgNamesDifferent] src/autodock/input_state.h:39:31: note: Function 'input_state' argument 8 names different: declaration 'P_lastmove' definition 'p_lastmove'. src/autodock/input_state.cc:48:17: note: Function 'input_state' argument 8 names different: declaration 'P_lastmove' definition 'p_lastmove'. src/autodock/linpack.cc:77:13: style: Local variable 'sdot' shadows outer function [shadowFunction] src/autodock/linpack.cc:17:6: note: Shadowed declaration src/autodock/linpack.cc:77:13: note: Shadow variable src/autodock/initautodock.cc:246:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/gs.cc:581:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genotyp [valueFlowBailoutIncompleteVar] src/autodock/gs.cc:629:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable genotyp [valueFlowBailoutIncompleteVar] src/autodock/investigate.cc:105:9: style: The scope of the variable 'ref_natoms' can be reduced. [variableScope] src/autodock/investigate.cc:102:14: style: Variable 'Itor' is assigned a value that is never used. [unreadVariable] src/autodock/investigate.cc:105:20: style: Variable 'ref_natoms' is assigned a value that is never used. [unreadVariable] src/autodock/investigate.cc:109:12: style: Variable 'e' is assigned a value that is never used. [unreadVariable] src/autodock/investigate.cc:118:21: style: Variable 'RmsBinNum' is assigned a value that is never used. [unreadVariable] src/autodock/investigate.cc:121:28: style: Variable 'LocalTest' is assigned a value that is never used. [unreadVariable] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::size' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::max_success' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::step_size' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::current_step_size' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::step_threshold' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::expansion' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::contraction' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::localsearch_frequency' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::pattern' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::index' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:359:17: warning:inconclusive: Member variable 'Pattern_Search::successes' is not initialized in the constructor. [uninitMemberVar] src/autodock/ls.cc:367:3: warning: Class 'Pattern_Search' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] src/autodock/ls.cc:367:3: warning: Class 'Pattern_Search' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] src/autodock/ls.cc:447:6: style: Statements following 'break' will never be executed. [unreachableCode] src/autodock/ls.cc:45:12: style: The scope of the variable 'genetype' can be reduced. [variableScope] src/autodock/ls.cc:248:70: style: The scope of the variable 'all_rho_stepsizes_too_small' can be reduced. [variableScope] src/autodock/ls.cc:401:6: style: The scope of the variable 'select' can be reduced. [variableScope] src/autodock/ls.cc:402:15: style: The scope of the variable 'temp' can be reduced. [variableScope] src/autodock/ls.cc:474:15: style: The scope of the variable 'current_index' can be reduced. [variableScope] src/autodock/initautodock.cc:61:11: style: The scope of the variable 'B_outside' can be reduced. [variableScope] src/autodock/ls.cc:522:66: style: Parameter 'newPh' can be declared as reference to const [constParameterReference] src/autodock/ls.cc:43:100: style: Parameter 'bias' can be declared as pointer to const [constParameterPointer] src/autodock/ls.cc:43:124: style: Parameter 'logFile' can be declared as pointer to const [constParameterPointer] src/autodock/ls.cc:522:24: style: Parameter 'logFile' can be declared as pointer to const [constParameterPointer] src/autodock/initautodock.cc:65:18: style: Variable 'axis' can be declared as const array [constVariable] src/autodock/initautodock.cc:58:20: style: Variable 'B_change' is assigned a value that is never used. [unreadVariable] src/autodock/ls.cc:92:9: style: Unused variable: thisQuat [unusedVariable] src/autodock/ls.cc:92:19: style: Unused variable: prevQuat [unusedVariable] src/autodock/initautodock.cc:59:24: style: Variable 'B_eq_and_opp' is assigned a value that is never used. [unreadVariable] src/autodock/ls.cc:92:29: style: Unused variable: startQuat [unusedVariable] src/autodock/initautodock.cc:104:19: style: Variable 'B_outside' is assigned a value that is never used. [unreadVariable] src/autodock/ls.cc:248:98: style: Variable 'all_rho_stepsizes_too_small' is assigned a value that is never used. [unreadVariable] src/autodock/gs.cc:264:27: performance:inconclusive: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). [functionStatic] src/autodock/gs.h:107:14: note: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). src/autodock/gs.cc:264:27: note: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). src/autodock/gs.cc:427:25: style:inconclusive: Technically the member function 'Genetic_Algorithm::mutate' can be const. [functionConst] src/autodock/gs.h:108:12: note: Technically the member function 'Genetic_Algorithm::mutate' can be const. src/autodock/gs.cc:427:25: note: Technically the member function 'Genetic_Algorithm::mutate' can be const. src/autodock/gs.cc:213:4: warning: Class 'Genetic_Algorithm' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] src/autodock/gs.cc:213:4: warning: Class 'Genetic_Algorithm' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] src/autodock/gs.cc:895:13: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] src/autodock/gs.cc:932:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/gs.cc:1372:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/gs.cc:1372:10: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/gs.cc:449:22: style: Variable 'tempvar' is reassigned a value before the old one has been used. [redundantAssignment] src/autodock/gs.cc:447:18: note: tempvar is assigned src/autodock/gs.cc:449:22: note: tempvar is overwritten src/autodock/gs.cc:227:11: style: The scope of the variable 'temp' can be reduced. [variableScope] src/autodock/gs.cc:552:23: style: The scope of the variable 'individual' can be reduced. [variableScope] src/autodock/gs.cc:552:35: style: The scope of the variable 'gene_number' can be reduced. [variableScope] src/autodock/gs.cc:597:35: style: The scope of the variable 'temp_index' can be reduced. [variableScope] src/autodock/gs.cc:597:47: style: The scope of the variable 'temp_ordering' can be reduced. [variableScope] src/autodock/gs.cc:984:8: style: The scope of the variable 'temp_ordering' can be reduced. [variableScope] src/autodock/gs.cc:984:23: style: The scope of the variable 'temp_index' can be reduced. [variableScope] src/autodock/gs.cc:1263:8: style: The scope of the variable 'temp_ordering' can be reduced. [variableScope] src/autodock/gs.cc:1263:23: style: The scope of the variable 'temp_index' can be reduced. [variableScope] src/autodock/gs.cc:612:26: style: Unsigned expression 'ordering[i]' can't be negative so it is unnecessary to test it. [unsignedPositive] src/autodock/gs.cc:615:35: style: Unsigned expression 'ordering[temp_index]' can't be negative so it is unnecessary to test it. [unsignedPositive] src/autodock/gs.cc:895:13: style: Unsigned expression 'i' can't be negative so it is unnecessary to test it. [unsignedPositive] src/autodock/gs.cc:427:91: style:inconclusive: Function 'mutate' argument 4 names different: declaration 'logfile' definition 'logFile'. [funcArgNamesDifferent] src/autodock/gs.h:108:60: note: Function 'mutate' argument 4 names different: declaration 'logfile' definition 'logFile'. src/autodock/gs.cc:427:91: note: Function 'mutate' argument 4 names different: declaration 'logfile' definition 'logFile'. src/autodock/gs.cc:550:70: style:inconclusive: Function 'mutation' argument 3 names different: declaration 'logfile' definition 'logFile'. [funcArgNamesDifferent] src/autodock/gs.h:109:53: note: Function 'mutation' argument 3 names different: declaration 'logfile' definition 'logFile'. src/autodock/gs.cc:550:70: note: Function 'mutation' argument 3 names different: declaration 'logfile' definition 'logFile'. src/autodock/gs.cc:594:86: style:inconclusive: Function 'crossover' argument 3 names different: declaration 'logfile' definition 'logFile'. [funcArgNamesDifferent] src/autodock/gs.h:110:54: note: Function 'crossover' argument 3 names different: declaration 'logfile' definition 'logFile'. src/autodock/gs.cc:594:86: note: Function 'crossover' argument 3 names different: declaration 'logfile' definition 'logFile'. src/autodock/gs.cc:1378:83: style:inconclusive: Function 'selection' argument 3 names different: declaration 'logfile' definition 'logFile'. [funcArgNamesDifferent] src/autodock/gs.h:117:61: note: Function 'selection' argument 3 names different: declaration 'logfile' definition 'logFile'. src/autodock/gs.cc:1378:83: note: Function 'selection' argument 3 names different: declaration 'logfile' definition 'logFile'. src/autodock/gs.cc:354:8: style: Local variable 'low' shadows outer variable [shadowVariable] src/autodock/gs.h:91:11: note: Shadowed declaration src/autodock/gs.cc:354:8: note: Shadow variable src/autodock/gs.cc:354:13: style: Local variable 'high' shadows outer variable [shadowVariable] src/autodock/gs.h:91:16: note: Shadowed declaration src/autodock/gs.cc:354:13: note: Shadow variable src/autodock/gs.cc:598:9: style: Local variable 'alpha' shadows outer variable [shadowVariable] src/autodock/gs.h:88:12: note: Shadowed declaration src/autodock/gs.cc:598:9: note: Shadow variable src/autodock/gs.cc:71:79: style: Parameter 'logFile' can be declared as pointer to const [constParameterPointer] src/autodock/gs.cc:105:65: style: Parameter 'logFile' can be declared as pointer to const [constParameterPointer] src/autodock/gs.cc:128:90: style: Parameter 'logFile' can be declared as pointer to const [constParameterPointer] src/autodock/gs.cc:352:71: style: Parameter 'logFile' can be declared as pointer to const [constParameterPointer] src/autodock/mkRandomState.cc:39:14: style: Parameter 'N_con' can be declared as const array [constParameter] src/autodock/mkRandomState.cc:69:13: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autodock/mkRandomState.cc:73:13: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autodock/mkRandomState.cc:97:13: error: Uninitialized variables: now.hasEnergy, now.e, now.Center [uninitvar] src/autodock/nbe.cc:67:10: style: The scope of the variable 'r' can be reduced. [variableScope] src/autodock/nbe.cc:100:10: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] src/autodock/nbe.cc:65:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] src/autodock/nbe.cc:67:12: style: Variable 'r' is assigned a value that is never used. [unreadVariable] src/autodock/clmode.cc:233:32: warning: Either the condition 'type[atomCounter]==-1' is redundant or the array 'ntype[2048]' is accessed at index -1, which is out of bounds. [negativeIndex] src/autodock/clmode.cc:226:47: note: Assuming that condition 'type[atomCounter]==-1' is not redundant src/autodock/clmode.cc:233:32: note: Negative array index src/autodock/clmode.cc:179:17: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/clmode.cc:220:30: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/clmode.cc:87:17: style: The scope of the variable 'clu_rms' can be reduced. [variableScope] src/autodock/clmode.cc:88:18: style: The scope of the variable 'cluster' can be reduced. [variableScope] src/autodock/clmode.cc:93:11: style: The scope of the variable 'ncluster' can be reduced. [variableScope] src/autodock/clmode.cc:97:10: style: The scope of the variable 'ref_rms' can be reduced. [variableScope] src/autodock/clmode.cc:48:27: style:inconclusive: Function 'clmode' argument 6 names different: declaration 'B_write_all_clusmem' definition 'write_all_clusmem'. [funcArgNamesDifferent] src/autodock/clmode.h:47:27: note: Function 'clmode' argument 6 names different: declaration 'B_write_all_clusmem' definition 'write_all_clusmem'. src/autodock/clmode.cc:48:27: note: Function 'clmode' argument 6 names different: declaration 'B_write_all_clusmem' definition 'write_all_clusmem'. src/autodock/clmode.cc:265:66: warning: Uninitialized variable: ntype [uninitvar] src/autodock/clmode.cc:117:46: note: Assuming condition is false src/autodock/clmode.cc:265:66: note: Uninitialized variable: ntype src/autodock/clmode.cc:62:22: style: Variable 'xyz' is assigned a value that is never used. [unreadVariable] src/autodock/clmode.cc:63:16: style: Variable 'anum' is assigned a value that is never used. [unreadVariable] src/autodock/clmode.cc:69:14: style: Variable 'ii' is assigned a value that is never used. [unreadVariable] src/autodock/clmode.cc:93:20: style: Variable 'ncluster' is assigned a value that is never used. [unreadVariable] src/autodock/openfile.cc:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/openfile.cc:106:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/openfile.cc:97:12: style: The scope of the variable 'jobEnd' can be reduced. [variableScope] src/autodock/openfile.cc:54:70: style: Parameter 'logFile' can be declared as pointer to const [constParameterPointer] src/autodock/minmeanmax.cc:64:11: style: The scope of the variable 'best_gene' can be reduced. [variableScope] src/autodock/output_state.cc:69:9: style: The scope of the variable 'FD_watch' can be reduced. [variableScope] src/autodock/output_state.cc:70:11: style: The scope of the variable 'FP_watch' can be reduced. [variableScope] src/autodock/minmeanmax.cc:51:28: style: Variable 'b' is assigned a value that is never used. [unreadVariable] src/autodock/minmeanmax.cc:55:17: style: Variable 'value' is assigned a value that is never used. [unreadVariable] src/autodock/minmeanmax.cc:61:15: style: Variable 'bmin' is assigned a value that is never used. [unreadVariable] src/autodock/minmeanmax.cc:61:24: style: Variable 'bmax' is assigned a value that is never used. [unreadVariable] src/autodock/minmeanmax.cc:64:21: style: Variable 'best_gene' is assigned a value that is never used. [unreadVariable] src/autodock/minmeanmax.cc:65:17: style: Variable 'binchar' is assigned a value that is never used. [unreadVariable] src/autodock/minmeanmax.cc:86:18: style: Variable 'best[g]' is assigned a value that is never used. [unreadVariable] src/autodock/minmeanmax.cc:139:18: style: Variable 'best[g]' is assigned a value that is never used. [unreadVariable] src/autodock/mkTorTree.cc:231:65: warning: Either the condition 'recnum<0' is redundant or the array 'atomnumber[2048]' is accessed at index -1, which is out of bounds. [negativeIndex] src/autodock/mkTorTree.cc:224:17: note: Assuming that condition 'recnum<0' is not redundant src/autodock/mkTorTree.cc:231:65: note: Negative array index src/autodock/mkTorTree.cc:219:9: style: C-style pointer casting [cstyleCast] src/autodock/mkTorTree.cc:78:11: style: The scope of the variable 'keyword_id' can be reduced. [variableScope] src/autodock/mkTorTree.cc:54:29: style:inconclusive: Function 'mkTorTree' argument 3 names different: declaration 'record' definition 'Rec_line'. [funcArgNamesDifferent] src/autodock/mkTorTree.h:36:29: note: Function 'mkTorTree' argument 3 names different: declaration 'record' definition 'Rec_line'. src/autodock/mkTorTree.cc:54:29: note: Function 'mkTorTree' argument 3 names different: declaration 'record' definition 'Rec_line'. src/autodock/mkTorTree.cc:413:13: style: Local variable 'i' shadows outer variable [shadowVariable] src/autodock/mkTorTree.cc:88:20: note: Shadowed declaration src/autodock/mkTorTree.cc:413:13: note: Shadow variable src/autodock/mkTorTree.cc:416:17: style: Local variable 'i' shadows outer variable [shadowVariable] src/autodock/mkTorTree.cc:88:20: note: Shadowed declaration src/autodock/mkTorTree.cc:416:17: note: Shadow variable src/autodock/mkTorTree.cc:422:13: style: Local variable 'i' shadows outer variable [shadowVariable] src/autodock/mkTorTree.cc:88:20: note: Shadowed declaration src/autodock/mkTorTree.cc:422:13: note: Shadow variable src/autodock/mkTorTree.cc:490:50: style: Parameter 'pdbatomnumber' can be declared as const array [constParameter] src/autodock/prInitialState.cc:42:28: style:inconclusive: Function 'prInitialState' argument 1 names different: declaration 'eb' definition 'p_eb'. [funcArgNamesDifferent] src/autodock/prInitialState.h:35:28: note: Function 'prInitialState' argument 1 names different: declaration 'eb' definition 'p_eb'. src/autodock/prInitialState.cc:42:28: note: Function 'prInitialState' argument 1 names different: declaration 'eb' definition 'p_eb'. src/autodock/prInitialState.cc:58:11: style: Variable 'descriptor' can be declared as pointer to const [constVariablePointer] src/autodock/prClusterHist.cc:211:32: warning: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg] src/autodock/prClusterHist.cc:80:36: note: Assignment 'Q_partition_function=0.0', assigned value is 0.0 src/autodock/prClusterHist.cc:90:26: note: Assuming condition is false src/autodock/prClusterHist.cc:211:32: note: Invalid argument src/autodock/prClusterHist.cc:55:19: style: The scope of the variable 'ConfNum' can be reduced. [variableScope] src/autodock/prClusterHist.cc:58:19: style: The scope of the variable 'p_i' can be reduced. [variableScope] src/autodock/printEnergies.cc:191:10: style: The scope of the variable 'Rcal' can be reduced. [variableScope] src/autodock/printEnergies.cc:191:10: style: Local variable 'Rcal' shadows outer variable [shadowVariable] src/autodock/constants.h:480:12: note: Shadowed declaration src/autodock/printEnergies.cc:191:10: note: Shadow variable src/autodock/printEnergies.cc:192:10: style: Local variable 'TK' shadows outer variable [shadowVariable] src/autodock/constants.h:482:12: note: Shadowed declaration src/autodock/printEnergies.cc:192:10: note: Shadow variable src/autodock/prClusterHist.cc:87:15: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autodock/prClusterHist.cc:48:24: style: Variable 'etot' is assigned a value that is never used. [unreadVariable] src/autodock/prClusterHist.cc:49:24: style: Variable 'eavg' is assigned a value that is never used. [unreadVariable] src/autodock/prClusterHist.cc:52:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] src/autodock/prClusterHist.cc:55:26: style: Variable 'ConfNum' is assigned a value that is never used. [unreadVariable] src/autodock/prClusterHist.cc:56:24: style: Variable 'Rank1' is assigned a value that is never used. [unreadVariable] src/autodock/prClusterHist.cc:58:23: style: Variable 'p_i' is assigned a value that is never used. [unreadVariable] src/autodock/prClusterHist.cc:86:24: style: Variable 'this_energy' is assigned a value that is never used. [unreadVariable] src/autodock/print_rem.cc:35:29: style:inconclusive: Function 'print_rem' argument 1 names different: declaration 'outFile' definition 'logFile'. [funcArgNamesDifferent] src/autodock/print_rem.h:32:32: note: Function 'print_rem' argument 1 names different: declaration 'outFile' definition 'logFile'. src/autodock/print_rem.cc:35:29: note: Function 'print_rem' argument 1 names different: declaration 'outFile' definition 'logFile'. src/autodock/prTorConList.cc:96:19: error: Array 'graph[16][256]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] src/autodock/prTorConList.cc:92:19: note: Assuming that condition 'j<=16' is not redundant src/autodock/prTorConList.cc:96:19: note: Array index out of bounds src/autodock/prTorConList.cc:99:14: style: Condition 'inc<=0' is always false [knownConditionTrueFalse] src/autodock/prTorConList.cc:98:18: note: Assignment 'inc=256/64', assigned value is 4 src/autodock/prTorConList.cc:99:14: note: Condition 'inc<=0' is always false src/autodock/prTorConList.cc:109:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] src/autodock/printdate.cc:48:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] src/autodock/printdate.cc:43:11: style: The scope of the variable 'StringTimeDate' can be reduced. [variableScope] src/autodock/printdate.cc:43:11: style: Variable 'StringTimeDate' can be declared as pointer to const [constVariablePointer] src/autodock/printdate.cc:44:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] src/autodock/qtransform.cc:156:5: warning: Buffer 'tlist' is too small, the function 'update_torsion_vectors' expects a bigger buffer in 3rd argument [argumentSize] src/autodock/qtransform.cc:156:5: note: Function 'update_torsion_vectors' is called src/autodock/torNorVec.h:43:41: note: Declaration of 3rd function argument. src/autodock/qtransform.cc:139:26: note: Passing buffer 'tlist' to function that is declared here src/autodock/qtransform.cc:156:5: note: Buffer 'tlist' is too small, the function 'update_torsion_vectors' expects a bigger buffer in 3rd argument src/autodock/qmultiply.cc:482:12: style: The scope of the variable 'halfTheta' can be reduced. [variableScope] src/autodock/qmultiply.cc:482:23: style: The scope of the variable 'sinHalfTheta' can be reduced. [variableScope] src/autodock/qmultiply.cc:371:26: style:inconclusive: Function 'slerp0' argument 1 names different: declaration 'qa' definition 'q1'. [funcArgNamesDifferent] src/autodock/qmultiply.h:47:26: note: Function 'slerp0' argument 1 names different: declaration 'qa' definition 'q1'. src/autodock/qmultiply.cc:371:26: note: Function 'slerp0' argument 1 names different: declaration 'qa' definition 'q1'. src/autodock/qmultiply.cc:371:42: style:inconclusive: Function 'slerp0' argument 2 names different: declaration 'qb' definition 'q2'. [funcArgNamesDifferent] src/autodock/qmultiply.h:47:42: note: Function 'slerp0' argument 2 names different: declaration 'qb' definition 'q2'. src/autodock/qmultiply.cc:371:42: note: Function 'slerp0' argument 2 names different: declaration 'qb' definition 'q2'. src/autodock/qmultiply.cc:371:58: style:inconclusive: Function 'slerp0' argument 3 names different: declaration 't' definition 'u'. [funcArgNamesDifferent] src/autodock/qmultiply.h:47:58: note: Function 'slerp0' argument 3 names different: declaration 't' definition 'u'. src/autodock/qmultiply.cc:371:58: note: Function 'slerp0' argument 3 names different: declaration 't' definition 'u'. src/autodock/qmultiply.cc:571:35: style:inconclusive: Function 'a_range_reduction' argument 1 names different: declaration 'a' definition 'aa'. [funcArgNamesDifferent] src/autodock/qmultiply.h:64:35: note: Function 'a_range_reduction' argument 1 names different: declaration 'a' definition 'aa'. src/autodock/qmultiply.cc:571:35: note: Function 'a_range_reduction' argument 1 names different: declaration 'a' definition 'aa'. src/autodock/qmultiply.cc:581:23: style:inconclusive: Function 'alerp' argument 1 names different: declaration 'a' definition 'aa'. [funcArgNamesDifferent] src/autodock/qmultiply.h:65:23: note: Function 'alerp' argument 1 names different: declaration 'a' definition 'aa'. src/autodock/qmultiply.cc:581:23: note: Function 'alerp' argument 1 names different: declaration 'a' definition 'aa'. src/autodock/qmultiply.cc:581:37: style:inconclusive: Function 'alerp' argument 2 names different: declaration 'b' definition 'bb'. [funcArgNamesDifferent] src/autodock/qmultiply.h:65:36: note: Function 'alerp' argument 2 names different: declaration 'b' definition 'bb'. src/autodock/qmultiply.cc:581:37: note: Function 'alerp' argument 2 names different: declaration 'b' definition 'bb'. src/autodock/qmultiply.cc:378:10: style: Local variable 'slerp' shadows outer function [shadowFunction] src/autodock/qmultiply.h:46:6: note: Shadowed declaration src/autodock/qmultiply.cc:378:10: note: Shadow variable src/autodock/pso.cc:280:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] src/autodock/read_parameter_library.cc:221:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable param_string_4_1 [valueFlowBailoutIncompleteVar] src/autodock/ranlib.cc:284:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/ranlib.cc:339:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/ranlib.cc:496:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/ranlib.cc:531:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/ranlib.cc:1251:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/ranlib.cc:1366:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str [valueFlowBailoutIncompleteVar] src/autodock/ranlib.cc:1442:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info [valueFlowBailoutIncompleteVar] src/autodock/readPDBQT.cc:365:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/readPDBQT.cc:714:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/nonbonds.cc:112:27: warning: Either the condition 'bonded[i][j]<0' is redundant or the array 'bonded[2048][16]' is accessed at index bonded[-1][*], which is out of bounds. [negativeIndex] src/autodock/nonbonds.cc:107:34: note: Assuming that condition 'bonded[i][j]<0' is not redundant src/autodock/nonbonds.cc:112:27: note: Negative array index src/autodock/nonbonds.cc:117:35: warning: Either the condition 'bonded[bonded[i][j]][k]<0' is redundant or the array 'nbonds[2048]' is accessed at index -1, which is out of bounds. [negativeIndex] src/autodock/nonbonds.cc:112:47: note: Assuming that condition 'bonded[bonded[i][j]][k]<0' is not redundant src/autodock/nonbonds.cc:117:35: note: Negative array index src/autodock/mdist.h:89:5: style: Redundant assignment of 'mindist[C][C]' to itself. [selfAssignment] src/autodock/mdist.h:89:5: style: Redundant assignment of 'maxdist[C][C]' to itself. [selfAssignment] src/autodock/mdist.h:96:5: style: Redundant assignment of 'mindist[N][N]' to itself. [selfAssignment] src/autodock/mdist.h:96:5: style: Redundant assignment of 'maxdist[N][N]' to itself. [selfAssignment] src/autodock/mdist.h:102:5: style: Redundant assignment of 'mindist[O][O]' to itself. [selfAssignment] src/autodock/mdist.h:102:5: style: Redundant assignment of 'maxdist[O][O]' to itself. [selfAssignment] src/autodock/mdist.h:107:5: style: Redundant assignment of 'mindist[H][H]' to itself. [selfAssignment] src/autodock/mdist.h:107:5: style: Redundant assignment of 'maxdist[H][H]' to itself. [selfAssignment] src/autodock/mdist.h:111:5: style: Redundant assignment of 'mindist[XX][XX]' to itself. [selfAssignment] src/autodock/mdist.h:111:5: style: Redundant assignment of 'maxdist[XX][XX]' to itself. [selfAssignment] src/autodock/mdist.h:114:5: style: Redundant assignment of 'mindist[P][P]' to itself. [selfAssignment] src/autodock/mdist.h:114:5: style: Redundant assignment of 'maxdist[P][P]' to itself. [selfAssignment] src/autodock/mdist.h:116:5: style: Redundant assignment of 'mindist[S][S]' to itself. [selfAssignment] src/autodock/mdist.h:116:5: style: Redundant assignment of 'maxdist[S][S]' to itself. [selfAssignment] src/autodock/readfield.cc:56:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readfield.cc:69:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readfield.cc:117:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readfield.cc:124:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/pso.cc:404:15: style: The if condition is the same as the previous if condition [duplicateCondition] src/autodock/pso.cc:402:11: note: First condition src/autodock/pso.cc:404:15: note: Second condition src/autodock/pso.cc:65:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/pso.cc:66:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/pso.cc:88:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/pso.cc:115:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/pso.cc:122:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/pso.cc:278:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/pso.cc:223:8: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] src/autodock/pso.cc:224:8: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] src/autodock/pso.cc:229:10: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] src/autodock/pso.cc:230:10: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] src/autodock/pso.cc:146:9: style: Redundant initialization for 'pso_w'. The initialized value is overwritten before it is read. [redundantInitialization] src/autodock/pso.cc:52:14: note: pso_w is initialized src/autodock/pso.cc:146:9: note: pso_w is overwritten src/autodock/readmap.cc:62:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] src/autodock/pso.cc:14:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] src/autodock/ranlib.cc:1106:13: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] src/autodock/ranlib.cc:1686:33: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] src/autodock/ranlib.cc:1714:33: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] src/autodock/ranlib.cc:1724:9: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] src/autodock/ranlib.cc:1379:30: style: Condition '*(values+j-1)<1' is always false [knownConditionTrueFalse] src/autodock/ranlib.cc:1376:30: note: Assignment 'ichr=63', assigned value is 63 src/autodock/ranlib.cc:1377:20: note: Assuming that condition 'j<=5' is not redundant src/autodock/ranlib.cc:1378:33: note: Assignment '*(values+j-1)=ichr-j', assigned value is greater than 57 src/autodock/ranlib.cc:1379:30: note: Condition '*(values+j-1)<1' is always false src/autodock/read_parameter_library.cc:129:27: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/ranlib.cc:382:23: style: The scope of the variable 'icount' can be reduced. [variableScope] src/autodock/read_parameter_library.cc:282:27: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/ranlib.cc:383:13: style: The scope of the variable 'ae' can be reduced. [variableScope] src/autodock/ranlib.cc:440:13: style: The scope of the variable 'prob' can be reduced. [variableScope] src/autodock/ranlib.cc:593:16: style: The scope of the variable 'itmp' can be reduced. [variableScope] src/autodock/ranlib.cc:593:21: style: The scope of the variable 'iwhich' can be reduced. [variableScope] src/autodock/read_parameter_library.cc:76:74: warning: Either the condition '(parameter_library_file=ad_fopen(FN_parameter_library,"r",logFile))==NULL' is redundant or there is possible null pointer dereference: parameter_library_file. [nullPointerRedundantCheck] src/autodock/read_parameter_library.cc:69:81: note: Assuming that condition '(parameter_library_file=ad_fopen(FN_parameter_library,"r",logFile))==NULL' is not redundant src/autodock/read_parameter_library.cc:76:74: note: Null pointer dereference src/autodock/ranlib.cc:1365:16: style: The scope of the variable 'ichr' can be reduced. [variableScope] src/autodock/read_parameter_library.cc:61:9: style: The scope of the variable 'param_keyword' can be reduced. [variableScope] src/autodock/read_parameter_library.cc:205:9: style: The scope of the variable 'param_keyword' can be reduced. [variableScope] src/autodock/ranlib.cc:1366:14: style: Local variable 'lennob' shadows outer function [shadowFunction] src/autodock/ranlib.cc:1214:5: note: Shadowed declaration src/autodock/ranlib.cc:1366:14: note: Shadow variable src/autodock/ranlib.cc:1516:7: style: Variable 'q1' can be declared as pointer to const [constVariablePointer] src/autodock/read_parameter_library.cc:61:23: style: Variable 'param_keyword' is assigned a value that is never used. [unreadVariable] src/autodock/read_parameter_library.cc:205:23: style: Variable 'param_keyword' is assigned a value that is never used. [unreadVariable] src/autodock/ranlib.cc:1164:7: style: Variable 'l' is assigned a value that is never used. [unreadVariable] src/autodock/ranlib.cc:997:16: style: Variable 'pp' is not assigned a value. [unassignedVariable] src/autodock/ranlib.cc:1365:28: style: Variable 'values' is not assigned a value. [unassignedVariable] src/autodock/scauchy.cc:69:14: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] src/autodock/scauchy.cc:70:14: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] src/autodock/scauchy.cc:81:21: style: The scope of the variable 'r1' can be reduced. [variableScope] src/autodock/scauchy.cc:81:25: style: The scope of the variable 'r2' can be reduced. [variableScope] src/autodock/setflags.cc:101:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] src/autodock/stack.cc:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/stack.cc:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/stack.cc:13:9: style: C-style pointer casting [cstyleCast] src/autodock/stack.cc:15:15: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:212:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/rep.cc:212:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/rep.cc:517:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/rep.cc:517:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/rep.cc:786:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/rep.cc:786:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/rep.cc:969:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/rep.cc:969:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] src/autodock/stack.cc:10:30: style:inconclusive: Function 'stack_create' argument 1 names different: declaration 'size' definition 'maxsize'. [funcArgNamesDifferent] src/autodock/stack.h:13:30: note: Function 'stack_create' argument 1 names different: declaration 'size' definition 'maxsize'. src/autodock/stack.cc:10:30: note: Function 'stack_create' argument 1 names different: declaration 'size' definition 'maxsize'. src/autodock/rep.cc:230:11: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:244:29: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:541:11: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:559:15: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:805:11: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:820:12: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:987:11: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:1002:12: style: C-style pointer casting [cstyleCast] src/autodock/rep.cc:557:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/rep.cc:558:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/rep.cc:237:26: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/rep.cc:553:26: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/rep.cc:754:38: style: The scope of the variable 'hypotenuse' can be reduced. [variableScope] src/autodock/rep.cc:812:26: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/rep.cc:994:26: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/simanneal.cc:221:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/rep.cc:554:12: style: Variable 'array' can be declared as pointer to const [constVariablePointer] src/autodock/rep.cc:813:12: style: Variable 'array' can be declared as pointer to const [constVariablePointer] src/autodock/rep.cc:995:19: style: Variable 'array' can be declared as pointer to const [constVariablePointer] src/autodock/stop.cc:47:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] src/autodock/readPDBQT.cc:370:27: error: Buffer is accessed out of bounds: message [bufferAccessOutOfBounds] src/autodock/readPDBQT.cc:268:3: warning:inconclusive: The buffer 'input_line' may not be null-terminated after the call to strncpy(). [terminateStrncpy] src/autodock/readPDBQT.cc:587:2: warning: Buffer 'tlist' is too small, the function 'mkTorTree' expects a bigger buffer in 5th argument [argumentSize] src/autodock/readPDBQT.cc:587:2: note: Function 'mkTorTree' is called src/autodock/mkTorTree.h:38:23: note: Declaration of 5th function argument. src/autodock/readPDBQT.cc:80:25: note: Passing buffer 'tlist' to function that is declared here src/autodock/readPDBQT.cc:587:2: note: Buffer 'tlist' is too small, the function 'mkTorTree' expects a bigger buffer in 5th argument src/autodock/readPDBQT.cc:645:3: warning: Buffer 'tlist' is too small, the function 'weedbonds' expects a bigger buffer in 5th argument [argumentSize] src/autodock/readPDBQT.cc:645:3: note: Function 'weedbonds' is called src/autodock/weedbonds.h:38:30: note: Declaration of 5th function argument. src/autodock/readPDBQT.cc:80:25: note: Passing buffer 'tlist' to function that is declared here src/autodock/readPDBQT.cc:645:3: note: Buffer 'tlist' is too small, the function 'weedbonds' expects a bigger buffer in 5th argument src/autodock/readPDBQT.cc:650:9: warning: Buffer 'tlist' is too small, the function 'update_torsion_vectors' expects a bigger buffer in 3rd argument [argumentSize] src/autodock/readPDBQT.cc:650:9: note: Function 'update_torsion_vectors' is called src/autodock/torNorVec.h:43:41: note: Declaration of 3rd function argument. src/autodock/readPDBQT.cc:80:25: note: Passing buffer 'tlist' to function that is declared here src/autodock/readPDBQT.cc:650:9: note: Buffer 'tlist' is too small, the function 'update_torsion_vectors' expects a bigger buffer in 3rd argument src/autodock/readPDBQT.cc:457:27: style: The if condition is the same as the previous if condition [duplicateCondition] src/autodock/readPDBQT.cc:454:27: note: First condition src/autodock/readPDBQT.cc:457:27: note: Second condition src/autodock/readPDBQT.cc:183:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readPDBQT.cc:741:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readPDBQT.cc:609:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bonded [nullPointerOutOfMemory] src/autodock/readPDBQT.cc:606:38: note: Assuming allocation function fails src/autodock/readPDBQT.cc:606:9: note: Assignment 'bonded=(int(*)[16])malloc(natom*sizeof(*bonded))', assigned value is 0 src/autodock/readPDBQT.cc:609:3: note: Null pointer dereference src/autodock/readPDBQT.cc:605:9: style: C-style pointer casting [cstyleCast] src/autodock/readPDBQT.cc:125:21: style: The scope of the variable 'keyword_id' can be reduced. [variableScope] src/autodock/readPDBQT.cc:129:7: style: The scope of the variable 'errorcode' can be reduced. [variableScope] src/autodock/readPDBQT.cc:133:18: style: The scope of the variable 'B_has_conect_records' can be reduced. [variableScope] src/autodock/readPDBQT.cc:679:28: style:inconclusive: Function 'readPDBQTLine' argument 4 names different: declaration 'P_q' definition 'ptr_q'. [funcArgNamesDifferent] src/autodock/readPDBQT.h:46:34: note: Function 'readPDBQTLine' argument 4 names different: declaration 'P_q' definition 'ptr_q'. src/autodock/readPDBQT.cc:679:28: note: Function 'readPDBQTLine' argument 4 names different: declaration 'P_q' definition 'ptr_q'. src/autodock/readPDBQT.cc:680:38: style:inconclusive: Function 'readPDBQTLine' argument 5 names different: declaration 'thisparm' definition 'this_parameter_entry'. [funcArgNamesDifferent] src/autodock/readPDBQT.h:47:38: note: Function 'readPDBQTLine' argument 5 names different: declaration 'thisparm' definition 'this_parameter_entry'. src/autodock/readPDBQT.cc:680:38: note: Function 'readPDBQTLine' argument 5 names different: declaration 'thisparm' definition 'this_parameter_entry'. src/autodock/readPDBQT.cc:65:33: style: Parameter 'FN_flexres' can be declared as pointer to const [constParameterPointer] src/autodock/readPDBQT.cc:290:34: style: Variable 'found_parm' can be declared as pointer to const [constVariablePointer] src/autodock/readPDBQT.cc:676:21: style: Parameter 'line' can be declared as const array [constParameter] src/autodock/readPDBQT.cc:125:32: style: Variable 'keyword_id' is assigned a value that is never used. [unreadVariable] src/autodock/stateLibrary.cc:58:46: style:inconclusive: Function 'copyState' argument 1 names different: declaration 'destination' definition 'D'. [funcArgNamesDifferent] src/autodock/stateLibrary.h:37:30: note: Function 'copyState' argument 1 names different: declaration 'destination' definition 'D'. src/autodock/stateLibrary.cc:58:46: note: Function 'copyState' argument 1 names different: declaration 'destination' definition 'D'. src/autodock/stateLibrary.cc:59:30: style:inconclusive: Function 'copyState' argument 2 names different: declaration 'source' definition 'S'. [funcArgNamesDifferent] src/autodock/stateLibrary.h:38:16: note: Function 'copyState' argument 2 names different: declaration 'source' definition 'S'. src/autodock/stateLibrary.cc:59:30: note: Function 'copyState' argument 2 names different: declaration 'source' definition 'S'. src/autodock/stateLibrary.cc:87:40: style:inconclusive: Function 'printState' argument 2 names different: declaration 'state' definition 'S'. [funcArgNamesDifferent] src/autodock/stateLibrary.h:41:26: note: Function 'printState' argument 2 names different: declaration 'state' definition 'S'. src/autodock/stateLibrary.cc:87:40: note: Function 'printState' argument 2 names different: declaration 'state' definition 'S'. src/autodock/stateLibrary.cc:190:56: style:inconclusive: Function 'writeState' argument 2 names different: declaration 'state' definition 'S'. [funcArgNamesDifferent] src/autodock/stateLibrary.h:45:26: note: Function 'writeState' argument 2 names different: declaration 'state' definition 'S'. src/autodock/stateLibrary.cc:190:56: note: Function 'writeState' argument 2 names different: declaration 'state' definition 'S'. src/autodock/stateLibrary.cc:196:29: style:inconclusive: Function 'checkState' argument 1 names different: declaration 'fp' definition 'logFile'. [funcArgNamesDifferent] src/autodock/stateLibrary.h:47:29: note: Function 'checkState' argument 1 names different: declaration 'fp' definition 'logFile'. src/autodock/stateLibrary.cc:196:29: note: Function 'checkState' argument 1 names different: declaration 'fp' definition 'logFile'. src/autodock/stateLibrary.cc:249:49: style:inconclusive: Function 'copyStateToMolecule' argument 1 names different: declaration 'source' definition 'S'. [funcArgNamesDifferent] src/autodock/stateLibrary.h:49:49: note: Function 'copyStateToMolecule' argument 1 names different: declaration 'source' definition 'S'. src/autodock/stateLibrary.cc:249:49: note: Function 'copyStateToMolecule' argument 1 names different: declaration 'source' definition 'S'. src/autodock/stateLibrary.cc:158:65: performance: Function parameter 'S' should be passed by const reference. [passedByValue] src/autodock/stateLibrary.cc:190:56: performance: Function parameter 'S' should be passed by const reference. [passedByValue] src/autodock/threadlog.cc:65:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] src/autodock/test_times.cc:85:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_CLK_TCK [valueFlowBailoutIncompleteVar] src/autodock/test_times.cc:138:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] src/autodock/threadlog.cc:48:17: portability: Non reentrant function 'tempnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'tempnam_r'. [prohibitedtempnamCalled] src/autodock/threadlog.cc:65:24: warning: If resource allocation fails, then there is a possible null pointer dereference: tmpfd [nullPointerOutOfResources] src/autodock/threadlog.cc:62:22: note: Assuming allocation function fails src/autodock/threadlog.cc:62:22: note: Assignment 'tmpfd=fopen(tfilename[j],"r")', assigned value is 0 src/autodock/threadlog.cc:65:24: note: Null pointer dereference src/autodock/threadlog.cc:67:9: warning: If resource allocation fails, then there is a possible null pointer dereference: tmpfd [nullPointerOutOfResources] src/autodock/threadlog.cc:62:22: note: Assuming allocation function fails src/autodock/threadlog.cc:62:22: note: Assignment 'tmpfd=fopen(tfilename[j],"r")', assigned value is 0 src/autodock/threadlog.cc:67:9: note: Null pointer dereference src/autodock/test_times.cc:90:20: portability: %d in format string (no. 1) requires 'int' but the argument type is 'FourByteLong {aka signed long}'. [invalidPrintfArgType_sint] src/autodock/test_times.cc:82:16: style: The scope of the variable 'j' can be reduced. [variableScope] src/autodock/test_times.cc:82:17: style: Variable 'j' is assigned a value that is never used. [unreadVariable] src/autodock/test_times.cc:97:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] src/autodock/torNorVec.cc:108:5: warning: Buffer 'tlist' is too small, the function 'torNorVec' expects a bigger buffer in 3rd argument [argumentSize] src/autodock/torNorVec.cc:108:5: note: Function 'torNorVec' is called src/autodock/torNorVec.h:36:30: note: Declaration of 3rd function argument. src/autodock/torNorVec.cc:97:41: note: Passing buffer 'tlist' to function that is declared here src/autodock/torNorVec.cc:108:5: note: Buffer 'tlist' is too small, the function 'torNorVec' expects a bigger buffer in 3rd argument src/autodock/torNorVec.cc:50:10: style: The scope of the variable 'magVec' can be reduced. [variableScope] src/autodock/torNorVec.cc:51:10: style: The scope of the variable 'imagVec' can be reduced. [variableScope] src/autodock/torNorVec.cc:47:22: style: Variable 'xyz' is assigned a value that is never used. [unreadVariable] src/autodock/torNorVec.cc:50:17: style: Variable 'magVec' is assigned a value that is never used. [unreadVariable] src/autodock/torNorVec.cc:51:18: style: Variable 'imagVec' is assigned a value that is never used. [unreadVariable] src/autodock/torNorVec.cc:104:24: style: Variable 'j' is assigned a value that is never used. [unreadVariable] src/autodock/readmap.cc:107:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readmap.cc:137:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readmap.cc:145:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readmap.cc:156:20: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/readmap.cc:63:10: style: The scope of the variable 'FldFileName' can be reduced. [variableScope] src/autodock/readmap.cc:64:10: style: The scope of the variable 'GpfName' can be reduced. [variableScope] src/autodock/readmap.cc:65:10: style: The scope of the variable 'mmFileName' can be reduced. [variableScope] src/autodock/readmap.cc:70:10: style: The scope of the variable 'atom_type_name' can be reduced. [variableScope] src/autodock/readmap.cc:82:18: style: The scope of the variable 'xyz' can be reduced. [variableScope] src/autodock/readmap.cc:91:11: style: The scope of the variable 'jobEnd' can be reduced. [variableScope] src/autodock/readmap.cc:92:11: style: The scope of the variable 'loadEnd' can be reduced. [variableScope] src/autodock/readmap.cc:300:24: style:inconclusive: Function 'mapc2f' argument 1 names different: declaration 'C_mapValue' definition 'numin'. [funcArgNamesDifferent] src/autodock/readmap.h:40:27: note: Function 'mapc2f' argument 1 names different: declaration 'C_mapValue' definition 'numin'. src/autodock/readmap.cc:300:24: note: Function 'mapc2f' argument 1 names different: declaration 'C_mapValue' definition 'numin'. src/autodock/readmap.cc:46:36: style: Parameter 'line' can be declared as const array [constParameter] src/autodock/readmap.cc:83:20: style: Variable 'i' is assigned a value that is never used. [unreadVariable] src/autodock/readmap.cc:84:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] src/autodock/trilinterp.cc:249:13: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] src/autodock/trilinterp.cc:201:10: style: Local variable 'w' shadows outer variable [shadowVariable] src/autodock/trilinterp.cc:93:35: note: Shadowed declaration src/autodock/trilinterp.cc:201:10: note: Shadow variable src/autodock/trilinterp.cc:201:32: style: Local variable 'v' shadows outer variable [shadowVariable] src/autodock/trilinterp.cc:93:30: note: Shadowed declaration src/autodock/trilinterp.cc:201:32: note: Shadow variable src/autodock/trilinterp.cc:201:54: style: Local variable 'u' shadows outer variable [shadowVariable] src/autodock/trilinterp.cc:93:25: note: Shadowed declaration src/autodock/trilinterp.cc:201:54: note: Shadow variable src/autodock/trilinterp.cc:198:8: style: Variable 'pu' can be declared as const array [constVariable] src/autodock/trilinterp.cc:199:8: style: Variable 'pv' can be declared as const array [constVariable] src/autodock/trilinterp.cc:200:8: style: Variable 'pw' can be declared as const array [constVariable] src/autodock/map_declare.h:5:10: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] src/autodock/trilinterp.cc:138:13: style: Variable 'u1' is assigned a value that is never used. [unreadVariable] src/autodock/trilinterp.cc:141:13: style: Variable 'v1' is assigned a value that is never used. [unreadVariable] src/autodock/trilinterp.cc:144:13: style: Variable 'w1' is assigned a value that is never used. [unreadVariable] src/autodock/trilinterp.cc:89:28: style: Variable 'ECzero' is not assigned a value. [unassignedVariable] src/autodock/warn_bad_file.cc:48:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autodock/support.cc:949:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] src/autodock/support.cc:698:12: warning: Member variable 'Phenotype::modified' is not initialized in the copy constructor. [uninitMemberVar] src/autodock/support.cc:670:12: warning: Member variable 'Phenotype::modified' is not initialized in the constructor. [uninitMemberVar] src/autodock/support.cc:729:23: warning: Member variable 'Phenotype::modified' is not assigned a value in 'Phenotype::operator='. [operatorEqVarError] src/autodock/support.cc:49:13: warning: Member variable 'Population::end_of_branch' is not initialized in the copy constructor. [uninitMemberVar] src/autodock/support.cc:49:13: warning: Member variable 'Population::best_e' is not initialized in the copy constructor. [uninitMemberVar] src/autodock/support.cc:49:13: warning: Member variable 'Population::best_i' is not initialized in the copy constructor. [uninitMemberVar] src/autodock/support.cc:49:13: warning: Member variable 'Population::nevals_last_pop_stats' is not initialized in the copy constructor. [uninitMemberVar] src/autodock/support.cc:966:25: warning: Member variable 'Population::end_of_branch' is not assigned a value in 'Population::operator='. [operatorEqVarError] src/autodock/support.cc:966:25: warning: Member variable 'Population::evaluate' is not assigned a value in 'Population::operator='. [operatorEqVarError] src/autodock/support.cc:966:25: warning: Member variable 'Population::best_e' is not assigned a value in 'Population::operator='. [operatorEqVarError] src/autodock/support.cc:966:25: warning: Member variable 'Population::best_i' is not assigned a value in 'Population::operator='. [operatorEqVarError] src/autodock/support.cc:966:25: warning: Member variable 'Population::nevals_last_pop_stats' is not assigned a value in 'Population::operator='. [operatorEqVarError] src/autodock/support.cc:81:18: performance:inconclusive: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). [functionStatic] src/autodock/support.h:364:12: note: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). src/autodock/support.cc:81:18: note: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). src/autodock/support.cc:274:14: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] src/autodock/support.cc:274:14: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] src/autodock/support.cc:274:14: warning: %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] src/autodock/support.cc:274:14: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] src/autodock/support.cc:396:19: warning: Either the condition 'output==NULL' is redundant or there is possible null pointer dereference: output. [nullPointerRedundantCheck] src/autodock/support.cc:395:15: note: Assuming that condition 'output==NULL' is not redundant src/autodock/support.cc:396:19: note: Null pointer dereference src/autodock/support.cc:202:21: style: C-style pointer casting [cstyleCast] src/autodock/support.cc:203:21: style: C-style pointer casting [cstyleCast] src/autodock/support.cc:295:9: style: C-style pointer casting [cstyleCast] src/autodock/support.cc:148:9: style: The scope of the variable 'error_message' can be reduced. [variableScope] src/autodock/support.cc:353:11: style: The scope of the variable 'thisValue' can be reduced. [variableScope] src/autodock/support.cc:389:11: style: The scope of the variable 'thisValue' can be reduced. [variableScope] src/autodock/support.cc:484:26: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/support.cc:512:26: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/support.cc:700:26: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/support.cc:781:26: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/support.cc:430:46: style: Parameter 'init_end_of_branch' can be declared as const array [constParameter] src/autodock/support.cc:940:52: style: Parameter 'returnedMol' can be declared as pointer to const [constParameterPointer] src/autodock/support.cc:949:17: style: Variable 'returnedMol' is assigned a value that is never used. [unreadVariable] src/autogrid/atom_parameter_manager.cpp:47:33: style: C-style pointer casting [cstyleCast] src/autogrid/banner.cpp:86:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] src/autogrid/banner.cpp:33:21: style: Parameter 'version_num' can be declared as pointer to const [constParameterPointer] src/autodock/weedbonds.cc:391:16: style: The if condition is the same as the previous if condition [duplicateCondition] src/autodock/weedbonds.cc:336:16: note: First condition src/autodock/weedbonds.cc:391:16: note: Second condition src/autodock/weedbonds.cc:54:9: style: The scope of the variable 'a11' can be reduced. [variableScope] src/autodock/weedbonds.cc:56:9: style: The scope of the variable 'a21' can be reduced. [variableScope] src/autodock/weedbonds.cc:58:9: style: The scope of the variable 'p11' can be reduced. [variableScope] src/autodock/weedbonds.cc:60:9: style: The scope of the variable 'p21' can be reduced. [variableScope] src/autodock/weedbonds.cc:254:18: style: The scope of the variable 'k' can be reduced. [variableScope] src/autodock/weedbonds.cc:255:9: style: The scope of the variable 'i_atmnum' can be reduced. [variableScope] src/autodock/weedbonds.cc:256:9: style: The scope of the variable 'j_atmnum' can be reduced. [variableScope] src/autodock/weedbonds.cc:259:9: style: The scope of the variable 'repflag' can be reduced. [variableScope] src/autodock/weedbonds.cc:260:9: style: The scope of the variable 'n_a' can be reduced. [variableScope] src/autodock/weedbonds.cc:241:27: style:inconclusive: Function 'print_nonbonds' argument 3 names different: declaration 'piece' definition 'rigid_piece'. [funcArgNamesDifferent] src/autodock/weedbonds.h:61:27: note: Function 'print_nonbonds' argument 3 names different: declaration 'piece' definition 'rigid_piece'. src/autodock/weedbonds.cc:241:27: note: Function 'print_nonbonds' argument 3 names different: declaration 'piece' definition 'rigid_piece'. src/autodock/weedbonds.cc:54:12: style: Variable 'a11' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:55:12: style: Variable 'a12' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:56:12: style: Variable 'a21' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:57:12: style: Variable 'a22' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:58:13: style: Variable 'p11' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:59:13: style: Variable 'p12' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:60:13: style: Variable 'p21' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:61:13: style: Variable 'p22' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:62:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:67:20: style: Variable 'k' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:253:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:254:20: style: Variable 'k' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:255:18: style: Variable 'i_atmnum' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:256:18: style: Variable 'j_atmnum' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:259:17: style: Variable 'repflag' is assigned a value that is never used. [unreadVariable] src/autodock/weedbonds.cc:260:13: style: Variable 'n_a' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:158:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NDIEL [valueFlowBailoutIncompleteVar] src/autogrid/check_size.cpp:64:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] src/autogrid/convertmap.cpp:4:1: error: syntax error [syntaxError] src/autogrid/distdepdiel.cpp:30:58: style:inconclusive: Function 'calc_ddd_Mehler_Solmajer' argument 2 names different: declaration 'aprrox_zero' definition 'approx_zero'. [funcArgNamesDifferent] src/autogrid/distdepdiel.h:30:58: note: Function 'calc_ddd_Mehler_Solmajer' argument 2 names different: declaration 'aprrox_zero' definition 'approx_zero'. src/autogrid/distdepdiel.cpp:30:58: note: Function 'calc_ddd_Mehler_Solmajer' argument 2 names different: declaration 'aprrox_zero' definition 'approx_zero'. src/autodock/writePDBQT.cc:142:2: warning: Buffer 'tlist' is too small, the function 'cnv_state_to_coords' expects a bigger buffer in 3rd argument [argumentSize] src/autodock/writePDBQT.cc:142:2: note: Function 'cnv_state_to_coords' is called src/autodock/cnv_state_to_coords.h:37:37: note: Declaration of 3rd function argument. src/autodock/writePDBQT.cc:63:14: note: Passing buffer 'tlist' to function that is declared here src/autodock/writePDBQT.cc:142:2: note: Buffer 'tlist' is too small, the function 'cnv_state_to_coords' expects a bigger buffer in 3rd argument src/autogrid/gpfparser.cpp:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_LEN [valueFlowBailoutIncompleteVar] src/autodock/writePDBQT.cc:91:6: style: The scope of the variable 'i' can be reduced. [variableScope] src/autodock/writePDBQT.cc:95:7: style: The scope of the variable 'MaxValue' can be reduced. [variableScope] src/autodock/writePDBQT.cc:96:7: style: The scope of the variable 'MinValue' can be reduced. [variableScope] src/autodock/writePDBQT.cc:101:10: style: The scope of the variable 'this_emap' can be reduced. [variableScope] src/autodock/writePDBQT.cc:102:10: style: The scope of the variable 'this_elec' can be reduced. [variableScope] src/autodock/writePDBQT.cc:255:13: style: The scope of the variable 'keyword_id' can be reduced. [variableScope] src/autogrid/calc_vina_potential.cpp:110:9: style: The scope of the variable 'hydrogen' can be reduced. [variableScope] src/autogrid/calc_vina_potential.cpp:113:9: style: The scope of the variable 'oxygen' can be reduced. [variableScope] src/autogrid/calc_vina_potential.cpp:114:9: style: The scope of the variable 'nitrogen' can be reduced. [variableScope] src/autogrid/calc_vina_potential.cpp:115:9: style: The scope of the variable 'fluorine' can be reduced. [variableScope] src/autogrid/calc_vina_potential.cpp:116:9: style: The scope of the variable 'chlorine' can be reduced. [variableScope] src/autogrid/calc_vina_potential.cpp:117:9: style: The scope of the variable 'bromine' can be reduced. [variableScope] src/autogrid/calc_vina_potential.cpp:118:9: style: The scope of the variable 'iodine' can be reduced. [variableScope] src/autodock/writePDBQT.cc:324:30: style:inconclusive: Function 'print_PDBQT' argument 5 names different: declaration 'crdpdb' definition 'crd'. [funcArgNamesDifferent] src/autodock/writePDBQT.h:85:30: note: Function 'print_PDBQT' argument 5 names different: declaration 'crdpdb' definition 'crd'. src/autodock/writePDBQT.cc:324:30: note: Function 'print_PDBQT' argument 5 names different: declaration 'crdpdb' definition 'crd'. src/autogrid/calc_vina_potential.cpp:121:22: style: Variable 'lig_parm' can be declared as pointer to const [constVariablePointer] src/autogrid/calc_vina_potential.cpp:122:22: style: Variable 'rec_parm' can be declared as pointer to const [constVariablePointer] src/autogrid/calc_vina_potential.cpp:234:32: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autogrid/calc_vina_potential.cpp:269:32: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autogrid/calc_vina_potential.cpp:283:47: warning: Uninitialized variable: i [uninitvar] src/autogrid/calc_vina_potential.cpp:124:18: note: Assuming condition is false src/autogrid/calc_vina_potential.cpp:283:47: note: Uninitialized variable: i src/autogrid/calc_vina_potential.cpp:283:50: warning: Uninitialized variable: indx_r [uninitvar] src/autogrid/calc_vina_potential.cpp:124:18: note: Assuming condition is false src/autogrid/calc_vina_potential.cpp:283:50: note: Uninitialized variable: indx_r src/autogrid/calc_vina_potential.cpp:284:84: warning: Uninitialized variable: rddist [uninitvar] src/autogrid/calc_vina_potential.cpp:124:18: note: Assuming condition is false src/autogrid/calc_vina_potential.cpp:284:84: note: Uninitialized variable: rddist src/autogrid/calc_vina_potential.cpp:110:17: style: Variable 'hydrogen' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:113:15: style: Variable 'oxygen' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:114:17: style: Variable 'nitrogen' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:115:17: style: Variable 'fluorine' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:116:17: style: Variable 'chlorine' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:117:16: style: Variable 'bromine' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:118:15: style: Variable 'iodine' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:119:18: style: Variable 'lig_hbond' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:120:18: style: Variable 'rec_hbond' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:138:61: style: Variable 'hydrogen' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:141:59: style: Variable 'oxygen' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:142:61: style: Variable 'nitrogen' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:143:61: style: Variable 'fluorine' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:144:62: style: Variable 'chlorine' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:145:61: style: Variable 'bromine' is assigned a value that is never used. [unreadVariable] src/autogrid/calc_vina_potential.cpp:146:59: style: Variable 'iodine' is assigned a value that is never used. [unreadVariable] src/autodock/writePDBQT.cc:91:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] src/autodock/writePDBQT.cc:101:20: style: Variable 'this_emap' is assigned a value that is never used. [unreadVariable] src/autodock/writePDBQT.cc:102:20: style: Variable 'this_elec' is assigned a value that is never used. [unreadVariable] src/autodock/writePDBQT.cc:255:24: style: Variable 'keyword_id' is assigned a value that is never used. [unreadVariable] src/autogrid/init_gridmap.cpp:115:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] src/autogrid/main.cpp:1412:44: error: There is an unknown macro here somewhere. Configuration is required. If FDFMT2 is a macro then please configure it. [unknownMacro] src/autodock/torsion.cc:67:21: style: The scope of the variable 's' can be reduced. [variableScope] src/autodock/torsion.cc:67:24: style: The scope of the variable 'c' can be reduced. [variableScope] src/autodock/torsion.cc:67:27: style: The scope of the variable 'o' can be reduced. [variableScope] src/autodock/torsion.cc:67:30: style: The scope of the variable 'vni' can be reduced. [variableScope] src/autodock/torsion.cc:67:35: style: The scope of the variable 'this_tor' can be reduced. [variableScope] src/autodock/torsion.cc:68:31: style: The scope of the variable 'atmnum' can be reduced. [variableScope] src/autodock/torsion.cc:68:39: style: The scope of the variable 'numatmmoved' can be reduced. [variableScope] src/autogrid/init_gridmap.cpp:60:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:60:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:61:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:61:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:62:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:62:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:63:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:63:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:64:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:64:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:65:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:65:20: note: Null pointer dereference src/autogrid/init_gridmap.cpp:66:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:66:20: note: Null pointer dereference src/autogrid/init_gridmap.cpp:67:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:67:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:68:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:68:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:69:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:69:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:70:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:70:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:71:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:71:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:72:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:72:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:73:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:73:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:74:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:74:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:75:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:75:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:76:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:76:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:77:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:77:13: note: Null pointer dereference src/autogrid/init_gridmap.cpp:80:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:80:17: note: Null pointer dereference src/autogrid/init_gridmap.cpp:81:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:81:17: note: Null pointer dereference src/autogrid/init_gridmap.cpp:82:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:82:17: note: Null pointer dereference src/autogrid/init_gridmap.cpp:83:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:83:17: note: Null pointer dereference src/autogrid/init_gridmap.cpp:84:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gridmap [nullPointerOutOfMemory] src/autogrid/init_gridmap.cpp:51:38: note: Assuming allocation function fails src/autogrid/init_gridmap.cpp:51:19: note: Assignment 'gridmap=(struct MapObject*)malloc(sizeof(struct MapObject)*num_maps)', assigned value is 0 src/autogrid/init_gridmap.cpp:84:17: note: Null pointer dereference src/autogrid/init_gridmap.cpp:51:19: style: C-style pointer casting [cstyleCast] src/autogrid/init_gridmap.cpp:93:25: style: C-style pointer casting [cstyleCast] src/autogrid/setflags.cpp:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] src/autogrid/init_gridmap.cpp:114:30: style: Variable 'found_parm' can be declared as pointer to const [constVariablePointer] src/autogrid/strindex.cpp:31:20: style: Parameter 's' can be declared as const array [constParameter] src/autogrid/strindex.cpp:31:30: style: Parameter 't' can be declared as const array [constParameter] src/autogrid/setflags.cpp:44:44: style:inconclusive: Function 'setflags' argument 3 names different: declaration 'version_num' definition 'version'. [funcArgNamesDifferent] src/autogrid/prototypes.h:33:49: note: Function 'setflags' argument 3 names different: declaration 'version_num' definition 'version'. src/autogrid/setflags.cpp:44:44: note: Function 'setflags' argument 3 names different: declaration 'version_num' definition 'version'. src/autogrid/setflags.cpp:44:44: style: Parameter 'version' can be declared as pointer to const [constParameterPointer] src/autodock/simanneal.cc:256:9: warning: Buffer 'tlist' is too small, the function 'getInitialState' expects a bigger buffer in 26th argument [argumentSize] src/autodock/simanneal.cc:256:9: note: Function 'getInitialState' is called src/autodock/getInitialState.h:71:25: note: Declaration of 26th function argument. src/autodock/simanneal.cc:90:29: note: Passing buffer 'tlist' to function that is declared here src/autodock/simanneal.cc:256:9: note: Buffer 'tlist' is too small, the function 'getInitialState' expects a bigger buffer in 26th argument src/autodock/simanneal.cc:322:17: warning: Buffer 'tlist' is too small, the function 'mkNewState' expects a bigger buffer in 5th argument [argumentSize] src/autodock/simanneal.cc:322:17: note: Function 'mkNewState' is called src/autodock/mkNewState.h:46:31: note: Declaration of 5th function argument. src/autodock/simanneal.cc:90:29: note: Passing buffer 'tlist' to function that is declared here src/autodock/simanneal.cc:322:17: note: Buffer 'tlist' is too small, the function 'mkNewState' expects a bigger buffer in 5th argument src/autodock/simanneal.cc:500:17: warning: Buffer 'tlist' is too small, the function 'getInitialState' expects a bigger buffer in 26th argument [argumentSize] src/autodock/simanneal.cc:500:17: note: Function 'getInitialState' is called src/autodock/getInitialState.h:71:25: note: Declaration of 26th function argument. src/autodock/simanneal.cc:90:29: note: Passing buffer 'tlist' to function that is declared here src/autodock/simanneal.cc:500:17: note: Buffer 'tlist' is too small, the function 'getInitialState' expects a bigger buffer in 26th argument src/autodock/simanneal.cc:622:9: warning: Buffer 'tlist' is too small, the function 'cnv_state_to_coords' expects a bigger buffer in 3rd argument [argumentSize] src/autodock/simanneal.cc:622:9: note: Function 'cnv_state_to_coords' is called src/autodock/cnv_state_to_coords.h:37:37: note: Declaration of 3rd function argument. src/autodock/simanneal.cc:90:29: note: Passing buffer 'tlist' to function that is declared here src/autodock/simanneal.cc:622:9: note: Buffer 'tlist' is too small, the function 'cnv_state_to_coords' expects a bigger buffer in 3rd argument src/autodock/simanneal.cc:591:18: style: The if condition is the same as the previous if condition [duplicateCondition] src/autodock/simanneal.cc:590:18: note: First condition src/autodock/simanneal.cc:591:18: note: Second condition src/autodock/simanneal.cc:168:10: style: The scope of the variable 'eLast' can be reduced. [variableScope] src/autodock/simanneal.cc:169:10: style: The scope of the variable 'eMin' can be reduced. [variableScope] src/autodock/simanneal.cc:171:10: style: The scope of the variable 'inv_RT' can be reduced. [variableScope] src/autodock/simanneal.cc:172:10: style: The scope of the variable 'qtwStep' can be reduced. [variableScope] src/autodock/simanneal.cc:173:10: style: The scope of the variable 'RT' can be reduced. [variableScope] src/autodock/simanneal.cc:175:10: style: The scope of the variable 'torStep' can be reduced. [variableScope] src/autodock/simanneal.cc:176:10: style: The scope of the variable 'trnStep' can be reduced. [variableScope] src/autodock/simanneal.cc:201:11: style: The scope of the variable 'jobEnd' can be reduced. [variableScope] src/autodock/simanneal.cc:152:36: style: Variable 'local_unbound_internal_FE' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:164:12: style: Variable 'e' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:166:17: style: Variable 'einter' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:167:17: style: Variable 'eintra' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:168:16: style: Variable 'eLast' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:169:15: style: Variable 'eMin' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:170:15: style: Variable 'etot' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:171:17: style: Variable 'inv_RT' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:173:13: style: Variable 'RT' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:179:21: style: Variable 'B_inRange' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:184:14: style: Variable 'Itor' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:188:20: style: Variable 'i' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:189:23: style: Variable 'nacc' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:190:23: style: Variable 'nAcc' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:191:27: style: Variable 'nAccProb' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:192:24: style: Variable 'nedge' is assigned a value that is never used. [unreadVariable] src/autodock/simanneal.cc:193:23: style: Variable 'nrej' is assigned a value that is never used. [unreadVariable] src/autodock/mingw_sysconf.h:21:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLK_TCK [valueFlowBailoutIncompleteVar] src/autodock/main.cc:223:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] src/autodock/main.cc:929:19: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] src/autodock/main.cc:929:19: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] src/autodock/main.cc:1396:5: portability: %ld in format string (no. 5) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] src/autodock/main.cc:1403:5: portability: %ld in format string (no. 5) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] src/autodock/main.cc:777:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:918:49: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:929:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:948:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:1025:38: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:1088:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:1121:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:1900:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2028:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2068:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2132:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2320:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2540:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2556:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2651:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2695:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2746:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:2811:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:4216:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:4646:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:4778:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:4820:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:4863:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:4877:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:5002:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:5002:41: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] src/autodock/main.cc:561:8: style: C-style pointer casting [cstyleCast] src/autodock/main.cc:563:20: style: C-style pointer casting [cstyleCast] src/autodock/main.cc:565:25: style: C-style pointer casting [cstyleCast] src/autodock/main.cc:1394:15: style: C-style pointer casting [cstyleCast] src/autodock/main.cc:3117:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:3118:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:3121:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:3335:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:3361:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:4011:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:4076:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:4364:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:4382:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:4511:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:4528:74: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] src/autodock/main.cc:1099:17: style: Variable 'nfields' is reassigned a value before the old one has been used. [redundantAssignment] src/autodock/main.cc:1088:17: note: nfields is assigned src/autodock/main.cc:1099:17: note: nfields is overwritten src/autodock/main.cc:4438:13: style: Variable 'B_calcIntElec' is assigned an expression that holds the same value. [redundantAssignment] src/autodock/main.cc:4326:33: note: B_calcIntElec_saved is assigned 'B_calcIntElec' here. src/autodock/main.cc:4438:13: note: Variable 'B_calcIntElec' is assigned an expression that holds the same value. src/autodock/main.cc:1920:28: style: The scope of the variable 'vec_reorient_axis' can be reduced. [variableScope] src/autodock/main.cc:3505:20: style: The scope of the variable 'runEnd' can be reduced. [variableScope] src/autodock/main.cc:364:15: style: Local variable 'ad4_unbound_model' shadows outer variable [shadowVariable] src/autodock/autoglobal.h:92:15: note: Shadowed declaration src/autodock/main.cc:364:15: note: Shadow variable src/autodock/main.cc:1159:8: style: Local variable 'j' shadows outer variable [shadowVariable] src/autodock/main.cc:481:14: note: Shadowed declaration src/autodock/main.cc:1159:8: note: Shadow variable src/autodock/main.cc:2319:6: style: Local variable 'xA' shadows outer variable [shadowVariable] src/autodock/main.cc:374:5: note: Shadowed declaration src/autodock/main.cc:2319:6: note: Shadow variable src/autodock/main.cc:2319:10: style: Local variable 'xB' shadows outer variable [shadowVariable] src/autodock/main.cc:375:5: note: Shadowed declaration src/autodock/main.cc:2319:10: note: Shadow variable src/autodock/main.cc:2364:22: style: Local variable 'i' shadows outer variable [shadowVariable] src/autodock/main.cc:480:14: note: Shadowed declaration src/autodock/main.cc:2364:22: note: Shadow variable src/autodock/main.cc:3519:39: style: Local variable 'xyz' shadows outer variable [shadowVariable] src/autodock/main.cc:484:14: note: Shadowed declaration src/autodock/main.cc:3519:39: note: Shadow variable src/autodock/main.cc:3652:12: style: Local variable 'j' shadows outer variable [shadowVariable] src/autodock/main.cc:481:14: note: Shadowed declaration src/autodock/main.cc:3652:12: note: Shadow variable src/autodock/main.cc:4707:18: style: Local variable 'i' shadows outer variable [shadowVariable] src/autodock/main.cc:480:14: note: Shadowed declaration src/autodock/main.cc:4707:18: note: Shadow variable src/autodock/conformation_sampler.h:105:60: performance: Function parameter 'state' should be passed by const reference. [passedByValue] src/autodock/intnbtable.h:43:39: performance: Function parameter 'AD4' should be passed by const reference. [passedByValue] src/autodock/main.cc:4977:60: performance: Function parameter 'keyword' should be passed by const reference. [passedByValue] src/autodock/main.cc:4993:28: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] src/autodock/main.cc:1638:37: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] src/autodock/main.cc:424:17: style: Variable 'dpf_keyword' is assigned a value that is never used. [unreadVariable] diff: head src/autodock/atom_parameter_manager.cc:50:33: style: C-style pointer casting [cstyleCast] 2.17.0 src/autodock/atom_parameter_manager.cc:50:34: style: C-style pointer casting [cstyleCast] head src/autodock/conformation_sampler.cc:349:27: style: Unused private function: 'ConformationSampler::normalized_volume' [unusedPrivateFunction] src/autodock/conformation_sampler.h:86:8: note: Unused private function: 'ConformationSampler::normalized_volume' src/autodock/conformation_sampler.cc:349:27: note: Unused private function: 'ConformationSampler::normalized_volume' head src/autodock/conformation_sampler.cc:357:27: style: Unused private function: 'ConformationSampler::normalized_Boltzmann' [unusedPrivateFunction] src/autodock/conformation_sampler.h:87:8: note: Unused private function: 'ConformationSampler::normalized_Boltzmann' src/autodock/conformation_sampler.cc:357:27: note: Unused private function: 'ConformationSampler::normalized_Boltzmann' head src/autodock/conformation_sampler.cc:99:10: style: Variable 'base_q' is assigned a value that is never used. [unreadVariable] 2.17.0 src/autodock/conformation_sampler.h:86:8: style: Unused private function: 'ConformationSampler::normalized_volume' [unusedPrivateFunction] 2.17.0 src/autodock/conformation_sampler.h:87:8: style: Unused private function: 'ConformationSampler::normalized_Boltzmann' [unusedPrivateFunction] 2.17.0 src/autodock/eval.h:141:20: style:inconclusive: Technically the member function 'Eval::evals' can be const. [functionConst] src/autodock/eval.h:267:27: note: Technically the member function 'Eval::evals' can be const. src/autodock/eval.h:141:20: note: Technically the member function 'Eval::evals' can be const. head src/autodock/eval.h:267:27: style:inconclusive: Technically the member function 'Eval::evals' can be const. [functionConst] src/autodock/eval.h:141:20: note: Technically the member function 'Eval::evals' can be const. src/autodock/eval.h:267:27: note: Technically the member function 'Eval::evals' can be const. head src/autodock/gs.cc:264:27: performance:inconclusive: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). [functionStatic] src/autodock/gs.h:107:14: note: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). src/autodock/gs.cc:264:27: note: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). head src/autodock/gs.cc:427:25: style:inconclusive: Technically the member function 'Genetic_Algorithm::mutate' can be const. [functionConst] src/autodock/gs.h:108:12: note: Technically the member function 'Genetic_Algorithm::mutate' can be const. src/autodock/gs.cc:427:25: note: Technically the member function 'Genetic_Algorithm::mutate' can be const. 2.17.0 src/autodock/gs.h:107:14: performance:inconclusive: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). [functionStatic] src/autodock/gs.cc:264:27: note: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). src/autodock/gs.h:107:14: note: Technically the member function 'Genetic_Algorithm::m_type' can be static (but you may consider moving to unnamed namespace). 2.17.0 src/autodock/gs.h:108:12: style:inconclusive: Technically the member function 'Genetic_Algorithm::mutate' can be const. [functionConst] src/autodock/gs.cc:427:25: note: Technically the member function 'Genetic_Algorithm::mutate' can be const. src/autodock/gs.h:108:12: note: Technically the member function 'Genetic_Algorithm::mutate' can be const. 2.17.0 src/autodock/main.cc:3117:8: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:3117:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:3118:8: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:3118:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:3121:16: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:3121:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:3335:18: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:3335:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:3361:62: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:3361:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:4011:10: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:4011:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:4076:70: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:4076:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:4364:14: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:4364:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:4382:70: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:4382:70: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:4511:18: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:4511:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/main.cc:4528:74: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:4528:74: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head src/autodock/main.cc:4977:60: performance: Function parameter 'keyword' should be passed by const reference. [passedByValue] head src/autodock/main.cc:5002:41: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] head src/autodock/main.cc:561:8: style: C-style pointer casting [cstyleCast] 2.17.0 src/autodock/main.cc:561:9: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:563:20: style: C-style pointer casting [cstyleCast] 2.17.0 src/autodock/main.cc:563:21: style: C-style pointer casting [cstyleCast] head src/autodock/main.cc:565:25: style: C-style pointer casting [cstyleCast] 2.17.0 src/autodock/main.cc:565:26: style: C-style pointer casting [cstyleCast] head src/autodock/rep.cc:557:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/rep.cc:557:15: style: C-style reference casting [cstyleCast] head src/autodock/rep.cc:558:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 src/autodock/rep.cc:558:16: style: C-style reference casting [cstyleCast] 2.17.0 src/autodock/stack.cc:13:10: style: C-style pointer casting [cstyleCast] head src/autodock/stack.cc:13:9: style: C-style pointer casting [cstyleCast] head src/autodock/support.cc:81:18: performance:inconclusive: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). [functionStatic] src/autodock/support.h:364:12: note: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). src/autodock/support.cc:81:18: note: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). 2.17.0 src/autodock/support.h:364:12: performance:inconclusive: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). [functionStatic] src/autodock/support.cc:81:18: note: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). src/autodock/support.h:364:12: note: Technically the member function 'Population::swap' can be static (but you may consider moving to unnamed namespace). head src/autogrid/init_gridmap.cpp:51:19: style: C-style pointer casting [cstyleCast] 2.17.0 src/autogrid/init_gridmap.cpp:51:20: style: C-style pointer casting [cstyleCast] DONE