2025-05-07 03:42 ftp://ftp.de.debian.org/debian/pool/main/p/pktools/pktools_2.6.7.6+ds.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 1332 1263 elapsed-time: 7.4 7.5 head-timing-info: old-timing-info: head results: PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:45:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:113:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:174:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:133:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:26:7: warning:inconclusive: Member variable 'Egcs::m_level' is not initialized in the constructor. [uninitMemberVar] PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:39:22: performance:inconclusive: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:33:18: note: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:39:22: note: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:59:22: performance:inconclusive: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:38:18: note: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:59:22: note: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:30:3: style: Class 'Egcs' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:164:35: style:inconclusive: Function 'geo2cell' argument 1 names different: declaration 'x' definition 'geoX'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:34:31: note: Function 'geo2cell' argument 1 names different: declaration 'x' definition 'geoX'. PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:164:35: note: Function 'geo2cell' argument 1 names different: declaration 'x' definition 'geoX'. PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:164:48: style:inconclusive: Function 'geo2cell' argument 2 names different: declaration 'y' definition 'geoY'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:34:41: note: Function 'geo2cell' argument 2 names different: declaration 'y' definition 'geoY'. PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:164:48: note: Function 'geo2cell' argument 2 names different: declaration 'y' definition 'geoY'. PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:166:10: style: Variable 'xcel' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:167:10: style: Variable 'ycel' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:194:13: style:inconclusive: Member variable 'ConfusionMatrix::m_format' is in the wrong place in the initializer list. [initializerList] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:33:42: note: Member variable 'ConfusionMatrix::m_format' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:194:13: note: Member variable 'ConfusionMatrix::m_format' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:35:3: style: Class 'ConfusionMatrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:36:3: style: Class 'ConfusionMatrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:68:28: performance: Function 'getClassNames()' should return member 'm_classes' by const reference. [returnByReference] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:126:12: style: The scope of the variable 'dua' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:127:12: style: The scope of the variable 'dpa' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:184:56: style:inconclusive: Function 'nClassified' argument 1 names different: declaration 'theRef' definition 'theClass'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:49:41: note: Function 'nClassified' argument 1 names different: declaration 'theRef' definition 'theClass'. PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:184:56: note: Function 'nClassified' argument 1 names different: declaration 'theRef' definition 'theClass'. PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:52:33: performance: Function parameter 'className' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:87:36: performance: Function parameter 'theFormat' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:90:54: performance: Function parameter 'theFormat' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:55:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:237:18: error: Uninitialized variable: dva [legacyUninitvar] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:126:15: style: Variable 'dua' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:127:15: style: Variable 'dpa' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:130:9: style: Variable 'doa' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:102:24: style: Unused variable: streamLine [unusedVariable] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:252:17: style: Variable 'pChance' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:252:10: style: Variable 'pChance' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:32:3: warning:inconclusive: Member variable 'CostFactory::m_cv' is not initialized in the constructor. [uninitMemberVar] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:32:3: warning:inconclusive: Member variable 'CostFactory::m_classvalue' is not initialized in the constructor. [uninitMemberVar] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:32:3: warning:inconclusive: Member variable 'CostFactory::m_verbose' is not initialized in the constructor. [uninitMemberVar] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:33:3: warning: Member variable 'CostFactory::m_classvalue' is not initialized in the constructor. [uninitMemberVar] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:38:31: style:inconclusive: Technically the member function 'CostFactory::getClassValueMap' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:39:28: style:inconclusive: Technically the member function 'CostFactory::getNameVector' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.h:39:2: style: The destructor '~CostFactorySVM' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:35:12: note: Virtual destructor in base class PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.h:39:2: note: Destructor in derived class PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.h:40:8: style: The function 'getCost' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:49:18: note: Virtual function in base class PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.h:40:8: note: Function in derived class PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:38:31: performance: Function 'getClassValueMap()' should return member 'm_classValueMap' by const reference. [returnByReference] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:39:28: performance: Function 'getNameVector()' should return member 'm_nameVector' by const reference. [returnByReference] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:96:9: warning: If memory allocation fails, then there is a possible null pointer dereference: x_space [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:88:13: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:88:13: note: Assignment 'x_space=(struct svm_node*)malloc(((nFeatures+1)*ntraining)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:96:9: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:97:9: warning: If memory allocation fails, then there is a possible null pointer dereference: x_space [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:88:13: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:88:13: note: Assignment 'x_space=(struct svm_node*)malloc(((nFeatures+1)*ntraining)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:97:9: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:100:7: warning: If memory allocation fails, then there is a possible null pointer dereference: x_space [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:88:13: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:88:13: note: Assignment 'x_space=(struct svm_node*)malloc(((nFeatures+1)*ntraining)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:100:7: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:123:42: warning: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:118:22: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:118:22: note: Assignment 'target=(double*)malloc(prob.l*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:123:42: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:138:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x_test [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:134:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:134:14: note: Assignment 'x_test=(struct svm_node*)malloc((nFeatures+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:138:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:139:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x_test [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:134:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:134:14: note: Assignment 'x_test=(struct svm_node*)malloc((nFeatures+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:139:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:141:2: warning: If memory allocation fails, then there is a possible null pointer dereference: x_test [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:134:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:134:14: note: Assignment 'x_test=(struct svm_node*)malloc((nFeatures+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:141:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:86:12: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:87:12: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:88:13: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:118:22: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/CostFactorySVM.cc:134:14: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:41:33: performance: Function parameter 'classname' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:43:38: performance: Function parameter 'classname' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:45:33: performance: Function parameter 'classname' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:46:54: performance: Function parameter 'nctraining' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:47:50: performance: Function parameter 'nctest' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h:40:48: style: Parameter 'nameVector' can be declared as reference to const [constParameterReference] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:71:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_interp_polynomial [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:104:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_rng_mt19937 [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:968:147: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1072:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1148:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:52:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_wavelet_daubechies [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:249:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:341:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:68:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:99:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:130:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:161:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:267:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:301:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:343:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:379:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:441:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:515:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:552:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:616:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:691:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:48:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_Float64 [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:109:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_Float64 [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:170:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_Float64 [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:247:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_Float64 [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:298:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_Float64 [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:349:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_Float64 [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:263:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:615:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_rng_default [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:697:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:838:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:932:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1026:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1215:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1246:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1293:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1341:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:89:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:202:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:361:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:718:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:853:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:977:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1174:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1184:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1222:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDALTermProgress [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.h:44:9: style:inconclusive: Member variable 'ImgRegression::m_down' is in the wrong place in the initializer list. [initializerList] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:26:19: note: Member variable 'ImgRegression::m_down' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.h:44:9: note: Member variable 'ImgRegression::m_down' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:52:22: performance:inconclusive: Technically the member function 'statfactory::StatFactory::getInterpolationType' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:57:21: performance:inconclusive: Technically the member function 'statfactory::StatFactory::getDistributionType' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:124:10: performance:inconclusive: Technically the member function 'statfactory::StatFactory::getRandomValue' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1285:40: performance:inconclusive: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:188:28: note: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1285:40: note: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1381:39: performance:inconclusive: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:191:28: note: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1381:39: note: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1447:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:193:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1447:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1525:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:197:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1525:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1555:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:198:26: note: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1555:37: note: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1584:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:199:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1584:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1608:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:200:26: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1608:37: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1635:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:201:26: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1635:37: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:239:17: style: Comparing expression of type 'unsigned short' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:241:17: style: Comparing expression of type 'unsigned short' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:290:17: style: Comparing expression of type 'unsigned short' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:292:17: style: Comparing expression of type 'unsigned short' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:341:17: style: Comparing expression of type 'unsigned short' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/algorithms/ImgRegression.cc:343:17: style: Comparing expression of type 'unsigned short' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1311:6: style: Condition 'i<0' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1303:16: note: Assignment 'i=0', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1311:6: note: Condition 'i<0' is always false PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1321:6: style: Condition 'j<0' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1305:13: note: Assuming that condition 'j<0' is not redundant PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1316:6: note: Assuming condition is false PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1321:6: note: Condition 'j<0' is always false PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1543:22: style: Condition 'il*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1916:25: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1920:8: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assignment 'perm=(int*)malloc(prob->l*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1920:8: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1920:16: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assignment 'perm=(int*)malloc(prob->l*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1920:16: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1936:27: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assignment 'perm=(int*)malloc(prob->l*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1936:27: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1937:27: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assignment 'perm=(int*)malloc(prob->l*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1937:27: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2006:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ymv [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assignment 'ymv=(double*)malloc(prob->l*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2006:3: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2006:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ymv [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assignment 'ymv=(double*)malloc(prob->l*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2006:21: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2007:15: warning: If memory allocation fails, then there is a possible null pointer dereference: ymv [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assignment 'ymv=(double*)malloc(prob->l*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2007:15: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2014:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ymv [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assignment 'ymv=(double*)malloc(prob->l*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2014:12: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2049:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data_label [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2034:20: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2034:20: note: Assignment 'data_label=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2049:3: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2065:2: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2065:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2067:3: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2067:3: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2067:14: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2067:14: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2070:8: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2070:8: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2071:5: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2071:5: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2073:2: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2073:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2075:3: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2075:3: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2075:14: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2075:14: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2090:2: warning: If memory allocation fails, then there is a possible null pointer dereference: model [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2089:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2089:21: note: Assignment 'model=(svm_model*)malloc(1*sizeof(svm_model))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2090:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2091:2: warning: If memory allocation fails, then there is a possible null pointer dereference: model [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2089:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2089:21: note: Assignment 'model=(svm_model*)malloc(1*sizeof(svm_model))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2091:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2152:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2149:18: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2149:18: note: Assignment 'x=(svm_node**)malloc((l)*sizeof(svm_node*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2152:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2152:19: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2142:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2142:15: note: Assignment 'perm=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2152:19: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2158:4: warning: If memory allocation fails, then there is a possible null pointer dereference: weighted_C [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2156:24: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2156:24: note: Assignment 'weighted_C=(double*)malloc((nr_class)*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2158:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2175:4: warning: If memory allocation fails, then there is a possible null pointer dereference: nonzero [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2173:19: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2173:19: note: Assignment 'nonzero=(bool*)malloc((l)*sizeof(bool))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2175:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2263:4: warning: If memory allocation fails, then there is a possible null pointer dereference: nz_count [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2251:19: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2251:19: note: Assignment 'nz_count=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2263:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2276:3: warning: If memory allocation fails, then there is a possible null pointer dereference: nz_start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assignment 'nz_start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2276:3: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2278:4: warning: If memory allocation fails, then there is a possible null pointer dereference: nz_start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assignment 'nz_start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2278:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2278:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nz_start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assignment 'nz_start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2278:18: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2297:13: warning: If memory allocation fails, then there is a possible null pointer dereference: nz_start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assignment 'nz_start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2297:13: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2351:4: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: note: Assignment 'index=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2351:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2356:10: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: note: Assignment 'index=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2356:10: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2356:28: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: note: Assignment 'index=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2356:28: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2360:4: warning: If memory allocation fails, then there is a possible null pointer dereference: fold_count [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2347:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2347:21: note: Assignment 'fold_count=(int*)malloc((nr_fold)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2360:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2401:15: warning: If memory allocation fails, then there is a possible null pointer dereference: fold_start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2331:20: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2331:20: note: Assignment 'fold_start=(int*)malloc((nr_fold+1)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2401:15: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2402:13: warning: If memory allocation fails, then there is a possible null pointer dereference: fold_start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2331:20: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2331:20: note: Assignment 'fold_start=(int*)malloc((nr_fold+1)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2402:13: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2413:27: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: note: Assignment 'perm=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2413:27: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2414:27: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: note: Assignment 'perm=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2414:27: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2419:27: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: note: Assignment 'perm=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2419:27: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2420:27: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: note: Assignment 'perm=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2420:27: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2499:4: warning: If memory allocation fails, then there is a possible null pointer dereference: kvalue [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2497:20: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2497:20: note: Assignment 'kvalue=(double*)malloc((l)*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2499:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2502:3: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2502:3: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2504:4: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2504:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2504:15: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2504:15: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2508:4: warning: If memory allocation fails, then there is a possible null pointer dereference: vote [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2506:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2506:15: note: Assignment 'vote=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2508:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2515:14: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2515:14: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2516:14: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2516:14: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2578:4: warning: If memory allocation fails, then there is a possible null pointer dereference: pairwise_prob [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assignment 'pairwise_prob=(double**)malloc((nr_class)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2578:4: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2583:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pairwise_prob [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assignment 'pairwise_prob=(double**)malloc((nr_class)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2583:5: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2583:49: warning: If memory allocation fails, then there is a possible null pointer dereference: dec_values [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2572:24: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2572:24: note: Assignment 'dec_values=(double*)malloc((nr_class*(nr_class-1)/2)*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2583:49: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2584:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pairwise_prob [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assignment 'pairwise_prob=(double**)malloc((nr_class)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2584:5: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2584:27: warning: If memory allocation fails, then there is a possible null pointer dereference: pairwise_prob [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assignment 'pairwise_prob=(double**)malloc((nr_class)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2584:27: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2739:25: warning: If memory allocation fails, then there is a possible null pointer dereference: model [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assignment 'model=(svm_model*)malloc(1*sizeof(svm_model))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2739:25: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2740:2: warning: If memory allocation fails, then there is a possible null pointer dereference: model [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assignment 'model=(svm_model*)malloc(1*sizeof(svm_model))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2740:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2741:2: warning: If memory allocation fails, then there is a possible null pointer dereference: model [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assignment 'model=(svm_model*)malloc(1*sizeof(svm_model))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2741:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2742:2: warning: If memory allocation fails, then there is a possible null pointer dereference: model [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assignment 'model=(svm_model*)malloc(1*sizeof(svm_model))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2742:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2743:2: warning: If memory allocation fails, then there is a possible null pointer dereference: model [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assignment 'model=(svm_model*)malloc(1*sizeof(svm_model))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2743:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2744:2: warning: If memory allocation fails, then there is a possible null pointer dereference: model [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: note: Assignment 'model=(svm_model*)malloc(1*sizeof(svm_model))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2744:2: note: Null pointer dereference PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:26:9: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:26:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:98:9: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:148:13: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1662:18: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1735:12: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1846:13: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1847:13: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1853:8: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1913:23: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1930:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1931:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1968:28: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1969:22: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2032:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2033:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2034:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2055:13: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2056:13: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2089:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2102:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2108:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2113:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2121:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2122:23: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2142:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2149:18: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2156:24: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2173:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2176:26: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2181:10: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2182:10: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2193:18: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2194:18: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2226:18: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2230:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2236:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2237:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2251:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2252:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2270:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2280:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2282:24: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2331:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2333:14: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2347:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2407:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2408:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2427:27: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2497:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2506:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2556:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2558:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2572:24: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2578:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2720:10: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2738:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2814:17: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2821:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2828:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2835:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2842:17: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2875:9: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2895:19: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2898:23: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2899:14: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2901:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2946:8: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:3063:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:3064:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:3082:14: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:3083:14: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:801:9: style:inconclusive: Same expression used in consecutive assignments of 'Gmax' and 'Gmax2'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:802:9: note: Same expression used in consecutive assignments of 'Gmax' and 'Gmax2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:801:9: note: Same expression used in consecutive assignments of 'Gmax' and 'Gmax2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:915:9: style:inconclusive: Same expression used in consecutive assignments of 'Gmax1' and 'Gmax2'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:916:9: note: Same expression used in consecutive assignments of 'Gmax1' and 'Gmax2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:915:9: note: Same expression used in consecutive assignments of 'Gmax1' and 'Gmax2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1044:9: style:inconclusive: Same expression used in consecutive assignments of 'Gmaxp' and 'Gmaxp2'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1045:9: note: Same expression used in consecutive assignments of 'Gmaxp' and 'Gmaxp2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1044:9: note: Same expression used in consecutive assignments of 'Gmaxp' and 'Gmaxp2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1048:9: style:inconclusive: Same expression used in consecutive assignments of 'Gmaxn' and 'Gmaxn2'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1049:9: note: Same expression used in consecutive assignments of 'Gmaxn' and 'Gmaxn2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1048:9: note: Same expression used in consecutive assignments of 'Gmaxn' and 'Gmaxn2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1170:9: style:inconclusive: Same expression used in consecutive assignments of 'Gmax1' and 'Gmax2'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1171:9: note: Same expression used in consecutive assignments of 'Gmax1' and 'Gmax2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1170:9: note: Same expression used in consecutive assignments of 'Gmax1' and 'Gmax2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1171:9: style:inconclusive: Same expression used in consecutive assignments of 'Gmax2' and 'Gmax3'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1172:9: note: Same expression used in consecutive assignments of 'Gmax2' and 'Gmax3'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1171:9: note: Same expression used in consecutive assignments of 'Gmax2' and 'Gmax3'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1172:9: style:inconclusive: Same expression used in consecutive assignments of 'Gmax3' and 'Gmax4'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1173:9: note: Same expression used in consecutive assignments of 'Gmax3' and 'Gmax4'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1172:9: note: Same expression used in consecutive assignments of 'Gmax3' and 'Gmax4'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1224:9: style:inconclusive: Same expression used in consecutive assignments of 'lb1' and 'lb2'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1224:21: note: Same expression used in consecutive assignments of 'lb1' and 'lb2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1224:9: note: Same expression used in consecutive assignments of 'lb1' and 'lb2'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1499:9: style: Same expression used in consecutive assignments of 'sum_pos' and 'sum_neg'. [duplicateAssignExpression] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1500:9: note: Same expression used in consecutive assignments of 'sum_pos' and 'sum_neg'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1499:9: note: Same expression used in consecutive assignments of 'sum_pos' and 'sum_neg'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1289:14: style: The scope of the variable 'j' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1338:14: style: The scope of the variable 'j' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:18: style: The scope of the variable 'h11' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:22: style: The scope of the variable 'h22' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:26: style: The scope of the variable 'h21' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:30: style: The scope of the variable 'g1' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:33: style: The scope of the variable 'g2' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:36: style: The scope of the variable 'det' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:40: style: The scope of the variable 'dA' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:43: style: The scope of the variable 'dB' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:46: style: The scope of the variable 'gd' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1736:49: style: The scope of the variable 'stepsize' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1848:9: style: The scope of the variable 'pQp' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2551:6: style: The scope of the variable 'nr_class' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2712:6: style: The scope of the variable 'len' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:96:18: style:inconclusive: Function 'Cache' argument 1 names different: declaration 'l' definition 'l_'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:72:12: note: Function 'Cache' argument 1 names different: declaration 'l' definition 'l_'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:96:18: note: Function 'Cache' argument 1 names different: declaration 'l' definition 'l_'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:96:30: style:inconclusive: Function 'Cache' argument 2 names different: declaration 'size' definition 'size_'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:72:23: note: Function 'Cache' argument 2 names different: declaration 'size' definition 'size_'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:96:30: note: Function 'Cache' argument 2 names different: declaration 'size' definition 'size_'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:255:42: style:inconclusive: Function 'Kernel' argument 2 names different: declaration 'x' definition 'x_'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:206:35: note: Function 'Kernel' argument 2 names different: declaration 'x' definition 'x_'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:255:42: note: Function 'Kernel' argument 2 names different: declaration 'x' definition 'x_'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:793:37: style:inconclusive: Function 'select_working_set' argument 1 names different: declaration 'i' definition 'out_i'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:445:38: note: Function 'select_working_set' argument 1 names different: declaration 'i' definition 'out_i'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:793:37: note: Function 'select_working_set' argument 1 names different: declaration 'i' definition 'out_i'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:793:49: style:inconclusive: Function 'select_working_set' argument 2 names different: declaration 'j' definition 'out_j'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:445:46: note: Function 'select_working_set' argument 2 names different: declaration 'j' definition 'out_j'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:793:49: note: Function 'select_working_set' argument 2 names different: declaration 'j' definition 'out_j'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1036:40: style:inconclusive: Function 'select_working_set' argument 1 names different: declaration 'i' definition 'out_i'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1029:30: note: Function 'select_working_set' argument 1 names different: declaration 'i' definition 'out_i'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1036:40: note: Function 'select_working_set' argument 1 names different: declaration 'i' definition 'out_i'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1036:52: style:inconclusive: Function 'select_working_set' argument 2 names different: declaration 'j' definition 'out_j'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1029:38: note: Function 'select_working_set' argument 2 names different: declaration 'j' definition 'out_j'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1036:52: note: Function 'select_working_set' argument 2 names different: declaration 'j' definition 'out_j'. PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2480:11: style: Variable 'sv_coef' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2521:13: style: Variable 'coef1' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2522:13: style: Variable 'coef2' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2876:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2876:19: style: Variable 'idx' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2876:24: style: Variable 'val' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2880:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkfillnodata.cc:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkfillnodata.cc:90:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfillnodata.cc:109:15: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pkfillnodata.cc:118:14: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pkfillnodata.cc:139:11: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pkfillnodata.cc:146:19: style: The scope of the variable 'targetBand' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:471:24: style: Redundant condition: The condition 'nclass < 256' is redundant since 'nclass < 0' is sufficient. [redundantCondition] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:341:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:777:32: style: The if condition is the same as the previous if condition [duplicateCondition] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:775:32: note: First condition PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:777:32: note: Second condition PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1262:32: style: The if condition is the same as the previous if condition [duplicateCondition] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1260:32: note: First condition PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1262:32: note: Second condition PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:179:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:250:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:280:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:340:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:423:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:485:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:593:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1745:9: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:699:36: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1223:31: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1228:36: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:331:8: style: The scope of the variable 'sampleIsVirtual' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:438:12: style: The scope of the variable 'vectords_ulx' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:439:12: style: The scope of the variable 'vectords_uly' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:440:12: style: The scope of the variable 'vectords_lrx' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:441:12: style: The scope of the variable 'vectords_lry' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:668:14: style: The scope of the variable 'validFeature' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:736:17: style: The scope of the variable 'nPointPolygon' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1241:20: style: The scope of the variable 'uli' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1241:24: style: The scope of the variable 'ulj' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1241:28: style: The scope of the variable 'lri' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1241:32: style: The scope of the variable 'lrj' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:1253:17: style: The scope of the variable 'nPointPolygon' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:662:23: style: Checking if unsigned expression 'nfeatureLayer' is less than zero. [unsignedLessThanZero] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:493:23: style: Local variable 'ntotalvalid' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:234:21: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:493:23: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:780:24: style: Local variable 'readPoint' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:699:22: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:780:24: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:752:24: style: Local variable 'ulx' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:726:20: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:752:24: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:752:28: style: Local variable 'uly' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:727:20: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:752:28: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:752:32: style: Local variable 'lrx' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:728:20: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:752:32: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:752:36: style: Local variable 'lry' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:729:20: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:752:36: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:233:21: style: Variable 'nsample' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:234:21: style: Variable 'ntotalvalid' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:235:21: style: Variable 'ntotalinvalid' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:726:20: style: Unused variable: ulx [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:727:20: style: Unused variable: uly [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:728:20: style: Unused variable: lrx [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:729:20: style: Unused variable: lry [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkextractogr.cc:739:24: style: Unused variable: gt [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:138:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:196:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:219:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:303:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:160:21: style: The scope of the variable 'nsample' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:161:21: style: The scope of the variable 'ntotalvalid' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:162:21: style: The scope of the variable 'ntotalinvalid' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:456:24: style: The scope of the variable 'classDone' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:687:24: style: The scope of the variable 'classDone' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:534:21: style: Local variable 'classReader' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:296:17: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:534:21: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkfilterascii.cc:135:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:450:15: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:511:17: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:680:15: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:739:17: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:325:19: style: Unused variable: selectedClass [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:327:14: style: Variable 'oldimgrow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:450:8: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:511:10: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:554:19: style: Unused variable: selectedClass [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:556:14: style: Variable 'oldimgrow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:680:8: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:739:10: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:120:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkfilterascii.cc:134:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilterascii.cc:212:12: style: The scope of the variable 'centreWavelength' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:119:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:382:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:404:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:414:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:431:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:228:14: style: Variable 'nlimit[2]' is reassigned a value before the old one has been used. [redundantAssignment] PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:227:14: note: nlimit[2] is assigned PKTOOLS-2.6.7.6/src/apps/pkfilterdem.cc:228:14: note: nlimit[2] is overwritten PKTOOLS-2.6.7.6/src/apps/pkfilterascii.cc:170:33: style: Variable 'fwhmData' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkfilterascii.cc:212:28: style: Variable 'centreWavelength' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:358:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:110:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_nctraining [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:310:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:545:17: warning: Assert statement modifies 'nband'. [assignmentInAssert] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:357:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:427:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:484:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:391:16: style: The scope of the variable 'totalTestSamples' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:448:18: style: The scope of the variable 'fields' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:689:10: style: The scope of the variable 'previousCost' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:510:24: error: Iterator 'mapit' used after element has been erased. [eraseDereference] PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:513:30: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pkfssvm.cc:510:24: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:501:17: warning: Assert statement modifies 'nband'. [assignmentInAssert] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:309:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:385:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:440:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:160:9: style: The scope of the variable 'rmse' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:349:16: style: The scope of the variable 'totalTestSamples' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:406:18: style: The scope of the variable 'fields' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:651:10: style: The scope of the variable 'previousCost' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkgetmask.cc:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:98:112: performance: Function parameter 'weights' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:478:24: error: Iterator 'mapit' used after element has been erased. [eraseDereference] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:481:30: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:478:24: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:160:13: style: Variable 'rmse' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:172:9: style: Variable 'rmse' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkfsann.cc:195:25: style: Variable 'result' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkgetmask.cc:110:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkinfo.cc:167:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:340:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:501:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:586:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:624:9: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:684:9: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:710:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:729:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:749:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:764:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:785:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:802:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:811:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:820:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:835:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:851:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:908:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:932:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:956:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:980:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:1004:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:1024:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:1046:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:1065:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:1083:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:1116:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:1162:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkfilter.cc:353:18: style: The scope of the variable 'angle_opt' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkinfo.cc:166:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:152:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:455:17: warning: Assert statement modifies 'nband'. [assignmentInAssert] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:264:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:331:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:387:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:290:16: style: The scope of the variable 'totalTestSamples' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:348:18: style: The scope of the variable 'fields' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:131:71: style: Parameter 'grad' can be declared as reference to const [constParameterReference] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:419:24: error: Iterator 'mapit' used after element has been erased. [eraseDereference] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:422:26: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:419:24: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:137:15: style: Variable 'error' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:139:12: style: Variable 'oa' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:137:10: style: Variable 'error' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:139:10: style: Variable 'oa' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:175:18: style: Unused variable: reclassMap [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:176:15: style: Unused variable: vreclass [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:184:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkpolygonize.cc:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkpolygonize.cc:99:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:151:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:213:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:311:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:528:9: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:648:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:205:21: style: The scope of the variable 'nPoints' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:472:34: style: Local variable 'stat' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:456:28: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:472:34: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:360:30: error: Iterator 'ait' used after element has been erased. [eraseDereference] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:333:7: note: Iterator 'ait' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:360:30: note: Iterator 'ait' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:166:10: style: Variable 'dfComplete' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pklas2img.cc:331:31: style: Unused variable: returnsVector [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:84:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:149:19: style: The if condition is the same as the previous if condition [duplicateCondition] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:146:19: note: First condition PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:149:19: note: Second condition PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:83:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:142:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:168:23: style: Local variable 'poFDefn' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:154:21: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:168:23: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:154:21: style: Variable 'poFDefn' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:154:29: style: Variable 'poFDefn' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:154:21: style: Variable 'poFDefn' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:169:14: style: Unused variable: featurename [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:165:6: style: Condition 'refIsRaster' is always true [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:163:20: note: Assignment 'refIsRaster=true', assigned value is 1 PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:165:6: note: Condition 'refIsRaster' is always true PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:107:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:253:9: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:271:15: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:298:13: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkreclass.cc:329:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:183:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:254:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:362:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:447:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:554:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1125:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1178:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1284:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1856:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkregann.cc:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:481:56: style: Same value in both branches of ternary operator. [duplicateValueTernary] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:590:52: style: Same value in both branches of ternary operator. [duplicateValueTernary] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:592:50: style: Same value in both branches of ternary operator. [duplicateValueTernary] PKTOOLS-2.6.7.6/src/apps/pkregann.cc:258:13: error: Array 'layers[3]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds] PKTOOLS-2.6.7.6/src/apps/pkregann.cc:300:20: style: The if condition is the same as the previous if condition [duplicateCondition] PKTOOLS-2.6.7.6/src/apps/pkregann.cc:283:20: note: First condition PKTOOLS-2.6.7.6/src/apps/pkregann.cc:300:20: note: Second condition PKTOOLS-2.6.7.6/src/apps/pkregann.cc:117:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkregann.cc:137:16: style: The scope of the variable 'inputSize' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksieve.cc:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:110:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:177:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:233:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:255:8: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:316:13: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:361:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:308:14: style: The scope of the variable 'masked' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:298:19: style: Variable 'masked' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksetmask.cc:347:21: style: Variable 'masked' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksieve.cc:99:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:467:20: style: The scope of the variable 'lineModelMask' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:468:20: style: The scope of the variable 'estWriteBuffer' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:469:20: style: The scope of the variable 'uncertWriteBuffer' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:471:20: style: The scope of the variable 'gainWriteBuffer' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:651:12: style: The scope of the variable 'errMod' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1022:14: style: The scope of the variable 'processNoiseVariance' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1198:20: style: The scope of the variable 'lineModelMask' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1199:20: style: The scope of the variable 'estWriteBuffer' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1200:20: style: The scope of the variable 'uncertWriteBuffer' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1380:12: style: The scope of the variable 'errMod' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1755:14: style: The scope of the variable 'processNoiseVariance' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:690:11: style: Local variable 'maxRow' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:608:11: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:690:11: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:889:13: style: Local variable 'maxRow' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:882:11: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:889:13: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:905:9: style: Local variable 'maxRow' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:882:11: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:905:9: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1051:34: style: Local variable 'statobs' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:854:28: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1051:34: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1419:11: style: Local variable 'maxRow' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1338:11: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1419:11: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1619:13: style: Local variable 'maxRow' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1612:11: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1619:13: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1634:9: style: Local variable 'maxRow' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1612:11: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1634:9: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1784:34: style: Local variable 'statobs' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1584:28: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1784:34: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstatascii.cc:178:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1952:21: style: Variable 'uncertObs' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:388:7: style: Variable 'ndigit' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:583:18: style: Unused variable: uncertObsLineBuffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:689:11: style: Variable 'minRow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:690:11: style: Variable 'maxRow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:812:18: style: Unused variable: model1buffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:813:18: style: Unused variable: model2buffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:814:18: style: Unused variable: uncertObsLineBuffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:904:9: style: Variable 'minRow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:905:9: style: Variable 'maxRow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1020:14: style: Variable 'nvalid' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1313:18: style: Unused variable: uncertObsLineBuffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1418:11: style: Variable 'minRow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1419:11: style: Variable 'maxRow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1542:18: style: Unused variable: model1buffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1543:18: style: Unused variable: model2buffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1544:18: style: Unused variable: uncertObsLineBuffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1555:7: style: Variable 'readObsMaskBand' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1633:9: style: Variable 'minRow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1634:9: style: Variable 'maxRow' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1753:14: style: Variable 'nvalid' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1904:22: style: Unused variable: uncertReadBuffer [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1952:12: style: Variable 'uncertObs' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkstatascii.cc:177:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstatogr.cc:120:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkstatprofile.cc:131:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:179:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pkstatprofile.cc:130:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstatprofile.cc:167:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstatprofile.cc:203:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstatprofile.cc:232:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstatogr.cc:119:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstatogr.cc:135:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstatogr.cc:190:2: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstatogr.cc:235:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:178:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:239:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:265:34: style: Local variable 'stat' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:216:28: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkstat.cc:265:34: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstat.cc:287:26: style: Local variable 'pfnProgress' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:212:20: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkstat.cc:287:26: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstat.cc:384:26: style: Local variable 'pfnProgress' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:212:20: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkstat.cc:384:26: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstat.cc:493:15: style: Local variable 'binX' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:432:11: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkstat.cc:493:15: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstat.cc:495:17: style: Local variable 'binY' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:433:11: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkstat.cc:495:17: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstat.cc:886:24: style: Local variable 'pfnProgress' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:212:20: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkstat.cc:886:24: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstat.cc:1017:13: style: Local variable 'binX' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:940:9: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkstat.cc:1017:13: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstat.cc:1019:15: style: Local variable 'binY' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:941:9: note: Shadowed declaration PKTOOLS-2.6.7.6/src/apps/pkstat.cc:1019:15: note: Shadow variable PKTOOLS-2.6.7.6/src/apps/pkstat.cc:211:9: style: Variable 'pProgressArg' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:549:22: warning: Uninitialized variable: icol [uninitvar] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:210:15: style: Unused variable: pszMessage [unusedVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:211:9: style: Variable 'pProgressArg' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pkstat.cc:213:10: style: Variable 'progress' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:253:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/base/pktestOption.cc:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/base/pktestOption.cc:39:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:37:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:44:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:264:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:334:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:394:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:441:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:596:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:763:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:776:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:833:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:850:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:868:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:914:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:934:9: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:975:8: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:1194:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:654:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:655:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:656:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:703:24: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:1038:16: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:316:14: style: The scope of the variable 'readLayer' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:355:16: style: The scope of the variable 'nactive' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:575:12: style: The scope of the variable 'doSort' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:708:9: style: The scope of the variable 'refClassName' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:709:9: style: The scope of the variable 'className' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:948:14: style: The scope of the variable 'masked' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:316:14: style: Variable 'readLayer' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:464:28: error: Iterator 'mapit' used after element has been erased. [eraseDereference] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:467:34: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pksvm.cc:464:28: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pksvm.cc:649:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:628:16: style: Variable 'index' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvm.cc:628:11: style: Variable 'index' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDT_Byte [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_Failure [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_Failure [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:159:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_Failure [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:270:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDAL_DMD_LONGNAME [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:218:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:231:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:24:16: warning: Member variable 'ImgRasterGdal::m_gt' is not initialized in the constructor. [uninitMemberVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:142:10: style:inconclusive: Technically the member function 'ImgRasterGdal::GDALSetNoDataValue' can be const. [functionConst] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:183:7: style:inconclusive: Technically the member function 'ImgRasterGdal::nrOfBlockX' can be const. [functionConst] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:190:7: style:inconclusive: Technically the member function 'ImgRasterGdal::nrOfBlockY' can be const. [functionConst] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:96:15: performance: Function 'getFileName()' should return member 'm_filename' by const reference. [returnByReference] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:106:15: performance: Function 'getProjection()' should return member 'm_projection' by const reference. [returnByReference] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:108:15: performance: Function 'getProjectionRef()' should return member 'm_projection' by const reference. [returnByReference] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:140:43: performance: Function parameter 'nodata' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:148:47: style: Parameter 'gt' can be declared as pointer to const [constParameterPointer] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.cc:207:11: style: Variable 'gtString' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:127:19: warning: Comparison of a boolean expression with an integer. [compareBoolExpressionWithInt] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:157:19: warning: Comparison of a boolean expression with an integer. [compareBoolExpressionWithInt] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:250:19: warning: Comparison of a boolean expression with an integer. [compareBoolExpressionWithInt] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:286:19: warning: Comparison of a boolean expression with an integer. [compareBoolExpressionWithInt] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:109:17: warning: Comparison of a boolean expression with an integer. [compareBoolExpressionWithInt] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:202:17: warning: Comparison of a boolean expression with an integer. [compareBoolExpressionWithInt] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:52:8: style:inconclusive: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. [initializerList] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:25:47: note: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:52:8: note: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:52:8: style:inconclusive: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. [initializerList] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:29:47: note: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:52:8: note: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:52:8: style:inconclusive: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. [initializerList] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:34:47: note: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:52:8: note: Member variable 'FileReaderAscii::m_fs' is in the wrong place in the initializer list. PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:34:3: style: Class 'FileReaderAscii' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:127:20: style: Comparing expression of type 'bool' against value 1. Condition is always false. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:157:20: style: Comparing expression of type 'bool' against value 1. Condition is always false. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:250:20: style: Comparing expression of type 'bool' against value 1. Condition is always false. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:286:20: style: Comparing expression of type 'bool' against value 1. Condition is always false. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:109:18: style: Comparing expression of type 'bool' against value 1. Condition is always false. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:202:18: style: Comparing expression of type 'bool' against value 1. Condition is always false. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:127:19: style: Condition 'verbose>1' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:157:19: style: Condition 'verbose>1' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:250:19: style: Condition 'verbose>1' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:286:19: style: Condition 'verbose>1' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:109:17: style: Condition 'verbose>1' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:202:17: style: Condition 'verbose>1' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:153:16: style: The scope of the variable 'totalCol' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:200:9: style: Local variable 'totalCol' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:153:16: note: Shadowed declaration PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:200:9: note: Shadow variable PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:88:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:141:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:204:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:264:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:77:18: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.cc:121:18: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:64:19: style: Variable 'withinRange' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/fileclasses/FileReaderAscii.h:179:19: style: Variable 'withinRange' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:114:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GF_Read [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:148:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GF_Read [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:268:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GF_Read [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:243:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:378:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:424:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:519:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:593:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:667:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:765:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:875:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:134:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GF_Write [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:191:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GF_Write [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:260:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GF_Write [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:64:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:89:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:105:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:224:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:285:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:376:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:788:18: style: Condition 'poFeature==NULL' is always false [knownConditionTrueFalse] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:252:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:322:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:382:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:429:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:584:7: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:748:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:950:3: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:697:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:691:24: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:691:24: note: Assignment 'target=(double*)std::malloc((prob[ibag].l)*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:697:30: note: Null pointer dereference PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:823:8: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:36: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:10: note: Assignment 'x=(struct svm_node*)std::malloc((validationFeature.size()+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:823:8: note: Null pointer dereference PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:824:8: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:36: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:10: note: Assignment 'x=(struct svm_node*)std::malloc((validationFeature.size()+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:824:8: note: Null pointer dereference PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:827:6: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:36: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:10: note: Assignment 'x=(struct svm_node*)std::malloc((validationFeature.size()+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:827:6: note: Null pointer dereference PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:642:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:643:20: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:644:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:691:24: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:11: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:42:3: style: Class 'ImgReaderGdal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:44:4: style: The destructor '~ImgReaderGdal' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:73:12: note: Virtual destructor in base class PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:44:4: note: Destructor in derived class PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:50:8: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:94:16: note: Virtual function in base class PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:50:8: note: Function in derived class PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:50:8: style: The function 'close' overrides a function in a base class but just delegates back to the base class. [uselessOverride] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:94:16: note: Virtual function in base class PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:50:8: note: Function in derived class PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:56:11: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:375:21: style: The scope of the variable 'nvalid' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:89:35: style:inconclusive: Function 'getMin' argument 1 names different: declaration 'col' definition 'x'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:70:22: note: Function 'getMin' argument 1 names different: declaration 'col' definition 'x'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:89:35: note: Function 'getMin' argument 1 names different: declaration 'col' definition 'x'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:89:43: style:inconclusive: Function 'getMin' argument 2 names different: declaration 'row' definition 'y'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:70:32: note: Function 'getMin' argument 2 names different: declaration 'row' definition 'y'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:89:43: note: Function 'getMin' argument 2 names different: declaration 'row' definition 'y'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:125:35: style:inconclusive: Function 'getMax' argument 1 names different: declaration 'col' definition 'x'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:72:22: note: Function 'getMax' argument 1 names different: declaration 'col' definition 'x'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:125:35: note: Function 'getMax' argument 1 names different: declaration 'col' definition 'x'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:125:43: style:inconclusive: Function 'getMax' argument 2 names different: declaration 'row' definition 'y'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:72:32: note: Function 'getMax' argument 2 names different: declaration 'row' definition 'y'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:125:43: note: Function 'getMax' argument 2 names different: declaration 'row' definition 'y'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:355:61: style:inconclusive: Function 'getRange' argument 2 names different: declaration 'Band' definition 'band'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:78:48: note: Function 'getRange' argument 2 names different: declaration 'Band' definition 'band'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:355:61: note: Function 'getRange' argument 2 names different: declaration 'Band' definition 'band'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:307:28: style: Variable 'nsample' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:307:21: style: Variable 'nsample' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:304:14: style: The scope of the variable 'readLayer' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:306:10: style: The scope of the variable 'ulx' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:307:10: style: The scope of the variable 'uly' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:308:10: style: The scope of the variable 'lrx' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:309:10: style: The scope of the variable 'lry' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:311:8: style: The scope of the variable 'maskIsVector' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:563:12: style: The scope of the variable 'doSort' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:696:9: style: The scope of the variable 'refClassName' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:697:9: style: The scope of the variable 'className' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:933:14: style: The scope of the variable 'dua' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:934:14: style: The scope of the variable 'dpa' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:304:14: style: Variable 'readLayer' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:452:28: error: Iterator 'mapit' used after element has been erased. [eraseDereference] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:455:34: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:452:28: note: Iterator 'mapit' used after element has been erased. PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:637:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:616:16: style: Variable 'index' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:870:17: style: Variable 'normBag' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:933:17: style: Variable 'dua' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:934:17: style: Variable 'dpa' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:343:16: style: Variable 'nactive' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:616:11: style: Variable 'index' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:870:10: style: Variable 'normBag' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:107:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_None [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:181:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE_None [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:257:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:337:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:26:15: warning: Member variable 'ImgReaderOgr::m_datasource' is not initialized in the constructor. [uninitMemberVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:39:3: style: Class 'ImgReaderOgr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.h:39:3: style: Class 'ImgWriterOgr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:47:4: style: The destructor '~ImgWriterGdal' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:73:12: note: Virtual destructor in base class PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:47:4: note: Destructor in derived class PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:53:8: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] PKTOOLS-2.6.7.6/src/imageclasses/ImgRasterGdal.h:94:16: note: Virtual function in base class PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:53:8: note: Function in derived class PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:333:10: style: The if condition is the same as the previous if condition [duplicateCondition] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:331:10: note: First condition PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:333:10: note: Second condition PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:414:10: style: The if condition is the same as the previous if condition [duplicateCondition] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:412:10: note: First condition PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:414:10: note: Second condition PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:352:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:433:5: style: Exception should be caught by reference. [catchExceptionByValue] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:148:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:154:36: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:282:21: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:402:25: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:442:23: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:446:17: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:552:25: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:625:25: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:698:25: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:791:27: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:900:27: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:237:22: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:286:14: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:292:9: note: Found duplicate branches for 'if' and 'else'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:286:14: note: Found duplicate branches for 'if' and 'else'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:450:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:456:5: note: Found duplicate branches for 'if' and 'else'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:450:10: note: Found duplicate branches for 'if' and 'else'. PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:201:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:337:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:495:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:569:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:643:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:734:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:830:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:936:11: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:216:10: style: The scope of the variable 'theScale' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:217:10: style: The scope of the variable 'theOffset' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:445:17: style: Local variable 'poPoint' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:442:13: note: Shadowed declaration PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:445:17: note: Shadow variable PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:703:21: style: Local variable 'poFDefn' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:669:19: note: Shadowed declaration PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:703:21: note: Shadow variable PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:796:23: style: Local variable 'poFDefn' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:761:21: note: Shadowed declaration PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:796:23: note: Shadow variable PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:905:23: style: Local variable 'poFDefn' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:871:21: note: Shadowed declaration PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:905:23: note: Shadow variable PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:219:13: style: Local variable 'iField' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:218:9: note: Shadowed declaration PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:219:13: note: Shadow variable PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:244:15: style: Local variable 'iField' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:218:9: note: Shadowed declaration PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:244:15: note: Shadow variable PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:335:46: style: Local variable 'fit' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:294:42: note: Shadowed declaration PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:335:46: note: Shadow variable PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:416:41: style: Local variable 'fit' shadows outer variable [shadowVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:385:42: note: Shadowed declaration PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:416:41: note: Shadow variable PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:183:19: style: Variable 'poFieldDefn' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:134:3: error: Uninitialized variable: poBand [uninitvar] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:127:9: style: Variable 'posOffset' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:168:19: style: Unused variable: featurename [unusedVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:261:9: style: Variable 'posOffset' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:301:19: style: Unused variable: featurename [unusedVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:380:27: style: Variable 'poFDefn' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:465:15: style: Unused variable: featurename [unusedVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:552:15: style: Variable 'poPoint' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:625:15: style: Variable 'poPoint' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:681:7: style: Variable 'posOffset' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:704:17: style: Unused variable: featurename [unusedVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:773:9: style: Variable 'posOffset' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:797:19: style: Unused variable: featurename [unusedVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:883:9: style: Variable 'posOffset' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.h:906:19: style: Unused variable: featurename [unusedVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:216:18: style: Variable 'theScale' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:217:19: style: Variable 'theOffset' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:219:13: style: Variable 'theScale' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:221:14: style: Variable 'theOffset' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:183:31: style: Variable 'poFieldDefn' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:218:15: style: Variable 'iField' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:218:9: style: Variable 'iField' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:242:19: style: Unused variable: featurename [unusedVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgUpdaterGdal.cc:46:22: warning: The class 'ImgUpdaterGdal' defines member function with name 'open' also defined in its parent class 'ImgReaderGdal'. [duplInheritedMember] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:46:8: note: Parent function 'ImgReaderGdal::open' PKTOOLS-2.6.7.6/src/imageclasses/ImgUpdaterGdal.cc:46:22: note: Derived function 'ImgUpdaterGdal::open' PKTOOLS-2.6.7.6/src/imageclasses/ImgUpdaterGdal.h:33:3: style: Class 'ImgUpdaterGdal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/imageclasses/ImgUpdaterGdal.h:35:4: style: The destructor '~ImgUpdaterGdal' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:44:4: note: Virtual destructor in base class PKTOOLS-2.6.7.6/src/imageclasses/ImgUpdaterGdal.h:35:4: note: Destructor in derived class PKTOOLS-2.6.7.6/src/imageclasses/ImgUpdaterGdal.h:39:8: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.h:50:8: note: Virtual function in base class PKTOOLS-2.6.7.6/src/imageclasses/ImgUpdaterGdal.h:39:8: note: Function in derived class PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:85:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:113:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:184:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eInclusion [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:109:10: error: Reference to local variable returned. [returnReference] PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.h:43:3: style: Class 'FileReaderLas' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:161:17: style: Comparing expression of type 'unsigned short' against value 0. Condition is always false. [compareValueOutOfTypeRangeError] PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:161:16: style: Checking if unsigned expression 'returns[0]' is less than zero. [unsignedLessThanZero] PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:27:52: style:inconclusive: Function 'filter' argument 1 names different: declaration 'point' definition 'p'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.h:32:36: note: Function 'filter' argument 1 names different: declaration 'point' definition 'p'. PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:27:52: note: Function 'filter' argument 1 names different: declaration 'point' definition 'p'. PKTOOLS-2.6.7.6/src/lasclasses/FileReaderLas.cc:175:34: style: Unused variable: filters [unusedVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:72:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:154:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:208:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:257:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODsCCreateLayer [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:299:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OFTString [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:360:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OGRERR_NONE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:380:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OGRERR_NONE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:393:111: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:422:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OGRERR_NONE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:450:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OGRERR_NONE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:471:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OGRERR_NONE [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:521:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:679:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:128:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:194:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:83:16: style: Virtual function 'setCodec' is called from constructor 'ImgWriterGdal(const std::string&filename,const ImgReaderGdal&imgSrc,const std::vector&options=std::vector()' at line 43. Dynamic binding is not used. [virtualCallInConstructor] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:43:143: note: Calling open PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:51:3: note: Calling setCodec PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:83:16: note: setCodec is a virtual function PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:81:16: style: Virtual function 'setCodec' is called from constructor 'ImgWriterGdal(const std::string&filename,int ncol,int nrow,int nband,const GDALDataType&dataType,const std::string&imageType,const std::vector&options=std::vector()' at line 45. Dynamic binding is not used. [virtualCallInConstructor] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:45:205: note: Calling open PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:71:3: note: Calling setCodec PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:81:16: note: setCodec is a virtual function PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:88:51: style:inconclusive: Function 'setCodec' argument 1 names different: declaration 'ImgSrc' definition 'imgSrc'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.h:83:46: note: Function 'setCodec' argument 1 names different: declaration 'ImgSrc' definition 'imgSrc'. PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:88:51: note: Function 'setCodec' argument 1 names different: declaration 'ImgSrc' definition 'imgSrc'. PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:128:7: style: Variable 'now' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterGdal.cc:194:7: style: Variable 'now' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:28:15: warning:inconclusive: Member variable 'ImgWriterOgr::m_datasource' is not initialized in the constructor. [uninitMemberVar] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:42:3: performance: Variable 'm_filename' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:680:6: style: The if condition is the same as the previous if condition [duplicateCondition] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:678:6: note: First condition PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:680:6: note: Second condition PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:702:25: style: C-style pointer casting [cstyleCast] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:168:7: style:inconclusive: Statements following 'throw' will never be executed. [unreachableCode] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:222:7: style:inconclusive: Statements following 'throw' will never be executed. [unreachableCode] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:453:5: style: Statements following 'throw' will never be executed. [unreachableCode] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:585:11: style: Statements following 'throw' will never be executed. [unreachableCode] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:649:11: style: Statements following 'throw' will never be executed. [unreachableCode] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:668:7: style: Statements following 'throw' will never be executed. [unreachableCode] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:63:19: style: The scope of the variable 'poFeature' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:522:15: style: The scope of the variable 'line' can be reduced. [variableScope] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:674:57: style:inconclusive: Function 'addData' argument 2 names different: declaration 'layer' definition 'theLayer'. [funcArgNamesDifferent] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.h:60:45: note: Function 'addData' argument 2 names different: declaration 'layer' definition 'theLayer'. PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:674:57: note: Function 'addData' argument 2 names different: declaration 'layer' definition 'theLayer'. PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:369:114: performance: Function parameter 'fieldName' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:387:114: performance: Function parameter 'fieldName' should be passed by const reference. [passedByValue] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:345:19: style: Variable 'poFieldDefn' can be declared as pointer to const [constVariablePointer] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:345:31: style: Variable 'poFieldDefn' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:398:10: style: Variable 'fid' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:398:7: style: Variable 'fid' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:538:12: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:602:12: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] diff: head PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.cc:252:10: style: Variable 'pChance' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/algorithms/ConfusionMatrix.h:55:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:39:22: performance:inconclusive: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:33:18: note: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:39:22: note: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:59:22: performance:inconclusive: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:38:18: note: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:59:22: note: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:33:18: performance:inconclusive: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:39:22: note: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:33:18: note: Technically the member function 'Egcs::cell2level' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:38:18: performance:inconclusive: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Egcs.cc:59:22: note: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Egcs.h:38:18: note: Technically the member function 'Egcs::res2level' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:195:22: performance:inconclusive: Technically the member function 'filter::Filter::dwtForward' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:99:8: note: Technically the member function 'filter::Filter::dwtForward' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:195:22: note: Technically the member function 'filter::Filter::dwtForward' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:214:22: performance:inconclusive: Technically the member function 'filter::Filter::dwtInverse' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:100:8: note: Technically the member function 'filter::Filter::dwtInverse' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:214:22: note: Technically the member function 'filter::Filter::dwtInverse' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:232:22: performance:inconclusive: Technically the member function 'filter::Filter::dwtCut' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:101:8: note: Technically the member function 'filter::Filter::dwtCut' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:232:22: note: Technically the member function 'filter::Filter::dwtCut' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:44:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:583:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:601:22: performance:inconclusive: Technically the member function 'filter::Filter::ludcmp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:85:8: note: Technically the member function 'filter::Filter::ludcmp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:601:22: note: Technically the member function 'filter::Filter::ludcmp' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:660:22: performance:inconclusive: Technically the member function 'filter::Filter::lubksb' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:86:8: note: Technically the member function 'filter::Filter::lubksb' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:660:22: note: Technically the member function 'filter::Filter::lubksb' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:684:24: performance:inconclusive: Technically the member function 'filter::Filter::getCentreWavelength' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:90:10: note: Technically the member function 'filter::Filter::getCentreWavelength' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:684:24: note: Technically the member function 'filter::Filter::getCentreWavelength' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:100:8: performance:inconclusive: Technically the member function 'filter::Filter::dwtInverse' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:214:22: note: Technically the member function 'filter::Filter::dwtInverse' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:100:8: note: Technically the member function 'filter::Filter::dwtInverse' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:101:8: performance:inconclusive: Technically the member function 'filter::Filter::dwtCut' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:232:22: note: Technically the member function 'filter::Filter::dwtCut' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:101:8: note: Technically the member function 'filter::Filter::dwtCut' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:165:36: performance:inconclusive: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:91:28: note: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:165:36: note: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:240:36: performance:inconclusive: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:92:28: note: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:240:36: note: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:325:32: performance:inconclusive: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:94:26: note: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:325:32: note: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:372:34: performance:inconclusive: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:95:26: note: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:372:34: note: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:436:34: style:inconclusive: Technically the member function 'filter::Filter::smoothNoData' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:75:26: note: Technically the member function 'filter::Filter::smoothNoData' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter.h:436:34: note: Technically the member function 'filter::Filter::smoothNoData' can be const. head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:533:36: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:546:38: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:577:38: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:633:46: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:682:36: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:695:31: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter.h:724:31: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:75:26: style:inconclusive: Technically the member function 'filter::Filter::smoothNoData' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:436:34: note: Technically the member function 'filter::Filter::smoothNoData' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter.h:75:26: note: Technically the member function 'filter::Filter::smoothNoData' can be const. 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:85:8: performance:inconclusive: Technically the member function 'filter::Filter::ludcmp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:601:22: note: Technically the member function 'filter::Filter::ludcmp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:85:8: note: Technically the member function 'filter::Filter::ludcmp' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:86:8: performance:inconclusive: Technically the member function 'filter::Filter::lubksb' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:660:22: note: Technically the member function 'filter::Filter::lubksb' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:86:8: note: Technically the member function 'filter::Filter::lubksb' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:90:10: performance:inconclusive: Technically the member function 'filter::Filter::getCentreWavelength' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:684:24: note: Technically the member function 'filter::Filter::getCentreWavelength' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:90:10: note: Technically the member function 'filter::Filter::getCentreWavelength' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:91:28: performance:inconclusive: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:165:36: note: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:91:28: note: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:92:28: performance:inconclusive: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:240:36: note: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:92:28: note: Technically the member function 'filter::Filter::applySrf' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:94:26: performance:inconclusive: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:325:32: note: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:94:26: note: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:95:26: performance:inconclusive: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.h:372:34: note: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:95:26: note: Technically the member function 'filter::Filter::applyFwhm' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter.h:99:8: performance:inconclusive: Technically the member function 'filter::Filter::dwtForward' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter.cc:195:22: note: Technically the member function 'filter::Filter::dwtForward' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter.h:99:8: note: Technically the member function 'filter::Filter::dwtForward' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1032:43: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1073:61: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1098:54: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1106:50: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1152:26: performance:inconclusive: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:124:8: note: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1152:26: note: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1201:26: performance:inconclusive: Technically the member function 'filter2d::Filter2d::linearFeature' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:128:8: note: Technically the member function 'filter2d::Filter2d::linearFeature' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1201:26: note: Technically the member function 'filter2d::Filter2d::linearFeature' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:139:63: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:166:59: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:279:11: style: Variable 'centre' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:313:9: style: Consider using std::max_element algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:437:59: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:615:22: style: Consider using std::max_element algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:800:64: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:846:26: performance:inconclusive: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:126:8: note: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:846:26: note: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1022:48: style:inconclusive: Technically the member function 'filter2d::Filter2d::dsm2dtm_senw' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:121:39: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_senw' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1022:48: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_senw' can be const. 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:105:26: performance:inconclusive: Technically the member function 'filter2d::Filter2d::dwtForward' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1243:34: note: Technically the member function 'filter2d::Filter2d::dwtForward' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:105:26: note: Technically the member function 'filter2d::Filter2d::dwtForward' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:106:26: performance:inconclusive: Technically the member function 'filter2d::Filter2d::dwtInverse' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1290:34: note: Technically the member function 'filter2d::Filter2d::dwtInverse' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:106:26: note: Technically the member function 'filter2d::Filter2d::dwtInverse' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:107:26: performance:inconclusive: Technically the member function 'filter2d::Filter2d::dwtCut' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1338:34: note: Technically the member function 'filter2d::Filter2d::dwtCut' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:107:26: note: Technically the member function 'filter2d::Filter2d::dwtCut' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1112:48: style:inconclusive: Technically the member function 'filter2d::Filter2d::dsm2dtm_swne' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:122:39: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_swne' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1112:48: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_swne' can be const. 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:119:39: style:inconclusive: Technically the member function 'filter2d::Filter2d::dsm2dtm_nwse' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:834:48: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_nwse' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:119:39: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_nwse' can be const. head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1202:36: performance:inconclusive: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:123:26: note: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1202:36: note: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:120:39: style:inconclusive: Technically the member function 'filter2d::Filter2d::dsm2dtm_nesw' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:928:48: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_nesw' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:120:39: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_nesw' can be const. 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:121:39: style:inconclusive: Technically the member function 'filter2d::Filter2d::dsm2dtm_senw' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1022:48: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_senw' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:121:39: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_senw' can be const. 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:122:39: style:inconclusive: Technically the member function 'filter2d::Filter2d::dsm2dtm_swne' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1112:48: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_swne' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:122:39: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_swne' can be const. 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:123:26: performance:inconclusive: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1202:36: note: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:123:26: note: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1243:34: performance:inconclusive: Technically the member function 'filter2d::Filter2d::dwtForward' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:105:26: note: Technically the member function 'filter2d::Filter2d::dwtForward' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1243:34: note: Technically the member function 'filter2d::Filter2d::dwtForward' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:124:8: performance:inconclusive: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1152:26: note: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:124:8: note: Technically the member function 'filter2d::Filter2d::shadowDsm' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:126:8: performance:inconclusive: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:846:26: note: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:126:8: note: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:127:26: performance:inconclusive: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:610:34: note: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:127:26: note: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:128:8: performance:inconclusive: Technically the member function 'filter2d::Filter2d::linearFeature' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.cc:1201:26: note: Technically the member function 'filter2d::Filter2d::linearFeature' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:128:8: note: Technically the member function 'filter2d::Filter2d::linearFeature' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1290:34: performance:inconclusive: Technically the member function 'filter2d::Filter2d::dwtInverse' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:106:26: note: Technically the member function 'filter2d::Filter2d::dwtInverse' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1290:34: note: Technically the member function 'filter2d::Filter2d::dwtInverse' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1338:34: performance:inconclusive: Technically the member function 'filter2d::Filter2d::dwtCut' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:107:26: note: Technically the member function 'filter2d::Filter2d::dwtCut' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:1338:34: note: Technically the member function 'filter2d::Filter2d::dwtCut' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:525:20: style: Consider using std::max_element algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:610:34: performance:inconclusive: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:127:26: note: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:610:34: note: Technically the member function 'filter2d::Filter2d::shift' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:745:48: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:776:66: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:784:62: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:834:48: style:inconclusive: Technically the member function 'filter2d::Filter2d::dsm2dtm_nwse' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:119:39: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_nwse' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:834:48: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_nwse' can be const. head PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:928:48: style:inconclusive: Technically the member function 'filter2d::Filter2d::dsm2dtm_nesw' can be const. [functionConst] PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:120:39: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_nesw' can be const. PKTOOLS-2.6.7.6/src/algorithms/Filter2d.h:928:48: note: Technically the member function 'filter2d::Filter2d::dsm2dtm_nesw' can be const. head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1272:10: style: Variable 'rangeY' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1285:40: performance:inconclusive: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:188:28: note: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1285:40: note: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1381:39: performance:inconclusive: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:191:28: note: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1381:39: note: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1447:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:193:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1447:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1525:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:197:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1525:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1555:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:198:26: note: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1555:37: note: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1584:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:199:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1584:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1608:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:200:26: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1608:37: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1635:37: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:201:26: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1635:37: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:188:28: performance:inconclusive: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1285:40: note: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:188:28: note: Technically the member function 'statfactory::StatFactory::gsl_covariance' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:191:28: performance:inconclusive: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1381:39: note: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:191:28: note: Technically the member function 'statfactory::StatFactory::linear_regression_err' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:193:26: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1447:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:193:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:197:26: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1525:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:197:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:198:26: performance:inconclusive: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1555:37: note: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:198:26: note: Technically the member function 'statfactory::StatFactory::nearUp' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:199:26: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1584:37: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:199:26: note: Technically the member function 'statfactory::StatFactory::interpolateUp' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:200:26: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1608:37: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:200:26: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:201:26: performance:inconclusive: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:1635:37: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/StatFactory.h:201:26: note: Technically the member function 'statfactory::StatFactory::interpolateDown' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:112:13: performance:inconclusive: Technically the member function 'Cache::lru_delete' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:92:7: note: Technically the member function 'Cache::lru_delete' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:112:13: note: Technically the member function 'Cache::lru_delete' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1857:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assignment 'pairwise_prob=(double**)malloc((nr_class)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2587:35: note: Calling function 'multiclass_probability', 2nd argument 'pairwise_prob' value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1857:21: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1858:12: warning: If memory allocation fails, then there is a possible null pointer dereference: Q [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1846:13: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1846:13: note: Assignment 'Q=(double**)malloc((k)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1858:12: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1862:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assignment 'pairwise_prob=(double**)malloc((nr_class)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2587:35: note: Calling function 'multiclass_probability', 2nd argument 'pairwise_prob' value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1862:21: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1863:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assignment 'pairwise_prob=(double**)malloc((nr_class)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2587:35: note: Calling function 'multiclass_probability', 2nd argument 'pairwise_prob' value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1863:21: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1920:16: warning: If memory allocation fails, then there is a possible null pointer dereference: perm [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1912:14: note: Assignment 'perm=(int*)malloc(prob->l*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1920:16: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2006:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ymv [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:1998:16: note: Assignment 'ymv=(double*)malloc(prob->l*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2006:21: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2067:14: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2067:14: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2075:14: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2064:15: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2075:14: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2278:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nz_start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2275:19: note: Assignment 'nz_start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2278:18: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2356:28: warning: If memory allocation fails, then there is a possible null pointer dereference: index [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2349:16: note: Assignment 'index=(int*)malloc((l)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2356:28: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2504:15: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2501:16: note: Assignment 'start=(int*)malloc((nr_class)*sizeof(int))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2504:15: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2584:27: warning: If memory allocation fails, then there is a possible null pointer dereference: pairwise_prob [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2576:26: note: Assignment 'pairwise_prob=(double**)malloc((nr_class)*sizeof(double*))', assigned value is 0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:2584:27: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:26:21: style: C-style pointer casting [cstyleCast] 2.17.0 PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:92:7: performance:inconclusive: Technically the member function 'Cache::lru_delete' can be static (but you may consider moving to unnamed namespace). [functionStatic] PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:112:13: note: Technically the member function 'Cache::lru_delete' can be static (but you may consider moving to unnamed namespace). PKTOOLS-2.6.7.6/src/algorithms/svm.cpp:92:7: note: Technically the member function 'Cache::lru_delete' can be static (but you may consider moving to unnamed namespace). head PKTOOLS-2.6.7.6/src/apps/pkann.cc:557:11: style: Variable 'index' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkann.cc:575:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/apps/pkann.cc:657:13: style: Variable 'rmse' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkannogr.cc:545:11: style: Variable 'index' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkannogr.cc:563:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/apps/pkannogr.cc:645:13: style: Variable 'rmse' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkannogr.cc:832:17: style: Variable 'normBag' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkdiff.cc:549:19: style: Variable 'j' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkdiff.cc:550:19: style: Variable 'i' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:450:8: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:511:10: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:680:8: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkextractimg.cc:739:10: style: Variable 'theBand' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkkalman.cc:1952:12: style: Variable 'uncertObs' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:137:10: style: Variable 'error' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkoptsvm.cc:139:10: style: Variable 'oa' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pkreclassogr.cc:154:21: style: Variable 'poFDefn' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pksvm.cc:628:11: style: Variable 'index' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pksvm.cc:649:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:616:11: style: Variable 'index' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:637:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:697:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: target [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:691:24: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:691:24: note: Assignment 'target=(double*)std::malloc((prob[ibag].l)*sizeof(double))', assigned value is 0 PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:697:30: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:823:8: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:36: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:10: note: Assignment 'x=(struct svm_node*)std::malloc((validationFeature.size()+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:823:8: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:824:8: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:36: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:10: note: Assignment 'x=(struct svm_node*)std::malloc((validationFeature.size()+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:824:8: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:827:6: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:36: note: Assuming allocation function fails PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:821:10: note: Assignment 'x=(struct svm_node*)std::malloc((validationFeature.size()+1)*sizeof(struct svm_node))', assigned value is 0 PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:827:6: note: Null pointer dereference head PKTOOLS-2.6.7.6/src/apps/pksvmogr.cc:870:10: style: Variable 'normBag' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderGdal.cc:307:21: style: Variable 'nsample' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/imageclasses/ImgReaderOgr.cc:218:9: style: Variable 'iField' is assigned a value that is never used. [unreadVariable] head PKTOOLS-2.6.7.6/src/imageclasses/ImgWriterOgr.cc:398:7: style: Variable 'fid' is assigned a value that is never used. [unreadVariable] DONE