2024-03-24 17:02 ftp://ftp.de.debian.org/debian/pool/main/m/mrmpi/mrmpi_1.0~20140404.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.5.0-25-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 cppcheck: head 2.13.0 head-info: 51f8b53 (2024-03-24 16:07:43 +0100) count: 1261 1163 elapsed-time: 17.4 108.0 head-timing-info: old-timing-info: head results: mrmpi-1.0~20140404/examples/crmat.c:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/examples/crmat.c:162:10: style: The if condition is the same as the previous if condition [duplicateCondition] mrmpi-1.0~20140404/examples/crmat.c:160:10: note: First condition mrmpi-1.0~20140404/examples/crmat.c:162:10: note: Second condition mrmpi-1.0~20140404/examples/crmat.c:180:9: style: Variable 'rmat' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/examples/crmat.c:252:9: style: Variable 'edge' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/examples/cwordfreq.c:48:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/examples/cwordfreq.c:111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/examples/cwordfreq.c:122:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/examples/cwordfreq.c:125:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/examples/cwordfreq.c:121:9: style: Variable 'whitespace' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/examples/in.cc:10:6: error: syntax error [syntaxError] mrmpi-1.0~20140404/examples/rmat.cpp:67:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/examples/rmat.cpp:166:10: style: The if condition is the same as the previous if condition [duplicateCondition] mrmpi-1.0~20140404/examples/rmat.cpp:164:10: note: First condition mrmpi-1.0~20140404/examples/rmat.cpp:166:10: note: Second condition mrmpi-1.0~20140404/examples/rmat.cpp:184:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:232:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:255:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:256:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:269:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:270:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:282:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:294:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:304:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:305:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:318:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:319:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:320:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat.cpp:195:7: style: The scope of the variable 'i' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat.cpp:195:9: style: The scope of the variable 'j' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat.cpp:195:18: style: The scope of the variable 'delta' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat.cpp:196:10: style: The scope of the variable 'a1' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat.cpp:196:13: style: The scope of the variable 'b1' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat.cpp:196:16: style: The scope of the variable 'c1' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat.cpp:196:19: style: The scope of the variable 'd1' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat.cpp:184:9: style: Variable 'rmat' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/examples/rmat.cpp:256:9: style: Variable 'edge' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/examples/rmat2.cpp:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/examples/rmat2.cpp:373:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/examples/rmat2.cpp:202:10: style: The if condition is the same as the previous if condition [duplicateCondition] mrmpi-1.0~20140404/examples/rmat2.cpp:199:10: note: First condition mrmpi-1.0~20140404/examples/rmat2.cpp:202:10: note: Second condition mrmpi-1.0~20140404/examples/rmat2.cpp:177:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mrmpi-1.0~20140404/examples/rmat2.cpp:177:7: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mrmpi-1.0~20140404/examples/rmat2.cpp:177:7: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mrmpi-1.0~20140404/examples/rmat2.cpp:304:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'VERTEX {aka unsigned long}'. [invalidPrintfArgType_sint] mrmpi-1.0~20140404/examples/rmat2.cpp:304:3: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'VERTEX {aka unsigned long}'. [invalidPrintfArgType_sint] mrmpi-1.0~20140404/examples/rmat2.cpp:230:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:279:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:302:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:303:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:316:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:317:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:330:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:331:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:344:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:345:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:355:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:356:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:369:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:370:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:371:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/rmat2.cpp:241:12: style: The scope of the variable 'i' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat2.cpp:241:14: style: The scope of the variable 'j' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat2.cpp:241:16: style: The scope of the variable 'delta' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat2.cpp:243:10: style: The scope of the variable 'a1' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat2.cpp:243:13: style: The scope of the variable 'b1' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat2.cpp:243:16: style: The scope of the variable 'c1' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat2.cpp:243:19: style: The scope of the variable 'd1' can be reduced. [variableScope] mrmpi-1.0~20140404/examples/rmat2.cpp:219:38: style: Parameter 'kv' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/examples/rmat2.cpp:219:48: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/examples/rmat2.cpp:230:9: style: Variable 'rmat' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/examples/rmat2.cpp:303:9: style: Variable 'edge' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/examples/rmat2.cpp:326:44: style: Parameter 'multivalue' can be declared as pointer to const. However it seems that 'degree' is a callback function, if 'multivalue' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/examples/rmat2.cpp:192:15: note: You might need to cast the function pointer here mrmpi-1.0~20140404/examples/rmat2.cpp:326:44: note: Parameter 'multivalue' can be declared as pointer to const mrmpi-1.0~20140404/examples/rmat2.cpp:340:43: style: Parameter 'multivalue' can be declared as pointer to const. However it seems that 'histo' is a callback function, if 'multivalue' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/examples/rmat2.cpp:194:15: note: You might need to cast the function pointer here mrmpi-1.0~20140404/examples/rmat2.cpp:340:43: note: Parameter 'multivalue' can be declared as pointer to const mrmpi-1.0~20140404/examples/wordfreq.cpp:47:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/examples/wordfreq.cpp:112:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/examples/wordfreq.cpp:123:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/examples/wordfreq.cpp:126:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/examples/wordfreq.cpp:140:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/wordfreq.cpp:150:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/wordfreq.cpp:151:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/wordfreq.cpp:165:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/wordfreq.cpp:169:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/wordfreq.cpp:171:29: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/examples/wordfreq.cpp:104:32: style: Parameter 'fname' can be declared as pointer to const. However it seems that 'fileread' is a callback function, if 'fname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/examples/wordfreq.cpp:64:46: note: You might need to cast the function pointer here mrmpi-1.0~20140404/examples/wordfreq.cpp:104:32: note: Parameter 'fname' can be declared as pointer to const mrmpi-1.0~20140404/examples/wordfreq.cpp:122:9: style: Variable 'whitespace' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:42:20: style: Parameter 'argc' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:111:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:119:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:127:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:128:56: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:135:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:136:58: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:143:28: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:143:49: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:150:38: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:150:59: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:157:42: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:157:56: style: Parameter 'index' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:158:16: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:165:25: style: Parameter 'sbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:166:31: style: Parameter 'rbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:168:32: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:175:32: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:175:68: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:196:30: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:237:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:244:26: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:261:21: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:280:26: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:300:27: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:320:31: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:320:60: style: Parameter 'recvcounts' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:339:23: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:359:25: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:379:26: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/mpistubs/mpi.cpp:379:40: style: Parameter 'sendcounts' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/cc_find.cpp:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::me' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::nprocs' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::seed' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::nthresh' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::nvert' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::flag' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::pshift' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::lmask' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/cc_find.cpp:30:9: warning: Member variable 'CCFind::pad' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/pointers.h:26:3: style: Class 'Pointers' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/cc_find.h:26:3: style: Class 'CCFind' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/object.h:21:3: style: Class 'Object' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/error.h:18:3: style: Class 'Error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/command.h:19:12: style: The destructor '~Command' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/command.h:19:12: note: Destructor in derived class mrmpi-1.0~20140404/oink/cc_find.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/cc_find.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/cc_find.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/cc_find.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/object.h:22:4: style: The destructor '~Object' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/object.h:22:4: note: Destructor in derived class mrmpi-1.0~20140404/oink/cc_find.cpp:124:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:125:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:126:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:146:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:147:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:148:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:163:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:175:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:184:35: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:199:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:209:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:215:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:218:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:228:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:233:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:236:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:246:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:252:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:254:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:261:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:272:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:284:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:290:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:296:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:321:35: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:333:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:335:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_find.cpp:45:7: style: Local variable 'seed' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/oink/cc_find.h:32:7: note: Shadowed declaration mrmpi-1.0~20140404/oink/cc_find.cpp:45:7: note: Shadow variable mrmpi-1.0~20140404/oink/cc_find.cpp:182:12: style: Local variable 'i' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/oink/cc_find.cpp:157:7: note: Shadowed declaration mrmpi-1.0~20140404/oink/cc_find.cpp:182:12: note: Shadow variable mrmpi-1.0~20140404/oink/cc_find.cpp:233:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/cc_find.cpp:252:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/cc_find.cpp:272:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/cc_find.cpp:175:33: warning: Uninitialized variable: value [uninitvar] mrmpi-1.0~20140404/oink/cc_find.cpp:164:3: note: Assuming condition is false mrmpi-1.0~20140404/oink/cc_find.cpp:175:33: note: Uninitialized variable: value mrmpi-1.0~20140404/oink/cc_find.cpp:163:3: style: Variable 'nvalues_total' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/cc_stats.cpp:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/cc_stats.h:26:3: style: Class 'CCStats' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/cc_stats.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/cc_stats.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/cc_stats.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/cc_stats.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/cc_stats.cpp:81:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_stats.cpp:91:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_stats.cpp:92:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/cc_stats.cpp:73:37: style: Parameter 'file' can be declared as pointer to const. However it seems that 'read' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/cc_stats.cpp:44:33: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/cc_stats.cpp:73:37: note: Parameter 'file' can be declared as pointer to const mrmpi-1.0~20140404/oink/cc_stats.cpp:89:29: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'print' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/cc_stats.cpp:59:12: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/cc_stats.cpp:89:29: note: Parameter 'ptr' can be declared as pointer to const mrmpi-1.0~20140404/oink/command.cpp:17:10: warning: Member variable 'Command::ninputs' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/command.cpp:17:10: warning: Member variable 'Command::noutputs' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/degree.cpp:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/degree.cpp:28:9: warning: Member variable 'Degree::duplicate' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/degree.h:24:3: style: Class 'Degree' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/degree.h:25:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/degree.h:25:8: note: Function in derived class mrmpi-1.0~20140404/oink/degree.h:26:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/degree.h:26:8: note: Function in derived class mrmpi-1.0~20140404/oink/degree.cpp:75:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree.cpp:76:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree.cpp:77:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_stats.cpp:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/degree_stats.cpp:27:14: warning: Member variable 'DegreeStats::duplicate' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/degree_stats.h:24:3: style: Class 'DegreeStats' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/degree_stats.h:25:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/degree_stats.h:25:8: note: Function in derived class mrmpi-1.0~20140404/oink/degree_stats.h:26:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/degree_stats.h:26:8: note: Function in derived class mrmpi-1.0~20140404/oink/degree_stats.cpp:80:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_stats.cpp:81:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_stats.cpp:78:26: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'print' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/degree_stats.cpp:61:12: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/degree_stats.cpp:78:26: note: Parameter 'ptr' can be declared as pointer to const mrmpi-1.0~20140404/oink/degree_weight.cpp:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/degree_weight.cpp:27:15: warning: Member variable 'DegreeWeight::duplicate' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/degree_weight.h:24:3: style: Class 'DegreeWeight' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/degree_weight.h:25:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/degree_weight.h:25:8: note: Function in derived class mrmpi-1.0~20140404/oink/degree_weight.h:26:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/degree_weight.h:26:8: note: Function in derived class mrmpi-1.0~20140404/oink/degree_weight.cpp:74:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:75:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:76:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:92:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:106:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:108:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:117:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:118:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:76:20: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:118:43: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] mrmpi-1.0~20140404/oink/degree_weight.cpp:115:12: style: Local variable 'i' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/oink/degree_weight.cpp:87:7: note: Shadowed declaration mrmpi-1.0~20140404/oink/degree_weight.cpp:115:12: note: Shadow variable mrmpi-1.0~20140404/oink/degree_weight.cpp:75:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/degree_weight.cpp:106:25: warning: Uninitialized variable: value [uninitvar] mrmpi-1.0~20140404/oink/degree_weight.cpp:93:3: note: Assuming condition is false mrmpi-1.0~20140404/oink/degree_weight.cpp:106:25: note: Uninitialized variable: value mrmpi-1.0~20140404/oink/degree_weight.cpp:92:3: style: Variable 'nvalues_total' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/edge_upper.cpp:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/edge_upper.h:24:3: style: Class 'EdgeUpper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/edge_upper.h:25:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/edge_upper.h:25:8: note: Function in derived class mrmpi-1.0~20140404/oink/edge_upper.h:26:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/edge_upper.h:26:8: note: Function in derived class mrmpi-1.0~20140404/oink/error.cpp:35:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/error.cpp:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/universe.h:35:4: style: The destructor '~Universe' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/universe.h:35:4: note: Destructor in derived class mrmpi-1.0~20140404/oink/error.cpp:111:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/histo.cpp:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/histo.h:24:3: style: Class 'Histo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/histo.h:25:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/histo.h:25:8: note: Function in derived class mrmpi-1.0~20140404/oink/histo.h:26:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/histo.h:26:8: note: Function in derived class mrmpi-1.0~20140404/oink/histo.cpp:87:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/histo.cpp:88:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/histo.cpp:85:27: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'print' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/histo.cpp:70:12: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/histo.cpp:85:27: note: Parameter 'ptr' can be declared as pointer to const mrmpi-1.0~20140404/oink/input.cpp:135:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/input.cpp:198:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/input.cpp:458:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/input.cpp:678:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/input.cpp:769:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/input.cpp:286:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/oink/input.cpp:302:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/oink/input.cpp:33:8: warning: Member variable 'Input::command' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/input.cpp:60:3: warning: Class 'Input' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mrmpi-1.0~20140404/oink/input.cpp:60:3: warning: Class 'Input' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mrmpi-1.0~20140404/oink/mrmpi.h:19:3: style: Class 'MRMPI' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/variable.h:18:3: style: Class 'Variable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/memory.h:18:3: style: Class 'Memory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/input.h:26:4: style: The destructor '~Input' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/input.h:26:4: note: Destructor in derived class mrmpi-1.0~20140404/oink/mrmpi.h:20:4: style: The destructor '~MRMPI' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/mrmpi.h:20:4: note: Destructor in derived class mrmpi-1.0~20140404/oink/variable.h:19:4: style: The destructor '~Variable' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/variable.h:19:4: note: Destructor in derived class mrmpi-1.0~20140404/oink/input.cpp:431:7: style: Condition 'cmd' is always false [knownConditionTrueFalse] mrmpi-1.0~20140404/oink/input.cpp:417:18: note: Assignment 'cmd=NULL', assigned value is 0 mrmpi-1.0~20140404/oink/input.cpp:431:7: note: Condition 'cmd' is always false mrmpi-1.0~20140404/oink/input.cpp:361:31: warning: Either the condition 'value==NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] mrmpi-1.0~20140404/oink/input.cpp:357:17: note: Assuming that condition 'value==NULL' is not redundant mrmpi-1.0~20140404/oink/input.cpp:361:31: note: Null pointer dereference mrmpi-1.0~20140404/oink/input.cpp:56:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/input.cpp:300:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/input.cpp:651:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/input.cpp:459:12: style: Local variable 'tstart' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/oink/input.cpp:388:10: note: Shadowed declaration mrmpi-1.0~20140404/oink/input.cpp:459:12: note: Shadow variable mrmpi-1.0~20140404/oink/input.cpp:476:12: style: Local variable 'tstart' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/oink/input.cpp:388:10: note: Shadowed declaration mrmpi-1.0~20140404/oink/input.cpp:476:12: note: Shadow variable mrmpi-1.0~20140404/oink/input.cpp:573:13: style: Local variable 'command' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/oink/input.h:34:9: note: Shadowed declaration mrmpi-1.0~20140404/oink/input.cpp:573:13: note: Shadow variable mrmpi-1.0~20140404/oink/input.cpp:630:13: style: Local variable 'command' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/oink/input.h:34:9: note: Shadowed declaration mrmpi-1.0~20140404/oink/input.cpp:630:13: note: Shadow variable mrmpi-1.0~20140404/oink/input.cpp:337:14: style: Variable 'value' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/input.cpp:337:21: style: Variable 'beyond' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/input.cpp:573:13: style: Variable 'command' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/input.cpp:630:13: style: Variable 'command' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/input.cpp:388:10: style: Unused variable: tstart [unusedVariable] mrmpi-1.0~20140404/oink/input.cpp:388:17: style: Unused variable: tstop [unusedVariable] mrmpi-1.0~20140404/oink/input.cpp:573:21: style: Variable 'command' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/input.cpp:630:21: style: Variable 'command' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/library.cpp:49:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/library.cpp:29:10: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/library.cpp:52:10: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/library.cpp:61:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/library.cpp:71:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/library.cpp:81:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/library.cpp:44:9: style: Local variable 'argc' shadows outer argument [shadowArgument] mrmpi-1.0~20140404/oink/library.cpp:38:27: note: Shadowed declaration mrmpi-1.0~20140404/oink/library.cpp:44:9: note: Shadow variable mrmpi-1.0~20140404/oink/library.cpp:45:12: style: Local variable 'argv' shadows outer argument [shadowArgument] mrmpi-1.0~20140404/oink/library.cpp:38:40: note: Shadowed declaration mrmpi-1.0~20140404/oink/library.cpp:45:12: note: Shadow variable mrmpi-1.0~20140404/oink/library.cpp:69:33: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/library.cpp:79:37: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/luby_find.cpp:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/luby_find.cpp:45:11: warning: Member variable 'LubyFind::seed' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/luby_find.h:26:3: style: Class 'LubyFind' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/luby_find.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/luby_find.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/luby_find.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/luby_find.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/luby_find.cpp:112:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:113:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:124:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:127:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:135:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:146:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:161:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:167:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:174:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:180:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:195:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:198:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:210:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:216:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:224:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:228:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:247:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:260:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:268:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:275:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:279:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:298:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:311:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:313:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:314:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:324:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:337:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:339:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/luby_find.cpp:124:10: style: Variable 'vpair' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/luby_find.cpp:127:8: style: Variable 'seed' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/luby_find.cpp:142:12: style: Parameter 'valuebytes' can be declared as pointer to const. However it seems that 'reduce_edge_winner' is a callback function, if 'valuebytes' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/luby_find.cpp:76:30: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/luby_find.cpp:142:12: note: Parameter 'valuebytes' can be declared as pointer to const mrmpi-1.0~20140404/oink/luby_find.cpp:146:10: style: Variable 'edge' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/luby_find.cpp:210:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/luby_find.cpp:260:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/luby_find.cpp:261:10: style: Variable 'vf' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/luby_find.cpp:317:10: style: Variable 'vf' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/luby_find.cpp:195:3: style: Variable 'nvalues_total' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/luby_find.cpp:247:3: style: Variable 'nvalues_total' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/luby_find.cpp:298:3: style: Variable 'nvalues_total' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/main.cpp:23:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/map_add_label.cpp:15:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_add_weight.cpp:16:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_add_weight.cpp:16:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] mrmpi-1.0~20140404/oink/map_edge_to_vertex.cpp:15:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_to_vertex.cpp:16:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_to_vertex_pair.cpp:15:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_to_vertex_pair.cpp:16:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_to_vertices.cpp:17:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_to_vertices.cpp:18:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_to_vertices.cpp:19:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_upper.cpp:15:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_upper.cpp:21:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_edge_upper.cpp:15:9: style: Variable 'edge' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/map_read_edge.cpp:22:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_read_edge.cpp:14:33: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/map_read_edge_label.cpp:24:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_read_edge_label.cpp:15:39: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/map_read_edge_weight.cpp:24:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_read_edge_weight.cpp:24:41: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] mrmpi-1.0~20140404/oink/map_read_edge_weight.cpp:15:40: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/map_read_vertex_label.cpp:24:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_read_vertex_label.cpp:15:41: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/map_read_vertex_weight.cpp:24:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_read_vertex_weight.cpp:24:40: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] mrmpi-1.0~20140404/oink/map_read_vertex_weight.cpp:15:42: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/map_read_words.cpp:23:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/oink/map_read_words.cpp:26:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/oink/map_read_words.cpp:18:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_read_words.cpp:13:34: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/map_read_words.cpp:16:9: style: Variable 'whitespace' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:16:23: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:65:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:27:12: style: The scope of the variable 'i' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:27:14: style: The scope of the variable 'j' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:27:16: style: The scope of the variable 'delta' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:29:10: style: The scope of the variable 'a1' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:29:13: style: The scope of the variable 'b1' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:29:16: style: The scope of the variable 'c1' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:29:19: style: The scope of the variable 'd1' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/map_rmat_generate.cpp:16:16: style: Variable 'rmat' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/memory.h:21:8: performance:inconclusive: Technically the member function 'OINK_NS::Memory::sfree' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/memory.cpp:42:14: note: Technically the member function 'OINK_NS::Memory::sfree' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/memory.h:21:8: note: Technically the member function 'OINK_NS::Memory::sfree' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/memory.cpp:75:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:96:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:97:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:132:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:133:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:154:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:155:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:194:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:195:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:240:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:241:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:242:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:287:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:288:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:289:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:367:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:368:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:369:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:404:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:405:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:406:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:407:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/memory.cpp:75:11: style: Variable 'array' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:154:17: error: Deallocation of an auto-variable ([) results in undefined behaviour. [autovarInvalidDeallocation] mrmpi-1.0~20140404/oink/mrmpi.cpp:128:22: note: Address of variable taken here. mrmpi-1.0~20140404/oink/mrmpi.cpp:129:29: note: Assuming condition is false mrmpi-1.0~20140404/oink/mrmpi.cpp:154:17: note: Deallocating memory that was not dynamically allocated mrmpi-1.0~20140404/oink/mrmpi.cpp:190:17: error: Deallocation of an auto-variable ([) results in undefined behaviour. [autovarInvalidDeallocation] mrmpi-1.0~20140404/oink/mrmpi.cpp:163:22: note: Address of variable taken here. mrmpi-1.0~20140404/oink/mrmpi.cpp:164:29: note: Assuming condition is false mrmpi-1.0~20140404/oink/mrmpi.cpp:190:17: note: Deallocating memory that was not dynamically allocated mrmpi-1.0~20140404/oink/mrmpi.cpp:226:17: error: Deallocation of an auto-variable ([) results in undefined behaviour. [autovarInvalidDeallocation] mrmpi-1.0~20140404/oink/mrmpi.cpp:199:22: note: Address of variable taken here. mrmpi-1.0~20140404/oink/mrmpi.cpp:200:29: note: Assuming condition is false mrmpi-1.0~20140404/oink/mrmpi.cpp:226:17: note: Deallocating memory that was not dynamically allocated mrmpi-1.0~20140404/oink/mrmpi.h:23:13: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::hash_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:354:18: note: Technically the member function 'OINK_NS::MRMPI::hash_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:23:13: note: Technically the member function 'OINK_NS::MRMPI::hash_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:24:16: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::compare_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:368:21: note: Technically the member function 'OINK_NS::MRMPI::compare_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:24:16: note: Technically the member function 'OINK_NS::MRMPI::compare_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:25:16: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::map_task_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:382:21: note: Technically the member function 'OINK_NS::MRMPI::map_task_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:25:16: note: Technically the member function 'OINK_NS::MRMPI::map_task_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:26:16: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::map_file_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:396:21: note: Technically the member function 'OINK_NS::MRMPI::map_file_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:26:16: note: Technically the member function 'OINK_NS::MRMPI::map_file_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:27:18: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::map_string_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:410:23: note: Technically the member function 'OINK_NS::MRMPI::map_string_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:27:18: note: Technically the member function 'OINK_NS::MRMPI::map_string_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:28:14: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::map_mr_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:424:19: note: Technically the member function 'OINK_NS::MRMPI::map_mr_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:28:14: note: Technically the member function 'OINK_NS::MRMPI::map_mr_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:29:15: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::reduce_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:438:20: note: Technically the member function 'OINK_NS::MRMPI::reduce_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:29:15: note: Technically the member function 'OINK_NS::MRMPI::reduce_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:30:15: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::scan_kv_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:452:20: note: Technically the member function 'OINK_NS::MRMPI::scan_kv_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:30:15: note: Technically the member function 'OINK_NS::MRMPI::scan_kv_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:31:16: performance:inconclusive: Technically the member function 'OINK_NS::MRMPI::scan_kmv_lookup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/mrmpi.cpp:466:21: note: Technically the member function 'OINK_NS::MRMPI::scan_kmv_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.h:31:16: note: Technically the member function 'OINK_NS::MRMPI::scan_kmv_lookup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/mrmpi.cpp:86:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/mrmpi.cpp:89:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/mrmpi.cpp:92:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/mrmpi.cpp:278:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/mrmpi.cpp:281:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/mrmpi.cpp:284:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/mrmpi.cpp:92:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] mrmpi-1.0~20140404/oink/mrmpi.cpp:284:26: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] mrmpi-1.0~20140404/oink/mrmpi.cpp:130:11: style: Local variable 'index' shadows outer argument [shadowArgument] mrmpi-1.0~20140404/oink/mrmpi.cpp:37:21: note: Shadowed declaration mrmpi-1.0~20140404/oink/mrmpi.cpp:130:11: note: Shadow variable mrmpi-1.0~20140404/oink/mrmpi.cpp:165:11: style: Local variable 'index' shadows outer argument [shadowArgument] mrmpi-1.0~20140404/oink/mrmpi.cpp:37:21: note: Shadowed declaration mrmpi-1.0~20140404/oink/mrmpi.cpp:165:11: note: Shadow variable mrmpi-1.0~20140404/oink/mrmpi.cpp:201:11: style: Local variable 'index' shadows outer argument [shadowArgument] mrmpi-1.0~20140404/oink/mrmpi.cpp:37:21: note: Shadowed declaration mrmpi-1.0~20140404/oink/mrmpi.cpp:201:11: note: Shadow variable mrmpi-1.0~20140404/oink/mrmpi.cpp:45:9: style: Variable 'command' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:137:8: style: Variable 'one' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:172:8: style: Variable 'one' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:208:8: style: Variable 'one' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:354:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:368:42: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:382:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:396:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:410:47: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:424:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:438:40: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:452:41: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/mrmpi.cpp:466:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/neigh_tri.cpp:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/neigh_tri.cpp:83:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/oink/neigh_tri.cpp:84:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/oink/neigh_tri.cpp:31:11: warning: Member variable 'NeighTri::dirname' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/neigh_tri.h:26:3: style: Class 'NeighTri' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/neigh_tri.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/neigh_tri.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/neigh_tri.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/neigh_tri.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/neigh_tri.cpp:78:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:86:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:102:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:114:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:116:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:128:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:131:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:132:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:147:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:151:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:155:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:159:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neigh_tri.cpp:80:9: style: The scope of the variable 'pvj' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/neigh_tri.cpp:75:39: style: Parameter 'file' can be declared as pointer to const. However it seems that 'nread' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/neigh_tri.cpp:48:33: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/neigh_tri.cpp:75:39: note: Parameter 'file' can be declared as pointer to const mrmpi-1.0~20140404/oink/neigh_tri.cpp:80:9: style: Variable 'pvj' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/neigh_tri.cpp:94:39: style: Parameter 'file' can be declared as pointer to const. However it seems that 'tread' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/neigh_tri.cpp:49:33: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/neigh_tri.cpp:94:39: note: Parameter 'file' can be declared as pointer to const mrmpi-1.0~20140404/oink/neigh_tri.cpp:110:13: style: Parameter 'valuebytes' can be declared as pointer to const. However it seems that 'print' is a callback function, if 'valuebytes' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/neigh_tri.cpp:54:17: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/neigh_tri.cpp:110:13: note: Parameter 'valuebytes' can be declared as pointer to const mrmpi-1.0~20140404/oink/neighbor.cpp:37:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/neighbor.h:26:3: style: Class 'Neighbor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/neighbor.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/neighbor.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/neighbor.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/neighbor.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/neighbor.cpp:67:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:68:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:74:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:87:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:88:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:89:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:98:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:107:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:113:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/neighbor.cpp:65:13: style: The scope of the variable 'vj' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/object.cpp:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/object.cpp:970:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/oink/object.cpp:979:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] mrmpi-1.0~20140404/oink/object.h:162:10: performance:inconclusive: Technically the member function 'OINK_NS::Object::default_input' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/object.cpp:863:24: note: Technically the member function 'OINK_NS::Object::default_input' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/object.h:162:10: note: Technically the member function 'OINK_NS::Object::default_input' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/object.h:163:11: performance:inconclusive: Technically the member function 'OINK_NS::Object::default_output' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/object.cpp:889:25: note: Technically the member function 'OINK_NS::Object::default_output' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/object.h:163:11: note: Technically the member function 'OINK_NS::Object::default_output' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/object.cpp:402:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/object.cpp:413:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/object.cpp:564:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/object.cpp:623:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/object.cpp:684:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/object.cpp:314:9: style: Local variable 'index' shadows outer argument [shadowArgument] mrmpi-1.0~20140404/oink/object.cpp:295:25: note: Shadowed declaration mrmpi-1.0~20140404/oink/object.cpp:314:9: note: Shadow variable mrmpi-1.0~20140404/oink/object.cpp:135:34: style: Parameter 'mr' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/object.cpp:307:11: style: Variable 'out' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/object.cpp:494:54: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/object.cpp:560:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/object.cpp:757:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/object.cpp:913:31: style: Parameter 'inpath' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/object.cpp:914:10: style: Parameter 'prepend' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/object.cpp:950:40: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/oink.cpp:106:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/oink.cpp:261:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/oink.cpp:31:3: warning: Class 'OINK' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mrmpi-1.0~20140404/oink/oink.cpp:31:3: warning: Class 'OINK' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mrmpi-1.0~20140404/oink/pagerank.cpp:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/pagerank.cpp:27:11: warning: Member variable 'PageRank::tolerance' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/pagerank.cpp:27:11: warning: Member variable 'PageRank::alpha' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/pagerank.cpp:27:11: warning: Member variable 'PageRank::maxiter' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/pagerank.h:26:3: style: Class 'PageRank' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/pagerank.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/pagerank.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/pagerank.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/pagerank.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/pagerank.cpp:82:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/pagerank.cpp:83:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/pagerank.cpp:84:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/pagerank.cpp:84:18: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/oink/pagerank.cpp:44:14: style: Variable 'mrr' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/pagerank.cpp:44:18: style: Variable 'mrr' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/random_mars.cpp:19:10: warning: Member variable 'RanMars::seed' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/random_mars.cpp:19:10: warning: Member variable 'RanMars::second' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/random_mars.cpp:28:3: warning: Class 'RanMars' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mrmpi-1.0~20140404/oink/random_mars.cpp:28:3: warning: Class 'RanMars' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mrmpi-1.0~20140404/oink/random_mars.h:19:4: style: The destructor '~RanMars' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/random_mars.h:19:4: note: Destructor in derived class mrmpi-1.0~20140404/oink/random_mars.cpp:22:10: style: The scope of the variable 's' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/random_mars.cpp:22:12: style: The scope of the variable 't' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/random_mars.cpp:91:16: style: The scope of the variable 'v1' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/random_mars.cpp:91:19: style: The scope of the variable 'v2' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/random_mars.cpp:91:22: style: The scope of the variable 'rsq' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/random_mars.cpp:91:26: style: The scope of the variable 'fac' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/reduce_count.cpp:17:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/reduce_count.cpp:19:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/reduce_count.cpp:13:43: style: Parameter 'multivalue' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/reduce_cull.cpp:16:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/rmat.cpp:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/rmat.cpp:93:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/rmat.cpp:29:7: warning: Member variable 'RMAT::rmat' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/rmat.h:25:3: style: Class 'RMAT' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/rmat.h:26:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/rmat.h:26:8: note: Function in derived class mrmpi-1.0~20140404/oink/rmat.h:27:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/rmat.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/rmat.cpp:95:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] mrmpi-1.0~20140404/oink/rmat2.cpp:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/rmat2.cpp:96:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/rmat2.cpp:29:8: warning: Member variable 'RMAT2::rmat' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/rmat2.h:25:3: style: Class 'RMAT2' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/rmat2.h:26:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/rmat2.h:26:8: note: Function in derived class mrmpi-1.0~20140404/oink/rmat2.h:27:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/rmat2.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/rmat2.cpp:98:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] mrmpi-1.0~20140404/oink/scan_print_edge.cpp:13:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/scan_print_edge.cpp:14:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/scan_print_edge.cpp:14:9: style: Variable 'edge' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/scan_print_string_int.cpp:12:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/scan_print_string_int.cpp:13:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/scan_print_string_int.cpp:9:29: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/scan_print_vertex.cpp:13:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/scan_print_vertex.cpp:14:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.h:52:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:52:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:197:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDGEVALUE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:212:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:236:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:285:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:318:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:389:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_BYTE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:399:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/sssp.cpp:39:7: warning: Member variable 'SSSP::ncnt' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/sssp.cpp:39:7: warning: Member variable 'SSSP::seed' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/sssp.h:85:8: style:inconclusive: Technically the member function 'OINK_NS::SSSP::get_next_source' can be const. [functionConst] mrmpi-1.0~20140404/oink/sssp.cpp:379:12: note: Technically the member function 'OINK_NS::SSSP::get_next_source' can be const. mrmpi-1.0~20140404/oink/sssp.h:85:8: note: Technically the member function 'OINK_NS::SSSP::get_next_source' can be const. mrmpi-1.0~20140404/oink/sssp.h:72:3: style: Class 'SSSP' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/sssp.h:73:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/sssp.h:73:8: note: Function in derived class mrmpi-1.0~20140404/oink/sssp.h:74:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/sssp.h:74:8: note: Function in derived class mrmpi-1.0~20140404/oink/sssp.cpp:411:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'VERTEX * {aka unsigned long *}'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/oink/sssp.cpp:191:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:195:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:197:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:207:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:211:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:212:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:223:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:236:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:248:23: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:251:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:264:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:275:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:285:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:291:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:303:23: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:304:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:309:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:320:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:343:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:352:27: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:353:27: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:367:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:374:31: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:408:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:409:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:410:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/sssp.cpp:195:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/oink/sssp.cpp:130:14: style: Variable 'done' is reassigned a value before the old one has been used. [redundantAssignment] mrmpi-1.0~20140404/oink/sssp.cpp:106:12: note: done is assigned mrmpi-1.0~20140404/oink/sssp.cpp:130:14: note: done is overwritten mrmpi-1.0~20140404/oink/sssp.cpp:118:28: style: The scope of the variable 'tmp_ne' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/sssp.cpp:51:7: style: Local variable 'me' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/oink/sssp.h:75:7: note: Shadowed declaration mrmpi-1.0~20140404/oink/sssp.cpp:51:7: note: Shadow variable mrmpi-1.0~20140404/oink/sssp.cpp:191:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/sssp.cpp:264:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/sssp.cpp:275:15: style: Variable 'd' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/sssp.cpp:304:11: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/sssp.cpp:320:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/sssp.cpp:409:11: style: Variable 'v' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/sssp.cpp:410:13: style: Variable 'd' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/sssp.cpp:118:35: style: Variable 'tmp_ne' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/sssp.cpp:121:14: style: Variable 'tmp_nv' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/sssp.cpp:136:16: style: Variable 'tmp_ne' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/sssp.cpp:309:3: style: Variable 'total_nvalues' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/tri_find.cpp:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/tri_find.h:26:3: style: Class 'TriFind' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/tri_find.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/tri_find.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/tri_find.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/tri_find.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/tri_find.cpp:96:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:97:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:108:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:109:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:110:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:126:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:129:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:135:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:141:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:147:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:153:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:167:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:168:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:174:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:178:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:188:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:189:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:192:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:193:6: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:195:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:196:6: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:198:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:199:6: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:201:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:202:6: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:217:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:219:8: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:223:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:227:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:233:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:240:8: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:243:10: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:247:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:251:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:258:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:262:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:266:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:292:3: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:309:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:318:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:319:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/tri_find.cpp:121:13: style: The scope of the variable 'vj' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/tri_find.cpp:211:11: style: The scope of the variable 'nv' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/tri_find.cpp:211:14: style: The scope of the variable 'nv2' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/tri_find.cpp:211:18: style: The scope of the variable 'iblock' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/tri_find.cpp:211:25: style: The scope of the variable 'jblock' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/tri_find.cpp:97:8: style: Variable 'tri' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/tri_find.cpp:165:13: style: Parameter 'valuebytes' can be declared as pointer to const. However it seems that 'reduce_second_degree' is a callback function, if 'valuebytes' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/tri_find.cpp:60:15: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/tri_find.cpp:165:13: note: Parameter 'valuebytes' can be declared as pointer to const mrmpi-1.0~20140404/oink/tri_find.cpp:167:11: style: Variable 'one' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/tri_find.cpp:168:11: style: Variable 'two' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/tri_find.cpp:189:11: style: Variable 'degree' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/tri_find.cpp:309:9: style: Variable 'edge' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/tri_find.cpp:292:3: style: Variable 'nvalues_total' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/oink/universe.cpp:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/universe.cpp:23:11: warning: Member variable 'Universe::iworld' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/universe.cpp:27:3: performance: Variable 'uworld' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mrmpi-1.0~20140404/oink/universe.h:37:7: style:inconclusive: Technically the member function 'OINK_NS::Universe::consistent' can be const. [functionConst] mrmpi-1.0~20140404/oink/universe.cpp:93:15: note: Technically the member function 'OINK_NS::Universe::consistent' can be const. mrmpi-1.0~20140404/oink/universe.h:37:7: note: Technically the member function 'OINK_NS::Universe::consistent' can be const. mrmpi-1.0~20140404/oink/universe.cpp:25:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/universe.cpp:73:5: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/universe.cpp:76:5: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/universe.cpp:55:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:373:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/variable.cpp:355:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] mrmpi-1.0~20140404/oink/variable.h:58:10: style: Unused private function: 'Variable::numeric' [unusedPrivateFunction] mrmpi-1.0~20140404/oink/variable.h:59:7: style: Unused private function: 'Variable::inumeric' [unusedPrivateFunction] mrmpi-1.0~20140404/oink/variable.h:24:7: style:inconclusive: Technically the member function 'OINK_NS::Variable::equalstyle' can be const. [functionConst] mrmpi-1.0~20140404/oink/variable.cpp:499:15: note: Technically the member function 'OINK_NS::Variable::equalstyle' can be const. mrmpi-1.0~20140404/oink/variable.h:24:7: note: Technically the member function 'OINK_NS::Variable::equalstyle' can be const. mrmpi-1.0~20140404/oink/variable.h:26:7: style:inconclusive: Technically the member function 'OINK_NS::Variable::retrieve_count' can be const. [functionConst] mrmpi-1.0~20140404/oink/variable.cpp:440:15: note: Technically the member function 'OINK_NS::Variable::retrieve_count' can be const. mrmpi-1.0~20140404/oink/variable.h:26:7: note: Technically the member function 'OINK_NS::Variable::retrieve_count' can be const. mrmpi-1.0~20140404/oink/variable.h:50:8: performance:inconclusive: Technically the member function 'OINK_NS::Variable::copy' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/variable.cpp:550:16: note: Technically the member function 'OINK_NS::Variable::copy' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/variable.h:50:8: note: Technically the member function 'OINK_NS::Variable::copy' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/variable.h:54:7: performance:inconclusive: Technically the member function 'OINK_NS::Variable::is_constant' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/variable.cpp:1044:15: note: Technically the member function 'OINK_NS::Variable::is_constant' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/variable.h:54:7: note: Technically the member function 'OINK_NS::Variable::is_constant' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/variable.h:55:10: style:inconclusive: Technically the member function 'OINK_NS::Variable::constant' can be const. [functionConst] mrmpi-1.0~20140404/oink/variable.cpp:1055:18: note: Technically the member function 'OINK_NS::Variable::constant' can be const. mrmpi-1.0~20140404/oink/variable.h:55:10: note: Technically the member function 'OINK_NS::Variable::constant' can be const. mrmpi-1.0~20140404/oink/variable.h:56:7: performance:inconclusive: Technically the member function 'OINK_NS::Variable::is_keyword' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/oink/variable.cpp:1067:15: note: Technically the member function 'OINK_NS::Variable::is_keyword' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/variable.h:56:7: note: Technically the member function 'OINK_NS::Variable::is_keyword' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/oink/variable.cpp:679:31: warning: Either the condition 'var==NULL' is redundant or there is possible null pointer dereference: var. [nullPointerRedundantCheck] mrmpi-1.0~20140404/oink/variable.cpp:677:10: note: Assuming that condition 'var==NULL' is not redundant mrmpi-1.0~20140404/oink/variable.cpp:679:31: note: Null pointer dereference mrmpi-1.0~20140404/oink/variable.cpp:294:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/variable.cpp:535:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/variable.cpp:537:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/variable.cpp:538:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/variable.cpp:539:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/variable.cpp:540:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/variable.cpp:541:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/variable.cpp:542:10: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/variable.cpp:552:7: style: The scope of the variable 'n' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/variable.cpp:578:8: style: The scope of the variable 'onechar' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/variable.cpp:1136:8: style: The scope of the variable 'onechar' can be reduced. [variableScope] mrmpi-1.0~20140404/oink/variable.cpp:488:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:676:8: style: Variable 'var' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/oink/variable.cpp:857:41: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:892:35: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:892:47: style: Parameter 'contents' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:1044:33: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:1055:33: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:1067:32: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:1079:32: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:1095:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:1113:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/oink/variable.cpp:579:9: style: Unused variable: ptr [unusedVariable] mrmpi-1.0~20140404/oink/variable.cpp:939:10: style: Unused variable: tmp [unusedVariable] mrmpi-1.0~20140404/oink/variable.cpp:1137:9: style: Unused variable: ptr [unusedVariable] mrmpi-1.0~20140404/oink/vertex_extract.cpp:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/vertex_extract.h:26:3: style: Class 'VertexExtract' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/vertex_extract.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/vertex_extract.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/vertex_extract.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/vertex_extract.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/wordfreq.cpp:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/oink/wordfreq.cpp:32:11: warning: Member variable 'WordFreq::ntop' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/oink/wordfreq.h:26:3: style: Class 'WordFreq' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/oink/wordfreq.h:27:8: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:20:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/wordfreq.h:27:8: note: Function in derived class mrmpi-1.0~20140404/oink/wordfreq.h:28:8: style: The function 'params' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/command.h:21:16: note: Virtual function in base class mrmpi-1.0~20140404/oink/wordfreq.h:28:8: note: Function in derived class mrmpi-1.0~20140404/oink/wordfreq.cpp:105:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/wordfreq.cpp:109:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/oink/wordfreq.cpp:111:29: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.h:124:12: style:inconclusive: Technically the member function 'MAPREDUCE_NS::MapReduce::communicator' can be const. [functionConst] mrmpi-1.0~20140404/src/mapreduce.h:125:7: style:inconclusive: Technically the member function 'MAPREDUCE_NS::MapReduce::num_procs' can be const. [functionConst] mrmpi-1.0~20140404/src/mapreduce.h:126:7: style:inconclusive: Technically the member function 'MAPREDUCE_NS::MapReduce::my_proc' can be const. [functionConst] mrmpi-1.0~20140404/src/mapreduce.h:61:3: style: Class 'MapReduce' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/src/mapreduce.h:63:3: style: Class 'MapReduce' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/src/cmapreduce.cpp:43:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:49:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:55:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:61:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:68:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:69:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:75:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:81:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:87:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:93:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:99:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:105:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:116:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:117:31: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:123:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:129:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:138:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:139:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:148:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:149:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:159:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:160:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:170:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:171:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:182:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:183:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:195:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:196:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:208:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:209:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:221:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:222:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:234:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:235:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:236:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:247:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:248:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:249:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:255:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:261:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:267:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:274:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:285:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:286:27: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:292:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:301:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:308:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:317:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:318:23: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:327:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:328:23: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:334:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:339:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:345:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:352:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:358:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:365:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:371:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:377:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:383:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:389:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:395:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:401:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:407:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:413:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:419:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:425:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:431:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:437:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:443:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:449:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:456:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:464:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:472:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/cmapreduce.cpp:447:38: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/error.cpp:37:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/error.cpp:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/error.cpp:66:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/error.cpp:25:3: performance: Variable 'comm' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mrmpi-1.0~20140404/src/error.h:25:8: style:inconclusive: Technically the member function 'MAPREDUCE_NS::Error::all' can be const. [functionConst] mrmpi-1.0~20140404/src/error.cpp:33:13: note: Technically the member function 'MAPREDUCE_NS::Error::all' can be const. mrmpi-1.0~20140404/src/error.h:25:8: note: Technically the member function 'MAPREDUCE_NS::Error::all' can be const. mrmpi-1.0~20140404/src/error.h:27:8: performance:inconclusive: Technically the member function 'MAPREDUCE_NS::Error::warning' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/src/error.cpp:63:13: note: Technically the member function 'MAPREDUCE_NS::Error::warning' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/error.h:27:8: note: Technically the member function 'MAPREDUCE_NS::Error::warning' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/error.h:23:3: style: Class 'Error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/src/hash.cpp:141:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/hash.cpp:207:26: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/hash.cpp:222:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/hash.cpp:254:25: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/hash.cpp:142:21: style: Unused variable: k8 [unusedVariable] mrmpi-1.0~20140404/src/irregular.cpp:134:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/irregular.cpp:258:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_BYTE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/irregular.cpp:280:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_BYTE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/irregular.cpp:31:12: warning: Member variable 'Irregular::cssize' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/irregular.cpp:31:12: warning: Member variable 'Irregular::crsize' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/irregular.cpp:31:12: warning: Member variable 'Irregular::ndatum' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/irregular.cpp:31:12: warning: Member variable 'Irregular::self' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/irregular.cpp:31:12: warning: Member variable 'Irregular::nsend' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/irregular.cpp:31:12: warning: Member variable 'Irregular::nrecv' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/irregular.cpp:38:3: performance: Variable 'comm' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mrmpi-1.0~20140404/src/irregular.cpp:42:3: warning: Class 'Irregular' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mrmpi-1.0~20140404/src/irregular.cpp:42:3: warning: Class 'Irregular' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mrmpi-1.0~20140404/src/memory.h:23:3: style: Class 'Memory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] mrmpi-1.0~20140404/src/irregular.cpp:206:7: style: The scope of the variable 'j' can be reduced. [variableScope] mrmpi-1.0~20140404/src/irregular.cpp:244:9: style: The scope of the variable 'iproc' can be reduced. [variableScope] mrmpi-1.0~20140404/src/irregular.cpp:250:12: style: Local variable 'i' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/src/irregular.cpp:244:7: note: Shadowed declaration mrmpi-1.0~20140404/src/irregular.cpp:250:12: note: Shadow variable mrmpi-1.0~20140404/src/irregular.cpp:93:34: style: Parameter 'proclist' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/irregular.cpp:93:49: style: Parameter 'sizes' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/irregular.cpp:241:46: style: Parameter 'proclist' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/irregular.cpp:242:11: style: Parameter 'sizes' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/irregular.cpp:270:45: style: Parameter 'indices' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/irregular.cpp:270:72: style: Parameter 'sizes' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::nunique' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::ukeyoffset' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::buckets' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::hashmask' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::bucketbytes' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::memunique' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::ustart' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::ustop' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::partitions' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::npartition' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::maxpartition' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::sets' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::nset' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::maxset' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::readpage' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::minspool' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::npages_mr' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::tag_mr' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::page_mr' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::sizespool' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::spoolperpage' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:51:16: warning: Member variable 'KeyMultiValue::nquery' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/keymultivalue.cpp:59:3: performance: Variable 'comm' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mrmpi-1.0~20140404/src/keymultivalue.h:43:7: style:inconclusive: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::request_info' can be const. [functionConst] mrmpi-1.0~20140404/src/keymultivalue.cpp:223:20: note: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::request_info' can be const. mrmpi-1.0~20140404/src/keymultivalue.h:43:7: note: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::request_info' can be const. mrmpi-1.0~20140404/src/keymultivalue.h:45:12: style:inconclusive: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::multivalue_blocks' can be const. [functionConst] mrmpi-1.0~20140404/src/keymultivalue.cpp:257:25: note: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::multivalue_blocks' can be const. mrmpi-1.0~20140404/src/keymultivalue.h:45:12: note: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::multivalue_blocks' can be const. mrmpi-1.0~20140404/src/keymultivalue.h:184:7: style:inconclusive: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::hash' can be const. [functionConst] mrmpi-1.0~20140404/src/keymultivalue.cpp:1428:20: note: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::hash' can be const. mrmpi-1.0~20140404/src/keymultivalue.h:184:7: note: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::hash' can be const. mrmpi-1.0~20140404/src/keymultivalue.h:190:12: performance:inconclusive: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::roundup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/src/keymultivalue.cpp:1549:25: note: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::roundup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/keymultivalue.h:190:12: note: Technically the member function 'MAPREDUCE_NS::KeyMultiValue::roundup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/keymultivalue.cpp:311:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keymultivalue.cpp:1294:4: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keymultivalue.cpp:1501:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keymultivalue.cpp:1506:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keymultivalue.cpp:1533:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keymultivalue.cpp:1538:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keymultivalue.cpp:1758:23: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keymultivalue.cpp:1109:16: warning: Either the condition '!uptr' is redundant or there is possible null pointer dereference: uptr. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keymultivalue.cpp:1107:11: note: Assuming that condition '!uptr' is not redundant mrmpi-1.0~20140404/src/keymultivalue.cpp:1109:16: note: Null pointer dereference mrmpi-1.0~20140404/src/keymultivalue.cpp:1186:11: warning: Either the condition '!uptr' is redundant or there is possible null pointer dereference: uptr. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keymultivalue.cpp:1185:11: note: Assuming that condition '!uptr' is not redundant mrmpi-1.0~20140404/src/keymultivalue.cpp:1186:11: note: Null pointer dereference mrmpi-1.0~20140404/src/keymultivalue.cpp:1495:24: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keymultivalue.cpp:1486:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/keymultivalue.cpp:1495:24: note: Null pointer dereference mrmpi-1.0~20140404/src/keymultivalue.cpp:1496:52: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keymultivalue.cpp:1486:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/keymultivalue.cpp:1496:52: note: Null pointer dereference mrmpi-1.0~20140404/src/keymultivalue.cpp:1527:24: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keymultivalue.cpp:1522:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/keymultivalue.cpp:1527:24: note: Null pointer dereference mrmpi-1.0~20140404/src/keymultivalue.cpp:1528:50: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keymultivalue.cpp:1522:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/keymultivalue.cpp:1528:50: note: Null pointer dereference mrmpi-1.0~20140404/src/keymultivalue.cpp:323:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:360:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:361:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:415:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:421:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:441:23: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:442:25: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:491:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:495:10: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:523:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:683:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:684:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:711:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:722:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:812:10: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:861:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:876:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:880:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:889:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:909:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:923:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:932:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:935:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:988:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:991:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1028:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1032:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1040:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1045:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1048:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1094:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1095:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1171:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1172:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1243:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1277:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1278:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1298:4: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1338:5: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1379:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1414:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1454:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1574:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1575:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1603:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1605:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1660:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1664:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1666:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1668:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1688:40: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1689:41: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1690:40: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1691:40: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1694:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1695:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1697:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1698:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1706:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1711:25: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1716:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1721:24: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1732:27: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1733:8: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1738:29: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1739:8: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1747:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1757:40: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1758:40: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1759:40: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1760:40: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1763:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1764:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1766:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1767:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1690:40: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1691:40: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1716:24: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1721:24: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1759:40: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:1760:40: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keymultivalue.cpp:348:7: style: The scope of the variable 'nkey_kv' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:431:7: style: The scope of the variable 'nkey_kv' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:802:7: style: The scope of the variable 'multiflag' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:803:12: style: The scope of the variable 'onesize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:804:50: style: The scope of the variable 'unext' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:950:9: style: The scope of the variable 'pagespool' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:1007:39: style: The scope of the variable 'keyunique' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:1007:50: style: The scope of the variable 'unext' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:1008:8: style: The scope of the variable 'intptr' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:1223:14: style: The scope of the variable 'key' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:1412:9: style: The scope of the variable 'keyunique' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keymultivalue.cpp:508:9: style: Local variable 'memunique' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/src/keymultivalue.h:118:9: note: Shadowed declaration mrmpi-1.0~20140404/src/keymultivalue.cpp:508:9: note: Shadow variable mrmpi-1.0~20140404/src/keymultivalue.cpp:410:40: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:433:14: style: Variable 'key_kv' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:433:22: style: Variable 'value_kv' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:804:39: style: Variable 'keyunique' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:976:26: style: Variable 'keyunique' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1007:39: style: Variable 'keyunique' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1061:11: style: Variable 'uptr' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1143:19: style: Variable 'value' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1223:14: style: Variable 'key' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1223:19: style: Variable 'value' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1230:11: style: Variable 'uptr' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1246:9: style: Variable 'valuestop' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1403:63: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1412:9: style: Variable 'keyunique' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1428:31: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1650:8: style: Variable 'valuesizes' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1651:14: style: Variable 'key' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1725:10: style: Variable 'value' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keymultivalue.cpp:1282:11: style: Variable 'key' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/src/keymultivalue.cpp:1725:16: style: Variable 'value' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/src/keyvalue.cpp:46:3: performance: Variable 'comm' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mrmpi-1.0~20140404/src/keyvalue.h:50:7: style:inconclusive: Technically the member function 'MAPREDUCE_NS::KeyValue::request_info' can be const. [functionConst] mrmpi-1.0~20140404/src/keyvalue.cpp:277:15: note: Technically the member function 'MAPREDUCE_NS::KeyValue::request_info' can be const. mrmpi-1.0~20140404/src/keyvalue.h:50:7: note: Technically the member function 'MAPREDUCE_NS::KeyValue::request_info' can be const. mrmpi-1.0~20140404/src/keyvalue.h:114:12: performance:inconclusive: Technically the member function 'MAPREDUCE_NS::KeyValue::roundup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/src/keyvalue.cpp:747:20: note: Technically the member function 'MAPREDUCE_NS::KeyValue::roundup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/keyvalue.h:114:12: note: Technically the member function 'MAPREDUCE_NS::KeyValue::roundup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/keyvalue.cpp:364:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keyvalue.cpp:563:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keyvalue.cpp:700:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keyvalue.cpp:705:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keyvalue.cpp:731:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keyvalue.cpp:736:5: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/keyvalue.cpp:694:24: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keyvalue.cpp:685:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/keyvalue.cpp:694:24: note: Null pointer dereference mrmpi-1.0~20140404/src/keyvalue.cpp:695:52: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keyvalue.cpp:685:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/keyvalue.cpp:695:52: note: Null pointer dereference mrmpi-1.0~20140404/src/keyvalue.cpp:725:24: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keyvalue.cpp:721:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/keyvalue.cpp:725:24: note: Null pointer dereference mrmpi-1.0~20140404/src/keyvalue.cpp:726:50: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/keyvalue.cpp:721:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/keyvalue.cpp:726:50: note: Null pointer dereference mrmpi-1.0~20140404/src/keyvalue.cpp:376:5: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:377:5: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:475:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:476:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:503:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:504:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:543:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:544:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:620:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:621:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:655:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:771:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:772:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:791:45: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:792:46: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:793:45: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:794:45: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:797:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:798:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:800:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:801:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:805:45: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:806:46: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:807:45: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:808:45: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:811:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:812:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:814:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:815:9: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/keyvalue.cpp:793:45: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keyvalue.cpp:794:45: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keyvalue.cpp:807:45: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keyvalue.cpp:808:45: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/keyvalue.cpp:440:7: style: The scope of the variable 'nkey_other' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:468:7: style: The scope of the variable 'keybytes' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:468:16: style: The scope of the variable 'valuebytes' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:524:7: style: The scope of the variable 'nkeychunk' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:525:12: style: The scope of the variable 'keychunk' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:525:21: style: The scope of the variable 'valuechunk' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:525:32: style: The scope of the variable 'chunksize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:526:25: style: The scope of the variable 'ptr_end' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:607:7: style: The scope of the variable 'keybytes' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:607:16: style: The scope of the variable 'valuebytes' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:608:9: style: The scope of the variable 'key' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:608:14: style: The scope of the variable 'value' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:762:26: style: The scope of the variable 'ptr_start' can be reduced. [variableScope] mrmpi-1.0~20140404/src/keyvalue.cpp:411:43: style: Parameter 'keybytes' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/keyvalue.cpp:412:24: style: Parameter 'valuebytes' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/keyvalue.cpp:526:25: style: Variable 'ptr_end' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keyvalue.cpp:762:14: style: Variable 'key' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keyvalue.cpp:762:19: style: Variable 'value' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/keyvalue.cpp:762:26: style: Variable 'ptr_start' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:154:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:256:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_UNSIGNED_LONG_LONG [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:570:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:895:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:1108:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:1264:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_BYTE [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:1578:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:1663:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:2827:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/src/mapreduce.cpp:1316:12: style:inconclusive: Boolean expression 'me==0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] mrmpi-1.0~20140404/src/mapreduce.cpp:2747:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] mrmpi-1.0~20140404/src/mapreduce.cpp:97:3: performance: Variable 'comm' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] mrmpi-1.0~20140404/src/mapreduce.h:235:7: style:inconclusive: Technically the member function 'MAPREDUCE_NS::MapReduce::extract' can be const. [functionConst] mrmpi-1.0~20140404/src/mapreduce.cpp:2555:16: note: Technically the member function 'MAPREDUCE_NS::MapReduce::extract' can be const. mrmpi-1.0~20140404/src/mapreduce.h:235:7: note: Technically the member function 'MAPREDUCE_NS::MapReduce::extract' can be const. mrmpi-1.0~20140404/src/mapreduce.h:240:12: performance:inconclusive: Technically the member function 'MAPREDUCE_NS::MapReduce::roundup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/src/mapreduce.cpp:3144:21: note: Technically the member function 'MAPREDUCE_NS::MapReduce::roundup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/mapreduce.h:240:12: note: Technically the member function 'MAPREDUCE_NS::MapReduce::roundup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/mapreduce.cpp:1316:6: style: Suspicious condition (bitwise operator + comparison); Clarify expression with parentheses. [clarifyCondition] mrmpi-1.0~20140404/src/mapreduce.cpp:1316:12: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] mrmpi-1.0~20140404/src/mapreduce.cpp:1660:3: error: Memory leak: procfile [memleak] mrmpi-1.0~20140404/src/mapreduce.cpp:2747:25: warning: Either the condition 'dp==NULL' is redundant or there is possible null pointer dereference: dp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/mapreduce.cpp:2742:12: note: Assuming that condition 'dp==NULL' is not redundant mrmpi-1.0~20140404/src/mapreduce.cpp:2747:25: note: Null pointer dereference mrmpi-1.0~20140404/src/mapreduce.cpp:2794:29: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/mapreduce.cpp:2786:10: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/mapreduce.cpp:2794:29: note: Null pointer dereference mrmpi-1.0~20140404/src/mapreduce.cpp:1420:19: warning: Either the condition 'ptr==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] mrmpi-1.0~20140404/src/mapreduce.cpp:1418:13: note: Assuming that condition 'ptr==NULL' is not redundant mrmpi-1.0~20140404/src/mapreduce.cpp:1420:19: note: Null pointer subtraction mrmpi-1.0~20140404/src/mapreduce.cpp:439:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:442:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:451:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:452:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:759:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:763:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:765:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:767:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:781:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:795:34: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:956:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:957:21: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1377:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1400:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1510:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1511:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1718:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1722:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1724:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1726:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1740:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1754:32: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1823:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1825:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1857:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1858:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1918:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1922:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1924:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1926:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1940:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:1954:30: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2181:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2188:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2190:23: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2192:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2208:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2209:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2238:23: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2321:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2325:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2332:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2336:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2343:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2352:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2388:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2389:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2390:10: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2397:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2398:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2430:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2431:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2471:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2474:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2480:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2483:11: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2488:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2489:17: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2558:20: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2559:22: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2593:46: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2607:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2608:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2616:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2617:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2629:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2630:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2638:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2639:18: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2651:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2652:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2660:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2661:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2673:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2674:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2682:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2683:16: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2776:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2809:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2830:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:3261:12: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:3262:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:3263:14: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:3265:15: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2651:15: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2652:15: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2660:15: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2661:15: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2673:16: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2674:16: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2682:16: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/mapreduce.cpp:2683:16: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] mrmpi-1.0~20140404/src/mapreduce.cpp:385:7: style: The scope of the variable 'start' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:385:13: style: The scope of the variable 'stop' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:745:7: style: The scope of the variable 'nkey_kmv' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:860:21: style: The scope of the variable 'memtag' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:861:12: style: The scope of the variable 'rkey' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:861:17: style: The scope of the variable 'skey' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:861:22: style: The scope of the variable 'keybytes' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:861:31: style: The scope of the variable 'valuebytes' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:863:12: style: The scope of the variable 'dummy' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:864:12: style: The scope of the variable 'keysize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:864:20: style: The scope of the variable 'valuesize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:864:30: style: The scope of the variable 'alignsize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:865:12: style: The scope of the variable 'rkeysize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:865:21: style: The scope of the variable 'rvaluesize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:865:32: style: The scope of the variable 'ralignsize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:866:12: style: The scope of the variable 'skeysize' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:867:14: style: The scope of the variable 'rbuf' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:1028:7: style: The scope of the variable 'maxfile' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:1164:7: style: The scope of the variable 'maxfile' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:1195:7: style: The scope of the variable 'maxfile' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:1499:7: style: The scope of the variable 'nkey_kv' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:1704:7: style: The scope of the variable 'nkey_kmv' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:1847:7: style: The scope of the variable 'nkey_kv' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:1904:7: style: The scope of the variable 'nkey_kmv' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:2171:7: style: The scope of the variable 'nkey_kmv' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:2378:9: style: The scope of the variable 'j' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:2730:8: style: The scope of the variable 'newstr' can be reduced. [variableScope] mrmpi-1.0~20140404/src/mapreduce.cpp:867:31: style: Variable 'ptrprev' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:1190:10: style: Parameter 'sepstr' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/mapreduce.cpp:1415:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:1614:29: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2607:8: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2608:8: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2616:8: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2617:8: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2629:13: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2630:13: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2638:13: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2639:13: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2651:10: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2652:10: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2660:10: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2661:10: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2673:11: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2674:11: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2682:11: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2683:11: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2693:23: style: Parameter 'str1' can be declared as pointer to const. However it seems that 'compare_str' is a callback function, if 'str1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/src/mapreduce.cpp:2132:43: note: You might need to cast the function pointer here mrmpi-1.0~20140404/src/mapreduce.cpp:2693:23: note: Parameter 'str1' can be declared as pointer to const mrmpi-1.0~20140404/src/mapreduce.cpp:2693:45: style: Parameter 'str2' can be declared as pointer to const. However it seems that 'compare_str' is a callback function, if 'str2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/src/mapreduce.cpp:2132:43: note: You might need to cast the function pointer here mrmpi-1.0~20140404/src/mapreduce.cpp:2693:45: note: Parameter 'str2' can be declared as pointer to const mrmpi-1.0~20140404/src/mapreduce.cpp:2698:31: style: Parameter 'str1' can be declared as pointer to const. However it seems that 'compare_str_reverse' is a callback function, if 'str1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/src/mapreduce.cpp:2133:34: note: You might need to cast the function pointer here mrmpi-1.0~20140404/src/mapreduce.cpp:2698:31: note: Parameter 'str1' can be declared as pointer to const mrmpi-1.0~20140404/src/mapreduce.cpp:2698:53: style: Parameter 'str2' can be declared as pointer to const. However it seems that 'compare_str_reverse' is a callback function, if 'str2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/src/mapreduce.cpp:2133:34: note: You might need to cast the function pointer here mrmpi-1.0~20140404/src/mapreduce.cpp:2698:53: note: Parameter 'str2' can be declared as pointer to const mrmpi-1.0~20140404/src/mapreduce.cpp:2707:24: style: Parameter 'str1' can be declared as pointer to const. However it seems that 'compare_strn' is a callback function, if 'str1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/src/mapreduce.cpp:2135:43: note: You might need to cast the function pointer here mrmpi-1.0~20140404/src/mapreduce.cpp:2707:24: note: Parameter 'str1' can be declared as pointer to const mrmpi-1.0~20140404/src/mapreduce.cpp:2707:46: style: Parameter 'str2' can be declared as pointer to const. However it seems that 'compare_strn' is a callback function, if 'str2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/src/mapreduce.cpp:2135:43: note: You might need to cast the function pointer here mrmpi-1.0~20140404/src/mapreduce.cpp:2707:46: note: Parameter 'str2' can be declared as pointer to const mrmpi-1.0~20140404/src/mapreduce.cpp:2712:32: style: Parameter 'str1' can be declared as pointer to const. However it seems that 'compare_strn_reverse' is a callback function, if 'str1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/src/mapreduce.cpp:2136:34: note: You might need to cast the function pointer here mrmpi-1.0~20140404/src/mapreduce.cpp:2712:32: note: Parameter 'str1' can be declared as pointer to const mrmpi-1.0~20140404/src/mapreduce.cpp:2712:54: style: Parameter 'str2' can be declared as pointer to const. However it seems that 'compare_strn_reverse' is a callback function, if 'str2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/src/mapreduce.cpp:2136:34: note: You might need to cast the function pointer here mrmpi-1.0~20140404/src/mapreduce.cpp:2712:54: note: Parameter 'str2' can be declared as pointer to const mrmpi-1.0~20140404/src/mapreduce.cpp:2740:20: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/src/mapreduce.cpp:2770:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/mapreduce.cpp:3170:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/mapreduce.cpp:915:4: error: Uninitialized variable: rvaluesize [legacyUninitvar] mrmpi-1.0~20140404/src/mapreduce.cpp:916:4: error: Uninitialized variable: ralignsize [legacyUninitvar] mrmpi-1.0~20140404/src/mapreduce.cpp:546:12: style: Unused variable: dummy [unusedVariable] mrmpi-1.0~20140404/src/mapreduce.cpp:902:11: style: Variable 'rkeysize' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/src/mapreduce.cpp:902:24: style: Variable 'svaluesize' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/src/mapreduce.cpp:902:37: style: Variable 'salignsize' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/src/mapreduce.cpp:914:13: style: Variable 'rkeysize' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/src/mapreduce.cpp:915:15: style: Variable 'rvaluesize' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/src/mapreduce.cpp:916:15: style: Variable 'ralignsize' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/src/mapreduce.cpp:2728:11: style: Unused variable: n [unusedVariable] mrmpi-1.0~20140404/src/memory.h:28:8: performance:inconclusive: Technically the member function 'MAPREDUCE_NS::Memory::sfree' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/src/memory.cpp:77:14: note: Technically the member function 'MAPREDUCE_NS::Memory::sfree' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/memory.h:28:8: note: Technically the member function 'MAPREDUCE_NS::Memory::sfree' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/memory.cpp:28:3: warning: Class 'Memory' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mrmpi-1.0~20140404/src/memory.cpp:28:3: warning: Class 'Memory' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mrmpi-1.0~20140404/src/memory.cpp:48:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/memory.cpp:67:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/memory.cpp:97:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/spool.cpp:31:8: warning: Member variable 'Spool::page' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/spool.cpp:31:8: warning: Member variable 'Spool::pagesize' is not initialized in the constructor. [uninitMemberVar] mrmpi-1.0~20140404/src/spool.h:36:7: style:inconclusive: Technically the member function 'MAPREDUCE_NS::Spool::request_info' can be const. [functionConst] mrmpi-1.0~20140404/src/spool.cpp:123:12: note: Technically the member function 'MAPREDUCE_NS::Spool::request_info' can be const. mrmpi-1.0~20140404/src/spool.h:36:7: note: Technically the member function 'MAPREDUCE_NS::Spool::request_info' can be const. mrmpi-1.0~20140404/src/spool.h:75:12: performance:inconclusive: Technically the member function 'MAPREDUCE_NS::Spool::roundup' can be static (but you may consider moving to unnamed namespace). [functionStatic] mrmpi-1.0~20140404/src/spool.cpp:269:17: note: Technically the member function 'MAPREDUCE_NS::Spool::roundup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/spool.h:75:12: note: Technically the member function 'MAPREDUCE_NS::Spool::roundup' can be static (but you may consider moving to unnamed namespace). mrmpi-1.0~20140404/src/spool.cpp:163:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mrmpi-1.0~20140404/src/spool.cpp:188:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mrmpi-1.0~20140404/src/spool.cpp:188:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] mrmpi-1.0~20140404/src/spool.cpp:238:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/spool.cpp:259:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] mrmpi-1.0~20140404/src/spool.cpp:233:52: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/spool.cpp:225:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/spool.cpp:233:52: note: Null pointer dereference mrmpi-1.0~20140404/src/spool.cpp:254:50: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] mrmpi-1.0~20140404/src/spool.cpp:251:12: note: Assuming that condition 'fp==NULL' is not redundant mrmpi-1.0~20140404/src/spool.cpp:254:50: note: Null pointer dereference mrmpi-1.0~20140404/src/spool.cpp:206:13: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/src/spool.cpp:152:35: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/src/spool.cpp:177:47: style: Parameter 'entries' can be declared as pointer to const [constParameterPointer] mrmpi-1.0~20140404/txt2html/txt2html.cpp:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/txt2html/txt2html.cpp:252:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/txt2html/txt2html.cpp:270:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/txt2html/txt2html.cpp:299:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/txt2html/txt2html.cpp:534:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/txt2html/txt2html.cpp:789:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/txt2html/txt2html.cpp:833:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/txt2html/txt2html.cpp:901:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] mrmpi-1.0~20140404/txt2html/txt2html.cpp:100:19: style: C-style pointer casting [cstyleCast] mrmpi-1.0~20140404/txt2html/txt2html.cpp:243:9: style: The scope of the variable 'ptr' can be reduced. [variableScope] mrmpi-1.0~20140404/txt2html/txt2html.cpp:278:13: style: The scope of the variable 'stop' can be reduced. [variableScope] mrmpi-1.0~20140404/txt2html/txt2html.cpp:525:11: style: The scope of the variable 'p' can be reduced. [variableScope] mrmpi-1.0~20140404/txt2html/txt2html.cpp:526:8: style: The scope of the variable 'c' can be reduced. [variableScope] mrmpi-1.0~20140404/txt2html/txt2html.cpp:527:10: style: The scope of the variable 'text' can be reduced. [variableScope] mrmpi-1.0~20140404/txt2html/txt2html.cpp:527:15: style: The scope of the variable 'link' can be reduced. [variableScope] mrmpi-1.0~20140404/txt2html/txt2html.cpp:527:20: style: The scope of the variable 'href' can be reduced. [variableScope] mrmpi-1.0~20140404/txt2html/txt2html.cpp:888:38: style:inconclusive: Function 'find_n' argument 3 names different: declaration 'n1' definition 'nsep'. [funcArgNamesDifferent] mrmpi-1.0~20140404/txt2html/txt2html.cpp:39:38: note: Function 'find_n' argument 3 names different: declaration 'n1' definition 'nsep'. mrmpi-1.0~20140404/txt2html/txt2html.cpp:888:38: note: Function 'find_n' argument 3 names different: declaration 'n1' definition 'nsep'. mrmpi-1.0~20140404/txt2html/txt2html.cpp:121:14: style: Local variable 'i' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/txt2html/txt2html.cpp:75:7: note: Shadowed declaration mrmpi-1.0~20140404/txt2html/txt2html.cpp:121:14: note: Shadow variable mrmpi-1.0~20140404/txt2html/txt2html.cpp:131:14: style: Local variable 'i' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/txt2html/txt2html.cpp:75:7: note: Shadowed declaration mrmpi-1.0~20140404/txt2html/txt2html.cpp:131:14: note: Shadow variable mrmpi-1.0~20140404/txt2html/txt2html.cpp:156:6: style: Local variable 'n' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/txt2html/txt2html.cpp:75:9: note: Shadowed declaration mrmpi-1.0~20140404/txt2html/txt2html.cpp:156:6: note: Shadow variable mrmpi-1.0~20140404/txt2html/txt2html.cpp:202:6: style: Local variable 'n' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/txt2html/txt2html.cpp:75:9: note: Shadowed declaration mrmpi-1.0~20140404/txt2html/txt2html.cpp:202:6: note: Shadow variable mrmpi-1.0~20140404/txt2html/txt2html.cpp:458:13: style: Local variable 'width' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/txt2html/txt2html.cpp:456:11: note: Shadowed declaration mrmpi-1.0~20140404/txt2html/txt2html.cpp:458:13: note: Shadow variable mrmpi-1.0~20140404/txt2html/txt2html.cpp:631:9: style: Local variable 'n' shadows outer variable [shadowVariable] mrmpi-1.0~20140404/txt2html/txt2html.cpp:525:7: note: Shadowed declaration mrmpi-1.0~20140404/txt2html/txt2html.cpp:631:9: note: Shadow variable mrmpi-1.0~20140404/txt2html/txt2html.cpp:266:46: style: Parameter 'paragraph' can be declared as reference to const [constParameterReference] mrmpi-1.0~20140404/txt2html/txt2html.cpp:276:41: style: Parameter 's' can be declared as reference to const [constParameterReference] mrmpi-1.0~20140404/txt2html/txt2html.cpp:888:20: style: Parameter 's' can be declared as reference to const [constParameterReference] mrmpi-1.0~20140404/txt2html/txt2html.cpp:243:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] mrmpi-1.0~20140404/txt2html/txt2html.cpp:456:17: style: Variable 'width' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/txt2html/txt2html.cpp:528:22: style: Variable 'punctuation' is assigned a value that is never used. [unreadVariable] mrmpi-1.0~20140404/examples/rmat.cpp:42:1: error: The one definition rule is violated, different classes/structs have the same name 'RMAT' [ctuOneDefinitionRuleViolation] mrmpi-1.0~20140404/examples/rmat2.cpp:59:1: note: The one definition rule is violated, different classes/structs have the same name 'RMAT' mrmpi-1.0~20140404/examples/rmat.cpp:42:1: note: The one definition rule is violated, different classes/structs have the same name 'RMAT' mrmpi-1.0~20140404/examples/rmat.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'EDGE' [ctuOneDefinitionRuleViolation] mrmpi-1.0~20140404/examples/rmat2.cpp:71:9: note: The one definition rule is violated, different classes/structs have the same name 'EDGE' mrmpi-1.0~20140404/examples/rmat.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'EDGE' mrmpi-1.0~20140404/examples/rmat.cpp:56:9: error: The one definition rule is violated, different classes/structs have the same name 'EDGE' [ctuOneDefinitionRuleViolation] mrmpi-1.0~20140404/oink/typedefs.h:23:9: note: The one definition rule is violated, different classes/structs have the same name 'EDGE' mrmpi-1.0~20140404/examples/rmat.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'EDGE' diff: head mrmpi-1.0~20140404/examples/cwordfreq.c:111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/examples/rmat2.cpp:219:38: style: Parameter 'kv' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/examples/rmat2.cpp:219:48: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/examples/rmat2.cpp:304:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'VERTEX {aka unsigned long}'. [invalidPrintfArgType_sint] head mrmpi-1.0~20140404/examples/rmat2.cpp:304:3: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'VERTEX {aka unsigned long}'. [invalidPrintfArgType_sint] 2.13.0 mrmpi-1.0~20140404/examples/rmat2.cpp:304:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] 2.13.0 mrmpi-1.0~20140404/examples/rmat2.cpp:304:3: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] head mrmpi-1.0~20140404/examples/rmat2.cpp:373:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/examples/wordfreq.cpp:112:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:111:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:119:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:127:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:128:56: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:135:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:136:58: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:143:28: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:143:49: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:150:38: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:150:59: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:157:42: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:157:56: style: Parameter 'index' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:158:16: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:165:25: style: Parameter 'sbuf' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:166:31: style: Parameter 'rbuf' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:168:32: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:175:32: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:175:68: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:196:30: style: Parameter 'comm' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:237:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/mpistubs/mpi.cpp:42:20: style: Parameter 'argc' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/cc_find.cpp:163:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/cc_find.cpp:290:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/cc_stats.cpp:89:29: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'print' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/cc_stats.cpp:59:12: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/cc_stats.cpp:89:29: note: Parameter 'ptr' can be declared as pointer to const head mrmpi-1.0~20140404/oink/command.h:19:12: style: The destructor '~Command' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/command.h:19:12: note: Destructor in derived class head mrmpi-1.0~20140404/oink/degree_stats.cpp:78:26: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'print' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/degree_stats.cpp:61:12: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/degree_stats.cpp:78:26: note: Parameter 'ptr' can be declared as pointer to const head mrmpi-1.0~20140404/oink/degree_weight.cpp:92:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/error.cpp:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/histo.cpp:85:27: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'print' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mrmpi-1.0~20140404/oink/histo.cpp:70:12: note: You might need to cast the function pointer here mrmpi-1.0~20140404/oink/histo.cpp:85:27: note: Parameter 'ptr' can be declared as pointer to const head mrmpi-1.0~20140404/oink/input.cpp:198:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/input.cpp:458:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/input.cpp:678:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/input.cpp:769:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/input.h:26:4: style: The destructor '~Input' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/input.h:26:4: note: Destructor in derived class head mrmpi-1.0~20140404/oink/luby_find.cpp:195:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/luby_find.cpp:247:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/luby_find.cpp:298:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/luby_find.cpp:313:22: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/memory.cpp:407:22: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/mrmpi.cpp:354:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.cpp:368:42: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.cpp:382:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.cpp:396:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.cpp:410:47: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.cpp:424:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.cpp:438:40: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.cpp:452:41: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.cpp:466:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head mrmpi-1.0~20140404/oink/mrmpi.h:20:4: style: The destructor '~MRMPI' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/mrmpi.h:20:4: note: Destructor in derived class head mrmpi-1.0~20140404/oink/neighbor.cpp:98:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/object.h:22:4: style: The destructor '~Object' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/object.h:22:4: note: Destructor in derived class head mrmpi-1.0~20140404/oink/oink.cpp:261:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/random_mars.h:19:4: style: The destructor '~RanMars' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/random_mars.h:19:4: note: Destructor in derived class head mrmpi-1.0~20140404/oink/rmat.cpp:93:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/rmat2.cpp:96:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:197:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDGEVALUE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:212:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:223:19: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/sssp.cpp:236:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:248:23: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/sssp.cpp:251:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/sssp.cpp:285:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:303:23: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/sssp.cpp:309:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/sssp.cpp:318:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISTANCE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:389:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_BYTE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:399:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:411:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'VERTEX * {aka unsigned long *}'. [invalidPrintfArgType_uint] 2.13.0 mrmpi-1.0~20140404/oink/sssp.cpp:411:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'unsigned long *'. [invalidPrintfArgType_uint] head mrmpi-1.0~20140404/oink/sssp.cpp:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/sssp.cpp:52:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/oink/tri_find.cpp:126:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/tri_find.cpp:233:21: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/tri_find.cpp:292:3: style: C-style pointer casting [cstyleCast] head mrmpi-1.0~20140404/oink/universe.h:35:4: style: The destructor '~Universe' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/universe.h:35:4: note: Destructor in derived class head mrmpi-1.0~20140404/oink/variable.h:19:4: style: The destructor '~Variable' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] mrmpi-1.0~20140404/oink/pointers.h:38:12: note: Virtual destructor in base class mrmpi-1.0~20140404/oink/variable.h:19:4: note: Destructor in derived class head mrmpi-1.0~20140404/src/error.cpp:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/error.cpp:66:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/irregular.cpp:258:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_BYTE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/irregular.cpp:280:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_BYTE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/mapreduce.cpp:1108:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/mapreduce.cpp:1264:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_BYTE [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/mapreduce.cpp:154:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/mapreduce.cpp:1578:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/mapreduce.cpp:1663:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/mapreduce.cpp:256:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_UNSIGNED_LONG_LONG [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/mapreduce.cpp:2730:8: style: The scope of the variable 'newstr' can be reduced. [variableScope] head mrmpi-1.0~20140404/src/mapreduce.cpp:2827:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] 2.13.0 mrmpi-1.0~20140404/src/mapreduce.cpp:3326:9: style: The if condition is the same as the previous if condition [duplicateCondition] mrmpi-1.0~20140404/src/mapreduce.cpp:3313:9: note: First condition mrmpi-1.0~20140404/src/mapreduce.cpp:3326:9: note: Second condition head mrmpi-1.0~20140404/src/mapreduce.cpp:570:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/src/mapreduce.cpp:895:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_INT [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/txt2html/txt2html.cpp:252:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/txt2html/txt2html.cpp:270:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/txt2html/txt2html.cpp:299:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/txt2html/txt2html.cpp:534:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.13.0 mrmpi-1.0~20140404/txt2html/txt2html.cpp:643:11: style: The scope of the variable 'ignore' can be reduced. [variableScope] head mrmpi-1.0~20140404/txt2html/txt2html.cpp:789:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/txt2html/txt2html.cpp:833:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mrmpi-1.0~20140404/txt2html/txt2html.cpp:901:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] DONE