2025-05-07 22:23 ftp://ftp.de.debian.org/debian/pool/main/s/scrappie/scrappie_1.4.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: ebc80c0 (2025-05-07 18:59:31 +0200) count: 263 262 elapsed-time: 111.4 120.7 head-timing-info: old-timing-info: head results: scrappie-release-1.4.2/src/decode.c:11:0: error: #error "Compilation of function decode_transducer requires a processor that supports at least SSE2" [preprocessorErrorDirective] scrappie-release-1.4.2/src/decode.c:11:6: error: #error "Compilation of function decode_transducer requires a processor that supports at least SSE2" [preprocessorErrorDirective] scrappie-release-1.4.2/src/event_detection.c:70:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/event_detection.c:283:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/fast5_interface.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/fast5_interface.c:52:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5P_DEFAULT [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/fast5_interface.c:114:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5P_DEFAULT [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/fast5_interface.c:145:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5P_DEFAULT [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/fast5_interface.c:231:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5T_NATIVE_UINT64 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/fast5_interface.c:156:20: warning: If memory allocation fails, then there is a possible null pointer dereference: dset_path [nullPointerOutOfMemory] scrappie-release-1.4.2/src/fast5_interface.c:155:24: note: Assuming allocation function fails scrappie-release-1.4.2/src/fast5_interface.c:155:24: note: Assignment 'dset_path=calloc(rootstr_len+size+1,sizeof(char))', assigned value is 0 scrappie-release-1.4.2/src/fast5_interface.c:156:20: note: Null pointer dereference scrappie-release-1.4.2/src/fast5_interface.c:156:69: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] scrappie-release-1.4.2/src/fast5_interface.c:150:18: note: Assuming allocation function fails scrappie-release-1.4.2/src/fast5_interface.c:150:18: note: Assignment 'name=calloc(1+size,sizeof(char))', assigned value is 0 scrappie-release-1.4.2/src/fast5_interface.c:156:69: note: Null pointer dereference scrappie-release-1.4.2/src/fast5_interface.c:167:20: warning: If memory allocation fails, then there is a possible null pointer dereference: signal_path [nullPointerOutOfMemory] scrappie-release-1.4.2/src/fast5_interface.c:166:25: note: Assuming allocation function fails scrappie-release-1.4.2/src/fast5_interface.c:166:25: note: Assignment 'signal_path=calloc(rootstr_len+size+8,sizeof(char))', assigned value is 0 scrappie-release-1.4.2/src/fast5_interface.c:167:20: note: Null pointer dereference scrappie-release-1.4.2/src/fast5_interface.c:220:47: style:inconclusive: Function 'write_annotated_events' argument 3 names different: declaration 'ev' definition 'et'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/fast5_interface.h:12:47: note: Function 'write_annotated_events' argument 3 names different: declaration 'ev' definition 'et'. scrappie-release-1.4.2/src/fast5_interface.c:220:47: note: Function 'write_annotated_events' argument 3 names different: declaration 'ev' definition 'et'. scrappie-release-1.4.2/src/fast5_interface.c:13:17: style: struct member '_gop_data::prefix' is never used. [unusedStructMember] scrappie-release-1.4.2/src/fast5_interface.c:14:9: style: struct member '_gop_data::latest' is never used. [unusedStructMember] scrappie-release-1.4.2/src/homopolymer.c:129:25: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] scrappie-release-1.4.2/src/layers.c:38:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:186:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:276:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:400:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:448:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:501:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:552:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:596:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:646:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:700:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:751:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:807:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/layers.c:836:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/homopolymer.c:19:71: style:inconclusive: Function 'get_homopolymer_calculation' argument 1 names different: declaration 'calcstring' definition 'calcstr'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/homopolymer.h:13:71: note: Function 'get_homopolymer_calculation' argument 1 names different: declaration 'calcstring' definition 'calcstr'. scrappie-release-1.4.2/src/homopolymer.c:19:71: note: Function 'get_homopolymer_calculation' argument 1 names different: declaration 'calcstring' definition 'calcstr'. scrappie-release-1.4.2/src/homopolymer.c:67:19: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] scrappie-release-1.4.2/src/nnfeatures.c:74:64: style:inconclusive: Function 'nanonet_features_from_events' argument 1 names different: declaration 'evtbl' definition 'et'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/nnfeatures.h:8:64: note: Function 'nanonet_features_from_events' argument 1 names different: declaration 'evtbl' definition 'et'. scrappie-release-1.4.2/src/nnfeatures.c:74:64: note: Function 'nanonet_features_from_events' argument 1 names different: declaration 'evtbl' definition 'et'. scrappie-release-1.4.2/src/layers.c:386:20: style: The comparison 'sW2->nc == size' is always true because 'sW2->nc' and 'size' represent the same value. [knownConditionTrueFalse] scrappie-release-1.4.2/src/layers.c:381:28: note: 'size' is assigned value 'sW2->nc' here. scrappie-release-1.4.2/src/layers.c:386:20: note: The comparison 'sW2->nc == size' is always true because 'sW2->nc' and 'size' represent the same value. scrappie-release-1.4.2/src/layers.c:434:20: style: The comparison 'sW2->nc == size' is always true because 'sW2->nc' and 'size' represent the same value. [knownConditionTrueFalse] scrappie-release-1.4.2/src/layers.c:428:28: note: 'size' is assigned value 'sW2->nc' here. scrappie-release-1.4.2/src/layers.c:434:20: note: The comparison 'sW2->nc == size' is always true because 'sW2->nc' and 'size' represent the same value. scrappie-release-1.4.2/src/layers.c:374:72: style:inconclusive: Function 'gru_forward' argument 4 names different: declaration 'res' definition 'ostate'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/layers.h:44:72: note: Function 'gru_forward' argument 4 names different: declaration 'res' definition 'ostate'. scrappie-release-1.4.2/src/layers.c:374:72: note: Function 'gru_forward' argument 4 names different: declaration 'res' definition 'ostate'. scrappie-release-1.4.2/src/layers.c:423:73: style:inconclusive: Function 'gru_backward' argument 4 names different: declaration 'res' definition 'ostate'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/layers.h:46:73: note: Function 'gru_backward' argument 4 names different: declaration 'res' definition 'ostate'. scrappie-release-1.4.2/src/layers.c:423:73: note: Function 'gru_backward' argument 4 names different: declaration 'res' definition 'ostate'. scrappie-release-1.4.2/src/layers.c:530:48: style:inconclusive: Function 'grumod_forward' argument 3 names different: declaration 'res' definition 'ostate'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/layers.h:52:48: note: Function 'grumod_forward' argument 3 names different: declaration 'res' definition 'ostate'. scrappie-release-1.4.2/src/layers.c:530:48: note: Function 'grumod_forward' argument 3 names different: declaration 'res' definition 'ostate'. scrappie-release-1.4.2/src/layers.c:575:49: style:inconclusive: Function 'grumod_backward' argument 3 names different: declaration 'res' definition 'ostate'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/layers.h:54:49: note: Function 'grumod_backward' argument 3 names different: declaration 'res' definition 'ostate'. scrappie-release-1.4.2/src/layers.c:575:49: note: Function 'grumod_backward' argument 3 names different: declaration 'res' definition 'ostate'. scrappie-release-1.4.2/src/layers.c:673:52: style:inconclusive: Function 'lstm_forward' argument 1 names different: declaration 'X' definition 'Xaffine'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/layers.h:59:52: note: Function 'lstm_forward' argument 1 names different: declaration 'X' definition 'Xaffine'. scrappie-release-1.4.2/src/layers.c:673:52: note: Function 'lstm_forward' argument 1 names different: declaration 'X' definition 'Xaffine'. scrappie-release-1.4.2/src/layers.c:724:53: style:inconclusive: Function 'lstm_backward' argument 1 names different: declaration 'X' definition 'Xaffine'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/layers.h:61:53: note: Function 'lstm_backward' argument 1 names different: declaration 'X' definition 'Xaffine'. scrappie-release-1.4.2/src/layers.c:724:53: note: Function 'lstm_backward' argument 1 names different: declaration 'X' definition 'Xaffine'. scrappie-release-1.4.2/src/layers.c:777:38: style:inconclusive: Function 'lstm_step' argument 1 names different: declaration 'x' definition 'xAffine'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/layers.h:63:38: note: Function 'lstm_step' argument 1 names different: declaration 'x' definition 'xAffine'. scrappie-release-1.4.2/src/layers.c:777:38: note: Function 'lstm_step' argument 1 names different: declaration 'x' definition 'xAffine'. scrappie-release-1.4.2/src/layers.c:415:9: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/layers.c:465:9: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/layers.c:567:9: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/layers.c:613:9: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/scrappie_common.c:39:66: style:inconclusive: Function 'trim_raw_by_mad' argument 3 names different: declaration 'proportion' definition 'perc'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/scrappie_common.h:8:66: note: Function 'trim_raw_by_mad' argument 3 names different: declaration 'proportion' definition 'perc'. scrappie-release-1.4.2/src/scrappie_common.c:39:66: note: Function 'trim_raw_by_mad' argument 3 names different: declaration 'proportion' definition 'perc'. scrappie-release-1.4.2/src/scrappie_event_table.c:87:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_event_table.c:137:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_event_table.c:75:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_event_table.c:76:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_event_table.c:91:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_event_table.c:92:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_event_table.c:155:13: warning: %zu in format string (no. 2) requires 'size_t' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] scrappie-release-1.4.2/src/scrappie_event_table.c:66:11: style: Variable 'next_tok' can be declared as pointer to const [constVariablePointer] scrappie-release-1.4.2/src/scrappie_event_table.c:119:40: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] scrappie-release-1.4.2/src/scrappie_events.c:210:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_events.c:352:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_help.c:28:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_help.c:39:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_help.c:89:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_help.c:95:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_help.c:93:34: style: Parameter 'argv' can be declared as const array [constParameter] scrappie-release-1.4.2/src/scrappie_events.c:167:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_events.c:168:26: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_events.c:222:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_events.c:223:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_events.c:389:20: warning: If memory allocation fails, then there is a possible null pointer dereference: globpath [nullPointerOutOfMemory] scrappie-release-1.4.2/src/scrappie_events.c:388:30: note: Assuming allocation function fails scrappie-release-1.4.2/src/scrappie_events.c:388:30: note: Assignment 'globpath=calloc(rootlen+9,sizeof(char))', assigned value is 0 scrappie-release-1.4.2/src/scrappie_events.c:389:20: note: Null pointer dereference scrappie-release-1.4.2/src/scrappie_events.c:398:32: warning: If memory allocation fails, then there is a possible null pointer dereference: globpath [nullPointerOutOfMemory] scrappie-release-1.4.2/src/scrappie_events.c:388:30: note: Assuming allocation function fails scrappie-release-1.4.2/src/scrappie_events.c:388:30: note: Assignment 'globpath=calloc(rootlen+9,sizeof(char))', assigned value is 0 scrappie-release-1.4.2/src/scrappie_events.c:398:32: note: Null pointer dereference scrappie-release-1.4.2/src/scrappie_events.c:168:15: style: Variable 'next_tok' can be declared as pointer to const [constVariablePointer] scrappie-release-1.4.2/src/scrappie_events.c:271:40: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] scrappie-release-1.4.2/src/scrappie_mappy.c:141:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_mappy.c:186:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_events.c:298:10: style: Variable 'post' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/scrappie_mappy.c:119:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_mappy.c:120:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_mappy.c:129:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_mappy.c:130:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_mappy.c:90:32: warning: Logical conjunction always evaluates to false: args.backprob < 0.0 && args.backprob >= 1.0. [incorrectLogicOperator] scrappie-release-1.4.2/src/scrappie_mappy.c:79:12: style: Variable 'next_tok' can be declared as pointer to const [constVariablePointer] scrappie-release-1.4.2/src/scrappie_mappy.c:231:18: style: Variable 'squiggle' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/scrappie_matrix.c:26:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:57:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:192:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_EPSILON [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:282:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128i [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:304:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128i [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:342:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:371:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m128 [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:412:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:429:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_raw.c:218:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_raw.c:288:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_raw.c:339:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_matrix.c:106:12: style: Checking if unsigned expression 'nr' is less than zero. [unsignedLessThanZero] scrappie-release-1.4.2/src/scrappie_matrix.c:109:12: style: Checking if unsigned expression 'nc' is less than zero. [unsignedLessThanZero] scrappie-release-1.4.2/src/scrappie_matrix.c:53:60: style:inconclusive: Function 'copy_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'M'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/scrappie_matrix.h:33:60: note: Function 'copy_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'M'. scrappie-release-1.4.2/src/scrappie_matrix.c:53:60: note: Function 'copy_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'M'. scrappie-release-1.4.2/src/scrappie_matrix.c:300:63: style:inconclusive: Function 'copy_scrappie_imatrix' argument 1 names different: declaration 'mat' definition 'M'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/scrappie_matrix.h:50:63: note: Function 'copy_scrappie_imatrix' argument 1 names different: declaration 'mat' definition 'M'. scrappie-release-1.4.2/src/scrappie_matrix.c:300:63: note: Function 'copy_scrappie_imatrix' argument 1 names different: declaration 'mat' definition 'M'. scrappie-release-1.4.2/src/scrappie_matrix.c:409:49: style:inconclusive: Function 'max_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'x'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/scrappie_matrix.h:62:49: note: Function 'max_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'x'. scrappie-release-1.4.2/src/scrappie_matrix.c:409:49: note: Function 'max_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'x'. scrappie-release-1.4.2/src/scrappie_matrix.c:426:49: style:inconclusive: Function 'min_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'x'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/scrappie_matrix.h:61:49: note: Function 'min_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'x'. scrappie-release-1.4.2/src/scrappie_matrix.c:426:49: note: Function 'min_scrappie_matrix' argument 1 names different: declaration 'mat' definition 'x'. scrappie-release-1.4.2/src/scrappie_matrix.c:560:49: style:inconclusive: Function 'shift_scale_matrix_inplace' argument 1 names different: declaration 'sigmat' definition 'C'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/scrappie_matrix.h:70:49: note: Function 'shift_scale_matrix_inplace' argument 1 names different: declaration 'sigmat' definition 'C'. scrappie-release-1.4.2/src/scrappie_matrix.c:560:49: note: Function 'shift_scale_matrix_inplace' argument 1 names different: declaration 'sigmat' definition 'C'. scrappie-release-1.4.2/src/scrappie_raw.c:159:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_raw.c:160:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_raw.c:186:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_raw.c:187:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_raw.c:368:20: warning: If memory allocation fails, then there is a possible null pointer dereference: globpath [nullPointerOutOfMemory] scrappie-release-1.4.2/src/scrappie_raw.c:367:31: note: Assuming allocation function fails scrappie-release-1.4.2/src/scrappie_raw.c:367:31: note: Assignment 'globpath=calloc(rootlen+9,sizeof(char))', assigned value is 0 scrappie-release-1.4.2/src/scrappie_raw.c:368:20: note: Null pointer dereference scrappie-release-1.4.2/src/scrappie_raw.c:377:32: warning: If memory allocation fails, then there is a possible null pointer dereference: globpath [nullPointerOutOfMemory] scrappie-release-1.4.2/src/scrappie_raw.c:367:31: note: Assuming allocation function fails scrappie-release-1.4.2/src/scrappie_raw.c:367:31: note: Assignment 'globpath=calloc(rootlen+9,sizeof(char))', assigned value is 0 scrappie-release-1.4.2/src/scrappie_raw.c:377:32: note: Null pointer dereference scrappie-release-1.4.2/src/scrappie_raw.c:125:12: style: Variable 'next_tok' can be declared as pointer to const [constVariablePointer] scrappie-release-1.4.2/src/scrappie_raw.c:265:56: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] scrappie-release-1.4.2/src/scrappie_raw.c:298:18: style: Variable 'post' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/scrappie_raw.c:310:10: style: Variable 'post' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: warning: If memory allocation fails, then there is a possible null pointer dereference: ks [nullPointerOutOfMemory] scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: note: Assuming allocation function fails scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: note: Assignment 'ks=(struct kstream_t*)calloc(1,sizeof(struct kstream_t))', assigned value is 0 scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: note: Null pointer dereference scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: note: Assuming allocation function fails scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: note: Assignment 's=(struct kseq_t*)calloc(1,sizeof(struct kseq_t))', assigned value is 0 scrappie-release-1.4.2/src/scrappie_seq_helpers.c:13:1: note: Null pointer dereference scrappie-release-1.4.2/src/scrappie_seq_helpers.c:30:22: style:inconclusive: Function 'base_to_int' argument 1 names different: declaration 'c' definition 'base'. [funcArgNamesDifferent] scrappie-release-1.4.2/src/scrappie_seq_helpers.h:15:22: note: Function 'base_to_int' argument 1 names different: declaration 'c' definition 'base'. scrappie-release-1.4.2/src/scrappie_seq_helpers.c:30:22: note: Function 'base_to_int' argument 1 names different: declaration 'c' definition 'base'. scrappie-release-1.4.2/src/scrappie_seqmappy.c:137:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_seqmappy.c:167:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_squiggle.c:87:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_squiggle.c:127:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_seqmappy.c:103:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_seqmappy.c:104:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_seqmappy.c:118:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_seqmappy.c:119:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] scrappie-release-1.4.2/src/scrappie_seqmappy.c:80:12: style: Variable 'next_tok' can be declared as pointer to const [constVariablePointer] scrappie-release-1.4.2/src/scrappie_seqmappy.c:221:13: style: Variable 'logpost' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: warning: If memory allocation fails, then there is a possible null pointer dereference: ks [nullPointerOutOfMemory] scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: note: Assuming allocation function fails scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: note: Assignment 'ks=(struct kstream_t*)calloc(1,sizeof(struct kstream_t))', assigned value is 0 scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: note: Null pointer dereference scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: note: Assuming allocation function fails scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: note: Assignment 's=(struct kseq_t*)calloc(1,sizeof(struct kseq_t))', assigned value is 0 scrappie-release-1.4.2/src/scrappie_squiggle.c:14:1: note: Null pointer dereference scrappie-release-1.4.2/src/scrappie_subcommands.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/scrappie_squiggle.c:166:26: style: Variable 'squiggle' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/test/read_crp.c:9:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/scrappie_test_runner.c:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUE_SUCCESS [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/scrappie_util.c:145:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:141:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:152:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:167:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/scrappie_util.c:132:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfResources] scrappie-release-1.4.2/src/test/scrappie_util.c:128:21: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/scrappie_util.c:128:21: note: Assignment 'fh=fopen(fn,"r")', assigned value is 0 scrappie-release-1.4.2/src/test/scrappie_util.c:132:12: note: Null pointer dereference scrappie-release-1.4.2/src/test/scrappie_util.c:117:13: style: Variable 'mat' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:170:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:163:24: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:163:24: note: Assignment 'path=calloc(nblock,sizeof(int))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:170:25: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:172:24: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:163:24: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:163:24: note: Assignment 'path=calloc(nblock,sizeof(int))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:172:24: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:208:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: poslow [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:202:29: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:202:29: note: Assignment 'poslow=calloc(nblock,sizeof(unsigned long))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:208:9: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:209:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: poshigh [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:204:30: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:204:30: note: Assignment 'poshigh=calloc(nblock,sizeof(unsigned long))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:209:9: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:235:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: poslow [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:229:29: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:229:29: note: Assignment 'poslow=calloc(nblock,sizeof(unsigned long))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:235:9: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:236:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: poshigh [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:231:30: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:231:30: note: Assignment 'poshigh=calloc(nblock,sizeof(unsigned long))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:236:9: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:264:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: poslow [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:258:29: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:258:29: note: Assignment 'poslow=calloc(nblock,sizeof(unsigned long))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:264:9: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:265:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: poshigh [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:260:30: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:260:30: note: Assignment 'poshigh=calloc(nblock,sizeof(unsigned long))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:265:9: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:324:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tighthigh [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:320:32: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_map_to_sequence.c:320:32: note: Assignment 'tighthigh=calloc(nblock,sizeof(unsigned long))', assigned value is 0 scrappie-release-1.4.2/src/test/test_map_to_sequence.c:324:9: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_map_to_sequence.c:369:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:162:18: style: Local variable 'nblock' shadows outer variable [shadowVariable] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:104:15: note: Shadowed declaration scrappie-release-1.4.2/src/test/test_map_to_sequence.c:162:18: note: Shadow variable scrappie-release-1.4.2/src/test/test_map_to_sequence.c:200:18: style: Local variable 'nblock' shadows outer variable [shadowVariable] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:104:15: note: Shadowed declaration scrappie-release-1.4.2/src/test/test_map_to_sequence.c:200:18: note: Shadow variable scrappie-release-1.4.2/src/test/test_map_to_sequence.c:227:18: style: Local variable 'nblock' shadows outer variable [shadowVariable] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:104:15: note: Shadowed declaration scrappie-release-1.4.2/src/test/test_map_to_sequence.c:227:18: note: Shadow variable scrappie-release-1.4.2/src/test/test_map_to_sequence.c:256:18: style: Local variable 'nblock' shadows outer variable [shadowVariable] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:104:15: note: Shadowed declaration scrappie-release-1.4.2/src/test/test_map_to_sequence.c:256:18: note: Shadow variable scrappie-release-1.4.2/src/test/test_map_to_sequence.c:317:18: style: Local variable 'nblock' shadows outer variable [shadowVariable] scrappie-release-1.4.2/src/test/test_map_to_sequence.c:104:15: note: Shadowed declaration scrappie-release-1.4.2/src/test/test_map_to_sequence.c:317:18: note: Shadow variable scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:392:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:88:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path_sloika [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:85:31: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:85:31: note: Assignment 'path_sloika=calloc(nblock+1,sizeof(int))', assigned value is 0 scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:88:9: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:92:50: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:81:33: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:81:33: note: Assignment 'path_original=calloc(nblock+1,sizeof(int))', assigned value is 0 scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:92:50: note: Null pointer addition scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:66:40: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: xpad [nullPointerOutOfMemory] scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:55:25: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:55:25: note: Assignment 'xpad=calloc(padL+padR+x.len,sizeof(float))', assigned value is 0 scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:66:40: note: Null pointer dereference scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:57:17: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:55:25: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:55:25: note: Assignment 'xpad=calloc(padL+padR+x.len,sizeof(float))', assigned value is 0 scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:57:17: note: Null pointer addition scrappie-release-1.4.2/src/test/test_scrappie_matrix.c:66:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scrappie-release-1.4.2/src/test/test_scrappie_event_detection.c:131:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_scrappie_event_detection.c:137:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_scrappie_event_detection.c:143:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mean [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_scrappie_event_detection.c:149:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdv [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_scrappie_event_detection.c:168:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_detection_defaults [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_scrappie_squiggle.c:36:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_scrappie_squiggle.c:44:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/test_scrappie_squiggle.c:60:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scrappie-release-1.4.2/src/test/test_scrappie_squiggle.c:38:14: style: Variable 'squiggle' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/test/test_scrappie_squiggle.c:46:14: style: Variable 'squiggle' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/test/test_skeleton.c:37:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scrappie-release-1.4.2/src/test/test_util.c:47:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] scrappie-release-1.4.2/src/test/test_scrappie_util.c:74:12: style: Variable 'mat_in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/test/test_scrappie_util.c:88:12: style: Variable 'mat_in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/test/test_scrappie_util.c:95:13: style: Variable 'mat_cpy' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/test/write_random_crp.c:10:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/test/write_random_crp.c:8:26: style: Parameter 'argv' can be declared as const array [constParameter] scrappie-release-1.4.2/src/util.c:44:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/util.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/util.c:101:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/util.c:159:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] scrappie-release-1.4.2/src/util.c:14:12: style: Local variable 'imax' shadows outer function [shadowFunction] scrappie-release-1.4.2/src/util.h:258:19: note: Shadowed declaration scrappie-release-1.4.2/src/util.c:14:12: note: Shadow variable scrappie-release-1.4.2/src/util.c:30:12: style: Local variable 'imin' shadows outer function [shadowFunction] scrappie-release-1.4.2/src/util.h:254:19: note: Shadowed declaration scrappie-release-1.4.2/src/util.c:30:12: note: Shadow variable scrappie-release-1.4.2/src/networks.c:158:14: style: Variable 'features' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:165:14: style: Variable 'feature3' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:176:12: style: Variable 'lstmXf' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:178:12: style: Variable 'lstmXb' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:182:11: style: Variable 'lstmF' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:183:11: style: Variable 'lstmB' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:186:12: style: Variable 'lstmFF' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:206:13: style: Variable 'raw_mat' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:211:10: style: Variable 'conv' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:214:13: style: Variable 'gruF1in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:216:13: style: Variable 'gruB1in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:227:13: style: Variable 'gruF2in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:229:13: style: Variable 'gruB2in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:235:10: style: Variable 'gruF' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:236:10: style: Variable 'gruB' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:239:11: style: Variable 'gruFF' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:261:13: style: Variable 'raw_mat' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:264:10: style: Variable 'conv' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:266:13: style: Variable 'gruB1in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:269:11: style: Variable 'gruB1' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:271:13: style: Variable 'gruF2in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:274:11: style: Variable 'gruF2' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:276:13: style: Variable 'gruB3in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:279:11: style: Variable 'gruB3' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:281:13: style: Variable 'gruF4in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:284:11: style: Variable 'gruF4' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:286:13: style: Variable 'gruB5in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:289:11: style: Variable 'gruB5' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:310:13: style: Variable 'raw_mat' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:313:10: style: Variable 'conv' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:315:13: style: Variable 'gruB1in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:318:11: style: Variable 'gruB1' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:320:13: style: Variable 'gruF2in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:323:11: style: Variable 'gruF2' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:325:13: style: Variable 'gruB3in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:328:11: style: Variable 'gruB3' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:330:13: style: Variable 'gruF4in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:333:11: style: Variable 'gruF4' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:335:13: style: Variable 'gruB5in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:338:11: style: Variable 'gruB5' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:359:13: style: Variable 'raw_mat' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:362:10: style: Variable 'conv' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:364:13: style: Variable 'gruB1in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:367:11: style: Variable 'gruB1' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:369:13: style: Variable 'gruF2in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:372:11: style: Variable 'gruF2' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:374:13: style: Variable 'gruB3in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:377:11: style: Variable 'gruB3' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:379:13: style: Variable 'gruF4in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:382:11: style: Variable 'gruF4' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:384:13: style: Variable 'gruB5in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:387:11: style: Variable 'gruB5' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:403:19: style: Variable 'seq_embedding' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:411:11: style: Variable 'conv1' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:418:11: style: Variable 'conv2' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:425:11: style: Variable 'conv3' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:432:11: style: Variable 'conv4' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:436:11: style: Variable 'conv5' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:460:19: style: Variable 'seq_embedding' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:468:11: style: Variable 'conv1' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:475:11: style: Variable 'conv2' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:482:11: style: Variable 'conv3' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:489:11: style: Variable 'conv4' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:493:11: style: Variable 'conv5' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:517:19: style: Variable 'seq_embedding' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:525:11: style: Variable 'conv1' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:532:11: style: Variable 'conv2' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:539:11: style: Variable 'conv3' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:546:11: style: Variable 'conv4' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:550:11: style: Variable 'conv5' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:579:13: style: Variable 'raw_mat' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:584:10: style: Variable 'conv' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:585:13: style: Variable 'gruB1in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:590:11: style: Variable 'gruB1' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:591:13: style: Variable 'gruF2in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:596:11: style: Variable 'gruF2' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:597:13: style: Variable 'gruB3in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:602:11: style: Variable 'gruB3' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:603:13: style: Variable 'gruF4in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:608:11: style: Variable 'gruF4' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:609:13: style: Variable 'gruB5in' is assigned a value that is never used. [unreadVariable] scrappie-release-1.4.2/src/networks.c:612:11: style: Variable 'gruB5' is assigned a value that is never used. [unreadVariable] diff: head scrappie-release-1.4.2/src/decode.c:11:6: error: #error "Compilation of function decode_transducer requires a processor that supports at least SSE2" [preprocessorErrorDirective] 2.17.0 scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:57:17: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:55:25: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:55:25: note: Assignment 'xpad=calloc(padL+padR+x.len,sizeof(float))', assigned value is 0 scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:57:17: note: Null pointer addition head scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:57:17: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:55:25: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:55:25: note: Assignment 'xpad=calloc(padL+padR+x.len,sizeof(float))', assigned value is 0 scrappie-release-1.4.2/src/test/test_scrappie_convolution.c:57:17: note: Null pointer addition 2.17.0 scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:92:50: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:81:33: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:81:33: note: Assignment 'path_original=calloc(nblock+1,sizeof(int))', assigned value is 0 scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:92:50: note: Null pointer addition head scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:92:50: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:81:33: note: Assuming allocation function fails scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:81:33: note: Assignment 'path_original=calloc(nblock+1,sizeof(int))', assigned value is 0 scrappie-release-1.4.2/src/test/test_scrappie_decoding.c:92:50: note: Null pointer addition DONE