2025-11-23 17:52 ftp://ftp.de.debian.org/debian/pool/main/r/r-bioc-densvis/r-bioc-densvis_1.16.0+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 167 158 elapsed-time: 0.5 0.5 head-timing-info: old-timing-info: head results: densvis/src/RcppExports.cpp:39:1: error: There is an unknown macro here somewhere. Configuration is required. If END_RCPP is a macro then please configure it. [unknownMacro] densvis/src/densvis.cpp:41:12: style: C-style pointer casting [cstyleCast] densvis/src/densvis.cpp:31:44: style: Variable 'costs' is assigned a value that is never used. [unreadVariable] densvis/src/densvis.cpp:31:58: style: Variable 'itercosts' is assigned a value that is never used. [unreadVariable] densvis/src/densne.cpp:712:55: debug: Failed to instantiate template "VpTree". The checking continues anyway. [templateInstantiation] densvis/src/sptree.cpp:122:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] densvis/src/vptree.h:132:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] densvis/src/densne.cpp:228:119: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] densvis/src/densne.cpp:488:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] densvis/src/densne.cpp:535:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] densvis/src/densne.cpp:587:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] densvis/src/densne.cpp:635:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] densvis/src/densne.cpp:737:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] densvis/src/sptree.cpp:259:39: style:inconclusive: Boolean expression 'any_duplicate' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] densvis/src/sptree.cpp:157:9: warning: Member variable 'SPTree::index' is not initialized in the constructor. [uninitMemberVar] densvis/src/sptree.cpp:164:9: warning: Member variable 'SPTree::index' is not initialized in the constructor. [uninitMemberVar] densvis/src/sptree.cpp:88:14: style:inconclusive: Technically the member function 'Cell::getCorner' can be const. [functionConst] densvis/src/sptree.h:75:12: note: Technically the member function 'Cell::getCorner' can be const. densvis/src/sptree.cpp:88:14: note: Technically the member function 'Cell::getCorner' can be const. densvis/src/sptree.cpp:92:14: style:inconclusive: Technically the member function 'Cell::getWidth' can be const. [functionConst] densvis/src/sptree.h:76:12: note: Technically the member function 'Cell::getWidth' can be const. densvis/src/sptree.cpp:92:14: note: Technically the member function 'Cell::getWidth' can be const. densvis/src/sptree.cpp:105:12: style:inconclusive: Technically the member function 'Cell::containsPoint' can be const. [functionConst] densvis/src/sptree.h:79:10: note: Technically the member function 'Cell::containsPoint' can be const. densvis/src/sptree.cpp:105:12: note: Technically the member function 'Cell::containsPoint' can be const. densvis/src/sptree.cpp:84:10: warning: Class 'Cell' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] densvis/src/sptree.cpp:84:10: warning: Class 'Cell' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] densvis/src/sptree.cpp:211:10: warning: Class 'SPTree' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] densvis/src/sptree.cpp:211:10: warning: Class 'SPTree' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] densvis/src/sptree.h:71:5: style: Class 'Cell' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] densvis/src/sptree.cpp:122:97: warning: If memory allocation fails, then there is a possible null pointer dereference: min_Y [nullPointerOutOfMemory] densvis/src/sptree.cpp:122:38: note: Assuming allocation function fails densvis/src/sptree.cpp:122:22: note: Assignment 'min_Y=(double*)std::malloc(D*sizeof(double))', assigned value is 0 densvis/src/sptree.cpp:122:97: note: Null pointer dereference densvis/src/sptree.cpp:123:97: warning: If memory allocation fails, then there is a possible null pointer dereference: max_Y [nullPointerOutOfMemory] densvis/src/sptree.cpp:123:38: note: Assuming allocation function fails densvis/src/sptree.cpp:123:22: note: Assignment 'max_Y=(double*)std::malloc(D*sizeof(double))', assigned value is 0 densvis/src/sptree.cpp:123:97: note: Null pointer dereference densvis/src/sptree.cpp:126:13: warning: If memory allocation fails, then there is a possible null pointer dereference: mean_Y [nullPointerOutOfMemory] densvis/src/sptree.cpp:121:38: note: Assuming allocation function fails densvis/src/sptree.cpp:121:22: note: Assignment 'mean_Y=(double*)std::calloc(D,sizeof(double))', assigned value is 0 densvis/src/sptree.cpp:126:13: note: Null pointer dereference densvis/src/sptree.cpp:136:41: warning: If memory allocation fails, then there is a possible null pointer dereference: width [nullPointerOutOfMemory] densvis/src/sptree.cpp:135:37: note: Assuming allocation function fails densvis/src/sptree.cpp:135:21: note: Assignment 'width=(double*)std::malloc(D*sizeof(double))', assigned value is 0 densvis/src/sptree.cpp:136:41: note: Null pointer dereference densvis/src/sptree.cpp:190:64: warning: If memory allocation fails, then there is a possible null pointer dereference: inp_corner [nullPointerOutOfMemory] densvis/src/sptree.cpp:280:42: note: Assuming allocation function fails densvis/src/sptree.cpp:280:26: note: Assignment 'new_corner=(double*)std::malloc(dimension*sizeof(double))', assigned value is 0 densvis/src/sptree.cpp:290:57: note: Calling function 'SPTree', 4th argument 'new_corner' value is 0 densvis/src/sptree.cpp:165:35: note: Calling function 'init', 4th argument 'inp_corner' value is 0 densvis/src/sptree.cpp:190:64: note: Null pointer dereference densvis/src/sptree.cpp:191:64: warning: If memory allocation fails, then there is a possible null pointer dereference: inp_width [nullPointerOutOfMemory] densvis/src/sptree.cpp:281:42: note: Assuming allocation function fails densvis/src/sptree.cpp:281:26: note: Assignment 'new_width=(double*)std::malloc(dimension*sizeof(double))', assigned value is 0 densvis/src/sptree.cpp:290:69: note: Calling function 'SPTree', 5th argument 'new_width' value is 0 densvis/src/sptree.cpp:165:47: note: Calling function 'init', 5th argument 'inp_width' value is 0 densvis/src/sptree.cpp:191:64: note: Null pointer dereference densvis/src/sptree.cpp:194:51: warning: If memory allocation fails, then there is a possible null pointer dereference: children [nullPointerOutOfMemory] densvis/src/sptree.cpp:193:33: note: Assuming allocation function fails densvis/src/sptree.cpp:193:16: note: Assignment 'children=(SPTree**)std::malloc(no_children*sizeof(SPTree*))', assigned value is 0 densvis/src/sptree.cpp:194:51: note: Null pointer dereference densvis/src/sptree.cpp:197:41: warning: If memory allocation fails, then there is a possible null pointer dereference: center_of_mass [nullPointerOutOfMemory] densvis/src/sptree.cpp:196:38: note: Assuming allocation function fails densvis/src/sptree.cpp:196:22: note: Assignment 'center_of_mass=(double*)std::malloc(D*sizeof(double))', assigned value is 0 densvis/src/sptree.cpp:197:41: note: Null pointer dereference densvis/src/sptree.cpp:285:13: warning: If memory allocation fails, then there is a possible null pointer dereference: new_width [nullPointerOutOfMemory] densvis/src/sptree.cpp:281:42: note: Assuming allocation function fails densvis/src/sptree.cpp:281:26: note: Assignment 'new_width=(double*)std::malloc(dimension*sizeof(double))', assigned value is 0 densvis/src/sptree.cpp:285:13: note: Null pointer dereference densvis/src/sptree.cpp:70:14: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:71:14: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:76:14: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:77:14: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:121:22: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:122:22: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:123:22: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:135:21: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:193:16: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:196:22: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:199:12: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:280:26: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:281:26: style: C-style pointer casting [cstyleCast] densvis/src/sptree.cpp:380:12: style: The scope of the variable 'cur_width' can be reduced. [variableScope] densvis/src/sptree.cpp:74:48: style: Parameter 'inp_corner' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:74:68: style: Parameter 'inp_width' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:105:33: style: Parameter 'point' can be declared as const array [constParameter] densvis/src/sptree.cpp:178:81: style: Parameter 'inp_corner' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:178:101: style: Parameter 'inp_width' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:402:50: style: Parameter 'row_P' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:402:71: style: Parameter 'col_P' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:402:133: style: Parameter 'R' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:402:144: style: Parameter 're' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:402:156: style: Parameter 'q_norm' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:464:46: style: Parameter 'row_P' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:464:67: style: Parameter 'col_P' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:464:82: style: Parameter 'val_P' can be declared as pointer to const [constParameterPointer] densvis/src/sptree.cpp:425:23: style: Variable 'ind2' is assigned a value that is never used. [unreadVariable] densvis/src/sptree.cpp:470:23: style: Variable 'ind2' is assigned a value that is never used. [unreadVariable] densvis/src/densne.cpp:612:17: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] densvis/src/vptree.h:110:5: warning: Member variable 'VpTree::_tau' is not initialized in the constructor. [uninitMemberVar] densvis/src/vptree.h:188:14: style:inconclusive: Technically the member function 'VpTree::DistanceComparator::operator()' can be const. [functionConst] densvis/src/vptree.h:114:16: warning: Class 'VpTree' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] densvis/src/vptree.h:114:16: warning: Class 'VpTree' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] densvis/src/vptree.h:166:20: warning: Struct 'Node' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] densvis/src/vptree.h:166:20: warning: Struct 'Node' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] densvis/src/vptree.h:187:9: style: Struct 'DistanceComparator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] densvis/src/densne.cpp:886:25: style: Redundant condition: present. '!present || (present && n<=col_P[i])' is equivalent to '!present || n<=col_P[i]' [redundantCondition] densvis/src/vptree.h:65:37: warning: If memory allocation fails, then there is a possible null pointer dereference: _x [nullPointerOutOfMemory] densvis/src/vptree.h:64:30: note: Assuming allocation function fails densvis/src/vptree.h:64:14: note: Assignment '_x=(double*)malloc(_D*sizeof(double))', assigned value is 0 densvis/src/vptree.h:65:37: note: Null pointer dereference densvis/src/vptree.h:72:41: warning: If memory allocation fails, then there is a possible null pointer dereference: _x [nullPointerOutOfMemory] densvis/src/vptree.h:71:34: note: Assuming allocation function fails densvis/src/vptree.h:71:18: note: Assignment '_x=(double*)malloc(_D*sizeof(double))', assigned value is 0 densvis/src/vptree.h:72:41: note: Null pointer dereference densvis/src/vptree.h:82:41: warning: If memory allocation fails, then there is a possible null pointer dereference: _x [nullPointerOutOfMemory] densvis/src/vptree.h:81:34: note: Assuming allocation function fails densvis/src/vptree.h:81:18: note: Assignment '_x=(double*)malloc(_D*sizeof(double))', assigned value is 0 densvis/src/vptree.h:82:41: note: Null pointer dereference densvis/src/densne.cpp:138:45: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: uY [nullPointerOutOfMemory] densvis/src/densne.cpp:135:37: note: Assuming allocation function fails densvis/src/densne.cpp:135:21: note: Assignment 'uY=(double*)std::malloc(N*no_dims*sizeof(double))', assigned value is 0 densvis/src/densne.cpp:138:45: note: Null pointer dereference densvis/src/densne.cpp:139:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: gains [nullPointerOutOfMemory] densvis/src/densne.cpp:136:37: note: Assuming allocation function fails densvis/src/densne.cpp:136:21: note: Assignment 'gains=(double*)std::malloc(N*no_dims*sizeof(double))', assigned value is 0 densvis/src/densne.cpp:139:42: note: Null pointer dereference densvis/src/densne.cpp:173:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: P [nullPointerOutOfMemory] densvis/src/densne.cpp:161:29: note: Assuming allocation function fails densvis/src/densne.cpp:161:13: note: Assignment 'P=(double*)std::malloc(N*N*sizeof(double))', assigned value is 0 densvis/src/densne.cpp:173:17: note: Null pointer dereference densvis/src/densne.cpp:173:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: P [nullPointerOutOfMemory] densvis/src/densne.cpp:161:29: note: Assuming allocation function fails densvis/src/densne.cpp:161:13: note: Assignment 'P=(double*)std::malloc(N*N*sizeof(double))', assigned value is 0 densvis/src/densne.cpp:173:30: note: Null pointer dereference densvis/src/densne.cpp:174:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: P [nullPointerOutOfMemory] densvis/src/densne.cpp:161:29: note: Assuming allocation function fails densvis/src/densne.cpp:161:13: note: Assignment 'P=(double*)std::malloc(N*N*sizeof(double))', assigned value is 0 densvis/src/densne.cpp:174:17: note: Null pointer dereference densvis/src/densne.cpp:174:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: P [nullPointerOutOfMemory] densvis/src/densne.cpp:161:29: note: Assuming allocation function fails densvis/src/densne.cpp:161:13: note: Assignment 'P=(double*)std::malloc(N*N*sizeof(double))', assigned value is 0 densvis/src/densne.cpp:174:30: note: Null pointer dereference densvis/src/densne.cpp:375:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pos_f [nullPointerOutOfMemory] densvis/src/densne.cpp:364:37: note: Assuming allocation function fails densvis/src/densne.cpp:364:21: note: Assignment 'pos_f=(double*)std::calloc(N*D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:375:17: note: Null pointer dereference densvis/src/densne.cpp:375:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: neg_f [nullPointerOutOfMemory] densvis/src/densne.cpp:365:37: note: Assuming allocation function fails densvis/src/densne.cpp:365:21: note: Assignment 'neg_f=(double*)std::calloc(N*D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:375:29: note: Null pointer dereference densvis/src/densne.cpp:416:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pos_f [nullPointerOutOfMemory] densvis/src/densne.cpp:392:37: note: Assuming allocation function fails densvis/src/densne.cpp:392:21: note: Assignment 'pos_f=(double*)std::calloc(N*D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:416:17: note: Null pointer dereference densvis/src/densne.cpp:416:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: neg_f [nullPointerOutOfMemory] densvis/src/densne.cpp:393:37: note: Assuming allocation function fails densvis/src/densne.cpp:393:21: note: Assignment 'neg_f=(double*)std::calloc(N*D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:416:29: note: Null pointer dereference densvis/src/densne.cpp:416:63: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dens_f [nullPointerOutOfMemory] densvis/src/densne.cpp:394:38: note: Assuming allocation function fails densvis/src/densne.cpp:394:22: note: Assignment 'dens_f=(double*)std::calloc(N*D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:416:63: note: Null pointer dereference densvis/src/densne.cpp:531:40: warning: If memory allocation fails, then there is a possible null pointer dereference: buff [nullPointerOutOfMemory] densvis/src/densne.cpp:519:36: note: Assuming allocation function fails densvis/src/densne.cpp:519:20: note: Assignment 'buff=(double*)std::calloc(D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:531:40: note: Null pointer dereference densvis/src/densne.cpp:645:64: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: DD [nullPointerOutOfMemory] densvis/src/densne.cpp:623:34: note: Assuming allocation function fails densvis/src/densne.cpp:623:18: note: Assignment 'DD=(double*)std::malloc(N*N*sizeof(double))', assigned value is 0 densvis/src/densne.cpp:645:64: note: Null pointer dereference densvis/src/densne.cpp:851:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: sym_row_P [nullPointerOutOfMemory] densvis/src/densne.cpp:844:53: note: Assuming allocation function fails densvis/src/densne.cpp:844:31: note: Assignment 'sym_row_P=(unsigned int*)std::malloc((N+1)*sizeof(unsigned int))', assigned value is 0 densvis/src/densne.cpp:851:5: note: Null pointer dereference densvis/src/densne.cpp:852:41: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: sym_row_P [nullPointerOutOfMemory] densvis/src/densne.cpp:844:53: note: Assuming allocation function fails densvis/src/densne.cpp:844:31: note: Assignment 'sym_row_P=(unsigned int*)std::malloc((N+1)*sizeof(unsigned int))', assigned value is 0 densvis/src/densne.cpp:852:41: note: Null pointer dereference densvis/src/densne.cpp:852:60: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: sym_row_P [nullPointerOutOfMemory] densvis/src/densne.cpp:844:53: note: Assuming allocation function fails densvis/src/densne.cpp:844:31: note: Assignment 'sym_row_P=(unsigned int*)std::malloc((N+1)*sizeof(unsigned int))', assigned value is 0 densvis/src/densne.cpp:852:60: note: Null pointer dereference densvis/src/densne.cpp:952:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mean [nullPointerOutOfMemory] densvis/src/densne.cpp:947:36: note: Assuming allocation function fails densvis/src/densne.cpp:947:20: note: Assignment 'mean=(double*)std::calloc(D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:952:13: note: Null pointer dereference densvis/src/densne.cpp:957:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: mean [nullPointerOutOfMemory] densvis/src/densne.cpp:947:36: note: Assuming allocation function fails densvis/src/densne.cpp:947:20: note: Assignment 'mean=(double*)std::calloc(D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:957:9: note: Null pointer dereference densvis/src/densne.cpp:370:52: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] densvis/src/densne.cpp:365:37: note: Assuming allocation function fails densvis/src/densne.cpp:365:21: note: Assignment 'neg_f=(double*)std::calloc(N*D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:370:52: note: Null pointer addition densvis/src/densne.cpp:407:50: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] densvis/src/densne.cpp:393:37: note: Assuming allocation function fails densvis/src/densne.cpp:393:21: note: Assignment 'neg_f=(double*)std::calloc(N*D,sizeof(double))', assigned value is 0 densvis/src/densne.cpp:407:50: note: Null pointer addition densvis/src/vptree.h:64:14: style: C-style pointer casting [cstyleCast] densvis/src/vptree.h:71:18: style: C-style pointer casting [cstyleCast] densvis/src/vptree.h:81:18: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:134:21: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:135:21: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:136:21: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:161:13: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:235:18: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:364:21: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:365:21: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:392:21: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:393:21: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:394:22: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:396:18: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:397:22: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:434:18: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:439:20: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:481:18: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:482:17: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:519:20: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:554:12: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:557:20: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:623:18: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:697:15: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:698:15: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:699:15: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:700:15: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:706:21: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:798:13: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:823:23: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:844:31: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:845:31: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:846:25: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:847:25: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:855:19: style: C-style pointer casting [cstyleCast] densvis/src/densne.cpp:947:20: style: C-style pointer casting [cstyleCast] densvis/src/vptree.h:95:12: style: The scope of the variable 'diff' can be reduced. [variableScope] densvis/src/densne.cpp:524:9: style: The scope of the variable 'ind1' can be reduced. [variableScope] densvis/src/densne.cpp:565:9: style: The scope of the variable 'ind1' can be reduced. [variableScope] densvis/src/densne.cpp:546:208: style:inconclusive: Function 'evaluateErrorDens' argument 12 names different: declaration 'rhosq' definition 'rho'. [funcArgNamesDifferent] densvis/src/densne.cpp:85:208: note: Function 'evaluateErrorDens' argument 12 names different: declaration 'rhosq' definition 'rho'. densvis/src/densne.cpp:546:208: note: Function 'evaluateErrorDens' argument 12 names different: declaration 'rhosq' definition 'rho'. densvis/src/densne.cpp:796:45: style:inconclusive: Function 'computeExpectedLogDist' argument 1 names different: declaration 'out' definition '_out'. [funcArgNamesDifferent] densvis/src/densne.cpp:88:45: note: Function 'computeExpectedLogDist' argument 1 names different: declaration 'out' definition '_out'. densvis/src/densne.cpp:796:45: note: Function 'computeExpectedLogDist' argument 1 names different: declaration 'out' definition '_out'. densvis/src/densne.cpp:796:65: style:inconclusive: Function 'computeExpectedLogDist' argument 2 names different: declaration '_row_P' definition 'row_P'. [funcArgNamesDifferent] densvis/src/densne.cpp:88:64: note: Function 'computeExpectedLogDist' argument 2 names different: declaration '_row_P' definition 'row_P'. densvis/src/densne.cpp:796:65: note: Function 'computeExpectedLogDist' argument 2 names different: declaration '_row_P' definition 'row_P'. densvis/src/densne.cpp:796:86: style:inconclusive: Function 'computeExpectedLogDist' argument 3 names different: declaration '_col_P' definition 'col_P'. [funcArgNamesDifferent] densvis/src/densne.cpp:88:86: note: Function 'computeExpectedLogDist' argument 3 names different: declaration '_col_P' definition 'col_P'. densvis/src/densne.cpp:796:86: note: Function 'computeExpectedLogDist' argument 3 names different: declaration '_col_P' definition 'col_P'. densvis/src/densne.cpp:796:101: style:inconclusive: Function 'computeExpectedLogDist' argument 4 names different: declaration '_val_P' definition 'val_P'. [funcArgNamesDifferent] densvis/src/densne.cpp:88:102: note: Function 'computeExpectedLogDist' argument 4 names different: declaration '_val_P' definition 'val_P'. densvis/src/densne.cpp:796:101: note: Function 'computeExpectedLogDist' argument 4 names different: declaration '_val_P' definition 'val_P'. densvis/src/densne.cpp:796:116: style:inconclusive: Function 'computeExpectedLogDist' argument 5 names different: declaration '_val_D' definition 'val_D'. [funcArgNamesDifferent] densvis/src/densne.cpp:88:118: note: Function 'computeExpectedLogDist' argument 5 names different: declaration '_val_D' definition 'val_D'. densvis/src/densne.cpp:796:116: note: Function 'computeExpectedLogDist' argument 5 names different: declaration '_val_D' definition 'val_D'. densvis/src/densne.cpp:814:45: style:inconclusive: Function 'symmetrizeMatrix' argument 1 names different: declaration 'row_P' definition '_row_P'. [funcArgNamesDifferent] densvis/src/densne.cpp:87:45: note: Function 'symmetrizeMatrix' argument 1 names different: declaration 'row_P' definition '_row_P'. densvis/src/densne.cpp:814:45: note: Function 'symmetrizeMatrix' argument 1 names different: declaration 'row_P' definition '_row_P'. densvis/src/densne.cpp:814:68: style:inconclusive: Function 'symmetrizeMatrix' argument 2 names different: declaration 'col_P' definition '_col_P'. [funcArgNamesDifferent] densvis/src/densne.cpp:87:67: note: Function 'symmetrizeMatrix' argument 2 names different: declaration 'col_P' definition '_col_P'. densvis/src/densne.cpp:814:68: note: Function 'symmetrizeMatrix' argument 2 names different: declaration 'col_P' definition '_col_P'. densvis/src/densne.cpp:814:85: style:inconclusive: Function 'symmetrizeMatrix' argument 3 names different: declaration 'val_P' definition '_val_P'. [funcArgNamesDifferent] densvis/src/densne.cpp:87:83: note: Function 'symmetrizeMatrix' argument 3 names different: declaration 'val_P' definition '_val_P'. densvis/src/densne.cpp:814:85: note: Function 'symmetrizeMatrix' argument 3 names different: declaration 'val_P' definition '_val_P'. densvis/src/densne.cpp:814:102: style:inconclusive: Function 'symmetrizeMatrix' argument 4 names different: declaration 'val_D' definition '_val_D'. [funcArgNamesDifferent] densvis/src/densne.cpp:87:99: note: Function 'symmetrizeMatrix' argument 4 names different: declaration 'val_D' definition '_val_D'. densvis/src/densne.cpp:814:102: note: Function 'symmetrizeMatrix' argument 4 names different: declaration 'val_D' definition '_val_D'. densvis/src/densne.cpp:428:42: style: Parameter 'P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:478:37: style: Parameter 'P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:514:43: style: Parameter 'row_P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:514:64: style: Parameter 'col_P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:514:79: style: Parameter 'val_P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:546:47: style: Parameter 'row_P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:546:68: style: Parameter 'col_P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:546:83: style: Parameter 'val_P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:546:197: style: Parameter 'R' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:796:65: style: Parameter 'row_P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:796:101: style: Parameter 'val_P' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:796:116: style: Parameter 'val_D' can be declared as pointer to const [constParameterPointer] densvis/src/densne.cpp:817:19: style: Variable 'row_P' can be declared as pointer to const [constVariablePointer] densvis/src/densne.cpp:818:19: style: Variable 'col_P' can be declared as pointer to const [constVariablePointer] densvis/src/densne.cpp:819:13: style: Variable 'val_P' can be declared as pointer to const [constVariablePointer] densvis/src/densne.cpp:820:13: style: Variable 'val_D' can be declared as pointer to const [constVariablePointer] densvis/src/densne.cpp:908:53: style: Parameter 'X' can be declared as pointer to const [constParameterPointer] densvis/src/vptree.h:61:39: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] densvis/src/vptree.h:93:13: style: Variable 'x1' can be declared as pointer to const [constVariablePointer] densvis/src/vptree.h:94:13: style: Variable 'x2' can be declared as pointer to const [constVariablePointer] densvis/src/densne.cpp:201:33: warning: Uninitialized variable: row_P [uninitvar] densvis/src/densne.cpp:155:8: note: Assuming condition is true densvis/src/densne.cpp:201:33: note: Uninitialized variable: row_P densvis/src/densne.cpp:201:40: warning: Uninitialized variable: col_P [uninitvar] densvis/src/densne.cpp:155:8: note: Assuming condition is true densvis/src/densne.cpp:201:40: note: Uninitialized variable: col_P densvis/src/densne.cpp:201:47: warning: Uninitialized variable: val_P [uninitvar] densvis/src/densne.cpp:155:8: note: Assuming condition is true densvis/src/densne.cpp:201:47: note: Uninitialized variable: val_P densvis/src/densne.cpp:201:54: warning: Uninitialized variable: val_D [uninitvar] densvis/src/densne.cpp:155:8: note: Assuming condition is true densvis/src/densne.cpp:201:54: note: Uninitialized variable: val_D diff: head densvis/src/densne.cpp:908:53: style: Parameter 'X' can be declared as pointer to const [constParameterPointer] head densvis/src/sptree.cpp:211:10: warning: Class 'SPTree' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head densvis/src/sptree.cpp:211:10: warning: Class 'SPTree' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head densvis/src/sptree.cpp:84:10: warning: Class 'Cell' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head densvis/src/sptree.cpp:84:10: warning: Class 'Cell' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head densvis/src/vptree.h:114:16: warning: Class 'VpTree' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head densvis/src/vptree.h:114:16: warning: Class 'VpTree' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] head densvis/src/vptree.h:166:20: warning: Struct 'Node' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head densvis/src/vptree.h:166:20: warning: Struct 'Node' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] DONE