2025-07-08 16:59 ftp://ftp.de.debian.org/debian/pool/main/h/hinge/hinge_0.5.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --library=boost --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 610 571 elapsed-time: 6.6 7.0 head-timing-info: old-timing-info: head results: HINGE-0.5.0/src/consensus/consensus.cpp:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/io_base.cpp:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORWARD [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/consensus.cpp:126:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_uint] HINGE-0.5.0/src/consensus/consensus.cpp:137:9: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_uint] HINGE-0.5.0/src/consensus/consensus.cpp:69:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/consensus/consensus.cpp:101:11: style: Unused variable: test_read [unusedVariable] HINGE-0.5.0/src/consensus/io_base.cpp:150:5: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] HINGE-0.5.0/src/consensus/io_base.cpp:151:68: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] HINGE-0.5.0/src/consensus/io_base.cpp:150:11: warning: If memory allocation fails, then there is a possible null pointer dereference: buff [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/io_base.cpp:149:33: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/io_base.cpp:149:18: note: Assignment 'buff=(char*)malloc(sizeof(char)*2000)', assigned value is 0 HINGE-0.5.0/src/consensus/io_base.cpp:150:11: note: Null pointer dereference HINGE-0.5.0/src/consensus/io_base.cpp:149:18: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/io_base.cpp:57:33: style: Parameter 'ovl1' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/io_base.cpp:57:50: style: Parameter 'ovl2' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/io_base.cpp:64:40: style: Parameter 'ovl1' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/io_base.cpp:64:57: style: Parameter 'ovl2' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/io_base.cpp:70:39: style: Parameter 'ovl1' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/io_base.cpp:70:56: style: Parameter 'ovl2' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/io_base.cpp:74:39: style: Parameter 'ovl1' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/io_base.cpp:74:56: style: Parameter 'ovl2' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/io_base.cpp:113:27: style: Variable 'name_mask' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:116:26: style: Variable 'name_rep' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:117:25: style: Variable 'name_hg' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:118:26: style: Variable 'name_cov' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:132:26: style: Variable 'delete_telomere' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:245:29: style: Variable 'NUM_EVENTS_TELOMERE' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:113:17: style: Variable 'name_mask' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:116:17: style: Variable 'name_rep' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:117:17: style: Variable 'name_hg' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:118:17: style: Variable 'name_cov' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:132:10: style: Variable 'delete_telomere' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:245:9: style: Variable 'NUM_EVENTS_TELOMERE' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/io_base.cpp:268:25: style: Unused variable: edgelist [unusedVariable] HINGE-0.5.0/src/consensus/io_base.cpp:268:35: style: Unused variable: edgelist_ms [unusedVariable] HINGE-0.5.0/src/consensus/io_base.cpp:269:69: style: Unused variable: idx_ab [unusedVariable] HINGE-0.5.0/src/lib/DW_banded.c:78:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_path_data2 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DW_banded.c:86:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_path_data2 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DW_banded.c:139:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_coor_t [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:96:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:123:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:189:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:209:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:434:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:601:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_BEST [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:704:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_BEST [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:836:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:1103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MASK_TRACK [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:1144:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:1378:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:1422:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:1497:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:1579:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rlen [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DB.c:1631:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/draft_chopper.cpp:87:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORWARD [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/draft_chopper.cpp:387:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/draft.cpp:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/draft.cpp:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/draft.cpp:1045:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/filter/filter.cpp:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/filter/filter.cpp:79:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare_overlap_abpos [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/filter/filter.cpp:114:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare_overlap_abpos [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/filter/filter.cpp:156:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/filter/filter.cpp:168:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/DW_banded.c:96:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] HINGE-0.5.0/src/lib/DW_banded.c:151:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assignment 'align_rtn=calloc(1,sizeof(alignment))', assigned value is 0 HINGE-0.5.0/src/lib/DW_banded.c:151:5: note: Null pointer dereference HINGE-0.5.0/src/lib/DW_banded.c:152:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assignment 'align_rtn=calloc(1,sizeof(alignment))', assigned value is 0 HINGE-0.5.0/src/lib/DW_banded.c:152:5: note: Null pointer dereference HINGE-0.5.0/src/lib/DW_banded.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assignment 'align_rtn=calloc(1,sizeof(alignment))', assigned value is 0 HINGE-0.5.0/src/lib/DW_banded.c:153:5: note: Null pointer dereference HINGE-0.5.0/src/lib/DW_banded.c:154:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assignment 'align_rtn=calloc(1,sizeof(alignment))', assigned value is 0 HINGE-0.5.0/src/lib/DW_banded.c:154:5: note: Null pointer dereference HINGE-0.5.0/src/lib/DW_banded.c:155:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assignment 'align_rtn=calloc(1,sizeof(alignment))', assigned value is 0 HINGE-0.5.0/src/lib/DW_banded.c:155:5: note: Null pointer dereference HINGE-0.5.0/src/lib/DW_banded.c:156:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assignment 'align_rtn=calloc(1,sizeof(alignment))', assigned value is 0 HINGE-0.5.0/src/lib/DW_banded.c:156:5: note: Null pointer dereference HINGE-0.5.0/src/lib/DW_banded.c:157:5: warning: If memory allocation fails, then there is a possible null pointer dereference: align_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/DW_banded.c:150:23: note: Assignment 'align_rtn=calloc(1,sizeof(alignment))', assigned value is 0 HINGE-0.5.0/src/lib/DW_banded.c:157:5: note: Null pointer dereference HINGE-0.5.0/src/lib/DW_banded.c:81:97: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DW_banded.c:93:36: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DW_banded.c:101:25: style: Parameter 'query_seq' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DW_banded.c:102:26: style: Parameter 'target_seq' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DW_banded.c:124:20: style: Variable 'd_path_aux' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/INIReader.cpp:18:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _error [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/INIReader.cpp:23:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _error [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/INIReader.cpp:29:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _values [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/INIReader.cpp:75:25: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/lib/LAInterface.cpp:1386:53: error: There is an unknown macro here somewhere. Configuration is required. If SYSTEM_ERROR is a macro then please configure it. [unknownMacro] HINGE-0.5.0/src/lib/DB.c:132:15: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] HINGE-0.5.0/src/lib/DB.c:148:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] HINGE-0.5.0/src/lib/DB.c:414:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] HINGE-0.5.0/src/lib/DB.c:706:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] HINGE-0.5.0/src/lib/DB.c:857:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] HINGE-0.5.0/src/lib/DB.c:1297:26: style: Condition 'Late_Track_Trim(db,record,ispart)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/DB.c:1297:26: note: Calling function 'Late_Track_Trim' returns 0 HINGE-0.5.0/src/lib/DB.c:1297:26: note: Condition 'Late_Track_Trim(db,record,ispart)' is always false HINGE-0.5.0/src/lib/DB.c:1098:5: error: Resource leak: afile [resourceLeak] HINGE-0.5.0/src/lib/DB.c:1100:5: error: Resource leak: afile [resourceLeak] HINGE-0.5.0/src/lib/DB.c:1107:5: error: Resource leak: afile [resourceLeak] HINGE-0.5.0/src/lib/DB.c:188:12: error: Common realloc mistake: 'cat' nulled but not freed upon failure [memleakOnRealloc] HINGE-0.5.0/src/lib/DB.c:208:12: error: Common realloc mistake: 'suffix' nulled but not freed upon failure [memleakOnRealloc] HINGE-0.5.0/src/lib/DB.c:1622:17: warning: Either the condition 'root==NULL' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] HINGE-0.5.0/src/lib/DB.c:1624:12: note: Assuming that condition 'root==NULL' is not redundant HINGE-0.5.0/src/lib/DB.c:1622:17: note: Null pointer dereference HINGE-0.5.0/src/lib/DB.c:875:19: style: Local variable 'indx' shadows outer variable [shadowVariable] HINGE-0.5.0/src/lib/DB.c:825:32: note: Shadowed declaration HINGE-0.5.0/src/lib/DB.c:875:19: note: Shadow variable HINGE-0.5.0/src/lib/DB.c:103:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:142:30: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:175:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:175:34: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:175:57: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:197:29: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:197:50: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:291:24: style: Variable 's3' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/DB.c:314:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/DB.c:337:15: style: Variable 'letter' can be declared as const array [constVariable] HINGE-0.5.0/src/lib/DB.c:345:15: style: Variable 'letter' can be declared as const array [constVariable] HINGE-0.5.0/src/lib/DB.c:355:15: style: Variable 'number' can be declared as const array [constVariable] HINGE-0.5.0/src/lib/DB.c:397:38: style: Variable 'cat' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/DB.c:829:25: style: Variable 'nx' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/DB.c:1140:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/DB.c:1325:37: style: Parameter 'track' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:1356:32: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:1473:31: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/DB.c:1613:18: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/DB.c:1693:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/layout/hinging.cpp:52:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/layout/hinging.cpp:128:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOT_ACTIVE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/layout/hinging.cpp:191:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORWARD [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/layout/hinging.cpp:269:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORWARD [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/layout/hinging.cpp:532:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare_overlap [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/layout/hinging.cpp:616:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:353:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:375:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:468:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:522:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:612:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:678:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:810:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:902:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint64 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:1144:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint16 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:1185:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint16 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:1314:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:1365:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/draft.cpp:544:26: style: Array index 'pos' is used before limits check. [arrayIndexThenCheck] HINGE-0.5.0/src/consensus/draft.cpp:512:5: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_uint] HINGE-0.5.0/src/consensus/draft.cpp:616:24: warning: If memory allocation fails, then there is a possible null pointer dereference: aseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:612:45: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:612:30: note: Assignment 'aseq=(char*)std::malloc((20+(std::get<2>(ladders[i][mx])-std::get<1>(ladders[i][mx])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:616:24: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:619:24: warning: If memory allocation fails, then there is a possible null pointer dereference: bseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:614:45: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:614:30: note: Assignment 'bseq=(char*)std::malloc((20+(std::get<2>(ladders[i][j])-std::get<1>(ladders[i][j])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:619:24: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:625:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:625:17: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:626:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:626:17: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:626:37: warning: If memory allocation fails, then there is a possible null pointer dereference: bseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:614:45: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:614:30: note: Assignment 'bseq=(char*)std::malloc((20+(std::get<2>(ladders[i][j])-std::get<1>(ladders[i][j])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:626:37: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:627:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:627:17: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:628:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:628:17: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:628:37: warning: If memory allocation fails, then there is a possible null pointer dereference: aseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:612:45: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:612:30: note: Assignment 'aseq=(char*)std::malloc((20+(std::get<2>(ladders[i][mx])-std::get<1>(ladders[i][mx])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:628:37: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:629:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:629:17: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:642:17: warning: If memory allocation fails, then there is a possible null pointer dereference: q_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:636:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:636:35: note: Assignment 'q_aln_str=(char*)std::malloc((5+std::strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:642:17: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:643:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:637:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:637:35: note: Assignment 't_aln_str=(char*)std::malloc((5+std::strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:643:17: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:646:48: warning: If memory allocation fails, then there is a possible null pointer dereference: q_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:636:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:636:35: note: Assignment 'q_aln_str=(char*)std::malloc((5+std::strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:646:48: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:647:48: warning: If memory allocation fails, then there is a possible null pointer dereference: t_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:637:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:637:35: note: Assignment 't_aln_str=(char*)std::malloc((5+std::strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:647:48: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:651:17: warning: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:605:49: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:605:25: note: Assignment 'tags_list=(align_tags_t**)std::calloc(seq_count,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:651:17: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:681:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:605:49: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:605:25: note: Assignment 'tags_list=(align_tags_t**)std::calloc(seq_count,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:681:33: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft.cpp:640:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:636:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:636:35: note: Assignment 'q_aln_str=(char*)std::malloc((5+std::strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:640:34: note: Null pointer addition HINGE-0.5.0/src/consensus/draft.cpp:641:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:637:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:637:35: note: Assignment 't_aln_str=(char*)std::malloc((5+std::strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:641:34: note: Null pointer addition HINGE-0.5.0/src/consensus/draft.cpp:605:25: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft.cpp:612:30: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft.cpp:614:30: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft.cpp:624:37: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft.cpp:636:35: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft.cpp:637:35: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft.cpp:338:13: style: Variable 'aes' is reassigned a value before the old one has been used. [redundantAssignment] HINGE-0.5.0/src/consensus/draft.cpp:312:17: note: aes is assigned HINGE-0.5.0/src/consensus/draft.cpp:338:13: note: aes is overwritten HINGE-0.5.0/src/consensus/draft.cpp:340:13: style: Variable 'aee' is reassigned a value before the old one has been used. [redundantAssignment] HINGE-0.5.0/src/consensus/draft.cpp:313:17: note: aee is assigned HINGE-0.5.0/src/consensus/draft.cpp:340:13: note: aee is overwritten HINGE-0.5.0/src/consensus/draft.cpp:338:13: style: Variable 'aes' is reassigned a value before the old one has been used. [redundantAssignment] HINGE-0.5.0/src/consensus/draft.cpp:319:17: note: aes is assigned HINGE-0.5.0/src/consensus/draft.cpp:338:13: note: aes is overwritten HINGE-0.5.0/src/consensus/draft.cpp:340:13: style: Variable 'aee' is reassigned a value before the old one has been used. [redundantAssignment] HINGE-0.5.0/src/consensus/draft.cpp:320:17: note: aee is assigned HINGE-0.5.0/src/consensus/draft.cpp:340:13: note: aee is overwritten HINGE-0.5.0/src/consensus/draft.cpp:339:13: style: Variable 'bes' is reassigned a value before the old one has been used. [redundantAssignment] HINGE-0.5.0/src/consensus/draft.cpp:327:17: note: bes is assigned HINGE-0.5.0/src/consensus/draft.cpp:339:13: note: bes is overwritten HINGE-0.5.0/src/consensus/draft.cpp:341:13: style: Variable 'bee' is reassigned a value before the old one has been used. [redundantAssignment] HINGE-0.5.0/src/consensus/draft.cpp:328:17: note: bee is assigned HINGE-0.5.0/src/consensus/draft.cpp:341:13: note: bee is overwritten HINGE-0.5.0/src/consensus/draft.cpp:339:13: style: Variable 'bes' is reassigned a value before the old one has been used. [redundantAssignment] HINGE-0.5.0/src/consensus/draft.cpp:334:17: note: bes is assigned HINGE-0.5.0/src/consensus/draft.cpp:339:13: note: bes is overwritten HINGE-0.5.0/src/consensus/draft.cpp:341:13: style: Variable 'bee' is reassigned a value before the old one has been used. [redundantAssignment] HINGE-0.5.0/src/consensus/draft.cpp:335:17: note: bee is assigned HINGE-0.5.0/src/consensus/draft.cpp:341:13: note: bee is overwritten HINGE-0.5.0/src/consensus/draft.cpp:71:42: performance: Function parameter 'aln_tag1' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/consensus/draft.cpp:71:64: performance: Function parameter 'aln_tag2' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/consensus/draft.cpp:119:102: style: Parameter 'full_aln' can be declared as reference to const [constParameterReference] HINGE-0.5.0/src/consensus/draft.cpp:122:46: style: Parameter 'reads' can be declared as reference to const [constParameterReference] HINGE-0.5.0/src/consensus/draft.cpp:263:19: style: Variable 'currentaln' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/consensus/draft.cpp:195:26: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] HINGE-0.5.0/src/consensus/draft.cpp:868:36: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/consensus/draft.cpp:169:23: style: Variable 'found' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:599:30: style: Variable 'base' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:390:9: style: Variable 'nlane' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:399:9: style: Variable 'currentlane' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:405:10: style: Variable 'revert' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:599:25: style: Variable 'base' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:746:17: style: Variable 'path_name' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:750:17: style: Variable 'name_mask' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:753:17: style: Variable 'name_rep' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:754:17: style: Variable 'name_hg' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:755:17: style: Variable 'name_cov' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:768:10: style: Variable 'delete_telomere' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:961:9: style: Variable 'NUM_EVENTS_TELOMERE' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:967:9: style: Variable 'EDGE_TRIM' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:970:9: style: Variable 'STEP' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:990:35: style: Unused variable: edgelist_ms [unusedVariable] HINGE-0.5.0/src/consensus/draft.cpp:1060:9: style: Variable 'num_contig' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft.cpp:1061:9: style: Variable 'num_one_read_contig' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/falcon.c:79:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable align_tags_t [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:132:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_coor_t [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:139:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_coor_t [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:156:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msa_base_group_t [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:170:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msa_base_group_t [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:186:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:232:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msa_delta_group_t [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:243:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_delta [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:315:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:551:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/falcon.c:663:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aln_range [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/consensus/draft_chopper.cpp:830:30: style: Array index 'pos' is used before limits check. [arrayIndexThenCheck] HINGE-0.5.0/src/consensus/draft_chopper.cpp:209:9: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] HINGE-0.5.0/src/consensus/draft_chopper.cpp:210:72: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] HINGE-0.5.0/src/consensus/draft_chopper.cpp:807:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] HINGE-0.5.0/src/consensus/draft_chopper.cpp:962:17: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] HINGE-0.5.0/src/consensus/draft_chopper.cpp:209:15: warning: If memory allocation fails, then there is a possible null pointer dereference: buff [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:208:37: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:208:22: note: Assignment 'buff=(char*)malloc(sizeof(char)*2000)', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:209:15: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:902:28: warning: If memory allocation fails, then there is a possible null pointer dereference: aseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:898:49: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:898:34: note: Assignment 'aseq=(char*)malloc((20+(std::get<2>(ladders[i][mx])-std::get<1>(ladders[i][mx])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:902:28: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:905:28: warning: If memory allocation fails, then there is a possible null pointer dereference: bseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:900:49: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:900:34: note: Assignment 'bseq=(char*)malloc((20+(std::get<2>(ladders[i][j])-std::get<1>(ladders[i][j])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:905:28: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:911:21: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:61: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:41: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:911:21: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:912:21: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:61: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:41: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:912:21: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:912:41: warning: If memory allocation fails, then there is a possible null pointer dereference: bseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:900:49: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:900:34: note: Assignment 'bseq=(char*)malloc((20+(std::get<2>(ladders[i][j])-std::get<1>(ladders[i][j])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:912:41: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:913:21: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:61: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:41: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:913:21: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:914:21: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:61: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:41: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:914:21: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:914:41: warning: If memory allocation fails, then there is a possible null pointer dereference: aseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:898:49: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:898:34: note: Assignment 'aseq=(char*)malloc((20+(std::get<2>(ladders[i][mx])-std::get<1>(ladders[i][mx])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:914:41: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:915:21: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:61: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:41: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:915:21: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:928:21: warning: If memory allocation fails, then there is a possible null pointer dereference: q_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:39: note: Assignment 'q_aln_str=(char*)malloc((5+strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:928:21: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:929:21: warning: If memory allocation fails, then there is a possible null pointer dereference: t_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:39: note: Assignment 't_aln_str=(char*)malloc((5+strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:929:21: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:932:52: warning: If memory allocation fails, then there is a possible null pointer dereference: q_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:39: note: Assignment 'q_aln_str=(char*)malloc((5+strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:932:52: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:933:52: warning: If memory allocation fails, then there is a possible null pointer dereference: t_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:39: note: Assignment 't_aln_str=(char*)malloc((5+strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:933:52: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:937:21: warning: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:891:53: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:891:29: note: Assignment 'tags_list=(align_tags_t**)calloc(seq_count,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:937:21: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:967:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:891:53: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:891:29: note: Assignment 'tags_list=(align_tags_t**)calloc(seq_count,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:967:37: note: Null pointer dereference HINGE-0.5.0/src/consensus/draft_chopper.cpp:926:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:39: note: Assignment 'q_aln_str=(char*)malloc((5+strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:926:38: note: Null pointer addition HINGE-0.5.0/src/consensus/draft_chopper.cpp:927:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:39: note: Assignment 't_aln_str=(char*)malloc((5+strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:927:38: note: Null pointer addition HINGE-0.5.0/src/consensus/draft_chopper.cpp:44:15: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:45:15: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:208:22: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:891:29: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:898:34: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:900:34: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:910:41: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:39: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:39: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/consensus/draft_chopper.cpp:423:17: style: The scope of the variable 'w' can be reduced. [variableScope] HINGE-0.5.0/src/consensus/draft_chopper.cpp:51:42: performance: Function parameter 'aln_tag1' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/consensus/draft_chopper.cpp:51:64: performance: Function parameter 'aln_tag2' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/consensus/draft_chopper.cpp:117:33: style: Parameter 'ovl1' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:117:50: style: Parameter 'ovl2' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:125:40: style: Parameter 'ovl1' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:125:57: style: Parameter 'ovl2' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:130:39: style: Parameter 'ovl1' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:130:56: style: Parameter 'ovl2' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:134:39: style: Parameter 'ovl1' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:134:56: style: Parameter 'ovl2' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:559:23: style: Variable 'currentaln' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/consensus/draft_chopper.cpp:494:27: style: Variable 'found' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:594:26: style: Variable 'next_seq' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:596:26: style: Variable 'next_seq' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:885:34: style: Variable 'base' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:166:17: style: Variable 'path_name' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:170:17: style: Variable 'name_mask' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:173:17: style: Variable 'name_rep' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:174:17: style: Variable 'name_hg' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:175:17: style: Variable 'name_cov' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:189:10: style: Variable 'delete_telomere' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:306:9: style: Variable 'NUM_EVENTS_TELOMERE' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:312:9: style: Variable 'EDGE_TRIM' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:315:9: style: Variable 'STEP' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:335:35: style: Unused variable: edgelist_ms [unusedVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:680:13: style: Variable 'nlane' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:693:13: style: Variable 'currentlane' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:699:14: style: Variable 'revert' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/consensus/draft_chopper.cpp:885:29: style: Variable 'base' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/falcon.c:80:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tags [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assignment 'tags=calloc(1,sizeof(align_tags_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:80:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:81:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tags [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assignment 'tags=calloc(1,sizeof(align_tags_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:81:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:82:9: warning: If memory allocation fails, then there is a possible null pointer dereference: range [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:670:74: note: Calling function 'get_align_tags', 4th argument 'arange' value is 0 HINGE-0.5.0/src/lib/falcon.c:82:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:83:9: warning: If memory allocation fails, then there is a possible null pointer dereference: range [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:670:74: note: Calling function 'get_align_tags', 4th argument 'arange' value is 0 HINGE-0.5.0/src/lib/falcon.c:83:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tags [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assignment 'tags=calloc(1,sizeof(align_tags_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:117:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:118:6: warning: If memory allocation fails, then there is a possible null pointer dereference: tags [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assignment 'tags=calloc(1,sizeof(align_tags_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:118:6: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:119:6: warning: If memory allocation fails, then there is a possible null pointer dereference: tags [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assignment 'tags=calloc(1,sizeof(align_tags_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:119:6: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:120:6: warning: If memory allocation fails, then there is a possible null pointer dereference: tags [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assignment 'tags=calloc(1,sizeof(align_tags_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:120:6: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:121:6: warning: If memory allocation fails, then there is a possible null pointer dereference: tags [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:79:18: note: Assignment 'tags=calloc(1,sizeof(align_tags_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:121:6: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:155:5: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assignment 'msa_array[i]=calloc(1,sizeof(msa_delta_group_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:234:39: note: Calling function 'allocate_delta_group', 1st argument 'msa_array[i]' value is 0 HINGE-0.5.0/src/lib/falcon.c:155:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:156:5: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assignment 'msa_array[i]=calloc(1,sizeof(msa_delta_group_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:234:39: note: Calling function 'allocate_delta_group', 1st argument 'msa_array[i]' value is 0 HINGE-0.5.0/src/lib/falcon.c:156:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:156:45: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assignment 'msa_array[i]=calloc(1,sizeof(msa_delta_group_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:234:39: note: Calling function 'allocate_delta_group', 1st argument 'msa_array[i]' value is 0 HINGE-0.5.0/src/lib/falcon.c:156:45: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:157:20: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assignment 'msa_array[i]=calloc(1,sizeof(msa_delta_group_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:234:39: note: Calling function 'allocate_delta_group', 1st argument 'msa_array[i]' value is 0 HINGE-0.5.0/src/lib/falcon.c:157:20: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:158:9: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assignment 'msa_array[i]=calloc(1,sizeof(msa_delta_group_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:234:39: note: Calling function 'allocate_delta_group', 1st argument 'msa_array[i]' value is 0 HINGE-0.5.0/src/lib/falcon.c:158:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:160:14: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assignment 'msa_array[i]=calloc(1,sizeof(msa_delta_group_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:234:39: note: Calling function 'allocate_delta_group', 1st argument 'msa_array[i]' value is 0 HINGE-0.5.0/src/lib/falcon.c:160:14: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:232:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msa_array [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:230:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:230:23: note: Assignment 'msa_array=calloc(max_t_len,sizeof(msa_pos_t*))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:232:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:233:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msa_array [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:230:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:230:23: note: Assignment 'msa_array=calloc(max_t_len,sizeof(msa_pos_t*))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:233:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:234:30: warning: If memory allocation fails, then there is a possible null pointer dereference: msa_array [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:230:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:230:23: note: Assignment 'msa_array=calloc(max_t_len,sizeof(msa_pos_t*))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:234:30: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:450:5: warning: If memory allocation fails, then there is a possible null pointer dereference: consensus [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:449:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:449:23: note: Assignment 'consensus=calloc(1,sizeof(consensus_data))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:450:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:451:5: warning: If memory allocation fails, then there is a possible null pointer dereference: consensus [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:449:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:449:23: note: Assignment 'consensus=calloc(1,sizeof(consensus_data))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:451:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:452:15: warning: If memory allocation fails, then there is a possible null pointer dereference: consensus [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:449:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:449:23: note: Assignment 'consensus=calloc(1,sizeof(consensus_data))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:452:15: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:453:12: warning: If memory allocation fails, then there is a possible null pointer dereference: consensus [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:449:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:449:23: note: Assignment 'consensus=calloc(1,sizeof(consensus_data))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:453:12: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:618:9: warning: If memory allocation fails, then there is a possible null pointer dereference: consensus [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:617:27: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:617:27: note: Assignment 'consensus=calloc(1,sizeof(consensus_data))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:618:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:619:9: warning: If memory allocation fails, then there is a possible null pointer dereference: consensus [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:617:27: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:617:27: note: Assignment 'consensus=calloc(1,sizeof(consensus_data))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:619:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:665:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:665:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:666:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:666:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:667:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:667:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:668:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:668:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:669:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:660:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:660:23: note: Assignment 'tags_list=calloc(seq_count+1,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:669:5: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:673:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:673:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:674:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:674:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:675:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:675:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:676:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:663:20: note: Assignment 'arange=calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:676:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:728:9: warning: If memory allocation fails, then there is a possible null pointer dereference: consensus [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:727:27: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:727:27: note: Assignment 'consensus=calloc(1,sizeof(consensus_data))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:728:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:729:9: warning: If memory allocation fails, then there is a possible null pointer dereference: consensus [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:727:27: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:727:27: note: Assignment 'consensus=calloc(1,sizeof(consensus_data))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:729:9: note: Null pointer dereference HINGE-0.5.0/src/lib/falcon.c:69:39: style: Parameter 'aln_q_seq' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/falcon.c:70:39: style: Parameter 'aln_t_seq' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/falcon.c:72:44: style: Parameter 'range' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/falcon.c:347:23: style: Variable 'g_best_aln_col' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/falcon.c:230:5: warning: Size of pointer 'msa_array' used instead of size of its data. [pointerSize] HINGE-0.5.0/src/lib/ini.c:86:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INI_MAX_LINE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:75:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kmer_lookup [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:84:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:97:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:114:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable seq_addr [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:177:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:198:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:220:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kmer_match [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:313:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aln_range [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/kmer_lookup.c:448:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aln_range [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/ini.c:130:35: style: Condition '*start!=';'' is always true [knownConditionTrueFalse] HINGE-0.5.0/src/lib/paf.c:32:1: error: There is an unknown macro here somewhere. Configuration is required. If KSTREAM_INIT is a macro then please configure it. [unknownMacro] HINGE-0.5.0/src/lib/kmer_lookup.c:84:9: warning: If memory allocation fails, then there is a possible null pointer dereference: kl [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:75:33: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:75:10: note: Assignment 'kl=(kmer_lookup*)malloc(size*sizeof(kmer_lookup))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:76:23: note: Calling function 'init_kmer_lookup', 1st argument 'kl' value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:84:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:85:9: warning: If memory allocation fails, then there is a possible null pointer dereference: kl [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:75:33: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:75:10: note: Assignment 'kl=(kmer_lookup*)malloc(size*sizeof(kmer_lookup))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:76:23: note: Calling function 'init_kmer_lookup', 1st argument 'kl' value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:85:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:86:9: warning: If memory allocation fails, then there is a possible null pointer dereference: kl [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:75:33: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:75:10: note: Assignment 'kl=(kmer_lookup*)malloc(size*sizeof(kmer_lookup))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:76:23: note: Calling function 'init_kmer_lookup', 1st argument 'kl' value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:86:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:221:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kmer_match_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:220:43: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:220:22: note: Assignment 'kmer_match_rtn=(kmer_match*)malloc(sizeof(kmer_match))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:221:5: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:222:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kmer_match_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:220:43: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:220:22: note: Assignment 'kmer_match_rtn=(kmer_match*)malloc(sizeof(kmer_match))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:222:5: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:223:5: warning: If memory allocation fails, then there is a possible null pointer dereference: kmer_match_rtn [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:220:43: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:220:22: note: Assignment 'kmer_match_rtn=(kmer_match*)malloc(sizeof(kmer_match))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:223:5: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:352:9: warning: If memory allocation fails, then there is a possible null pointer dereference: d_count [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:346:21: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:346:21: note: Assignment 'd_count=calloc((d_max-d_min)/bin_size+1,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:352:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:353:9: warning: If memory allocation fails, then there is a possible null pointer dereference: q_coor [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:347:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:347:20: note: Assignment 'q_coor=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:353:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:354:9: warning: If memory allocation fails, then there is a possible null pointer dereference: t_coor [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:348:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:348:20: note: Assignment 't_coor=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:354:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:362:14: warning: If memory allocation fails, then there is a possible null pointer dereference: d_count [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:346:21: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:346:21: note: Assignment 'd_count=calloc((d_max-d_min)/bin_size+1,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:362:14: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:456:9: warning: If memory allocation fails, then there is a possible null pointer dereference: d_coor [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assignment 'd_coor=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:456:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:462:11: warning: If memory allocation fails, then there is a possible null pointer dereference: d_coor [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assignment 'd_coor=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:462:11: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:475:15: warning: If memory allocation fails, then there is a possible null pointer dereference: d_coor [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assignment 'd_coor=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:475:15: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:476:15: warning: If memory allocation fails, then there is a possible null pointer dereference: d_coor [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assignment 'd_coor=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:476:15: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:479:19: warning: If memory allocation fails, then there is a possible null pointer dereference: d_coor [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:450:20: note: Assignment 'd_coor=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:479:19: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:507:9: warning: If memory allocation fails, then there is a possible null pointer dereference: last_hit [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:502:22: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:502:22: note: Assignment 'last_hit=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:507:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:508:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hit_score [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:503:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:503:23: note: Assignment 'hit_score=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:508:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:509:9: warning: If memory allocation fails, then there is a possible null pointer dereference: hit_count [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/kmer_lookup.c:504:23: note: Assuming allocation function fails HINGE-0.5.0/src/lib/kmer_lookup.c:504:23: note: Assignment 'hit_count=calloc(km_ptr->count,sizeof(seq_coor_t))', assigned value is 0 HINGE-0.5.0/src/lib/kmer_lookup.c:509:9: note: Null pointer dereference HINGE-0.5.0/src/lib/kmer_lookup.c:142:28: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/kmer_lookup.c:207:44: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/kmer_lookup.c:250:13: style: Variable 'kmer_bv' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:528:17: style: The scope of the variable 'containing_read' can be reduced. [variableScope] HINGE-0.5.0/src/layout/hinging.cpp:895:13: style: The scope of the variable 'r1' can be reduced. [variableScope] HINGE-0.5.0/src/layout/hinging.cpp:895:21: style: The scope of the variable 'r2' can be reduced. [variableScope] HINGE-0.5.0/src/layout/hinging.cpp:925:13: style: The scope of the variable 'r1' can be reduced. [variableScope] HINGE-0.5.0/src/layout/hinging.cpp:925:21: style: The scope of the variable 'r2' can be reduced. [variableScope] HINGE-0.5.0/src/layout/hinging.cpp:1666:14: style: Local variable 'i' shadows outer variable [shadowVariable] HINGE-0.5.0/src/layout/hinging.cpp:1647:33: note: Shadowed declaration HINGE-0.5.0/src/layout/hinging.cpp:1666:14: note: Shadow variable HINGE-0.5.0/src/layout/hinging.cpp:1696:14: style: Local variable 'i' shadows outer variable [shadowVariable] HINGE-0.5.0/src/layout/hinging.cpp:1647:33: note: Shadowed declaration HINGE-0.5.0/src/layout/hinging.cpp:1696:14: note: Shadow variable HINGE-0.5.0/src/layout/hinging.cpp:1712:14: style: Local variable 'i' shadows outer variable [shadowVariable] HINGE-0.5.0/src/layout/hinging.cpp:1647:33: note: Shadowed declaration HINGE-0.5.0/src/layout/hinging.cpp:1712:14: note: Shadow variable HINGE-0.5.0/src/layout/hinging.cpp:1714:14: style: Local variable 'out' shadows outer variable [shadowVariable] HINGE-0.5.0/src/layout/hinging.cpp:646:17: note: Shadowed declaration HINGE-0.5.0/src/layout/hinging.cpp:1714:14: note: Shadow variable HINGE-0.5.0/src/layout/hinging.cpp:1724:14: style: Local variable 'i' shadows outer variable [shadowVariable] HINGE-0.5.0/src/layout/hinging.cpp:1647:33: note: Shadowed declaration HINGE-0.5.0/src/layout/hinging.cpp:1724:14: note: Shadow variable HINGE-0.5.0/src/layout/hinging.cpp:1868:14: style: Local variable 'i' shadows outer variable [shadowVariable] HINGE-0.5.0/src/layout/hinging.cpp:1647:33: note: Shadowed declaration HINGE-0.5.0/src/layout/hinging.cpp:1868:14: note: Shadow variable HINGE-0.5.0/src/layout/hinging.cpp:1911:14: style: Local variable 'i' shadows outer variable [shadowVariable] HINGE-0.5.0/src/layout/hinging.cpp:1647:33: note: Shadowed declaration HINGE-0.5.0/src/layout/hinging.cpp:1911:14: note: Shadow variable HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/layout/hinging.cpp:41:31: performance: Function parameter 'input' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/layout/hinging.cpp:345:60: style: Parameter 'reads' can be declared as reference to const [constParameterReference] HINGE-0.5.0/src/layout/hinging.cpp:76:48: style: Parameter 'read_A' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/layout/hinging.cpp:76:63: style: Parameter 'read_B' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/layout/hinging.cpp:186:57: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/layout/hinging.cpp:251:58: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/layout/hinging.cpp:1360:12: style: Variable 'OverlapDebugFile' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/layout/hinging.cpp:463:17: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/layout/hinging.cpp:948:31: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/layout/hinging.cpp:1002:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/layout/hinging.cpp:1009:31: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/layout/hinging.cpp:1332:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:33: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:14: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:82:5: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:33: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:14: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:83:5: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:84:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:33: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:14: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:84:5: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:85:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:33: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:14: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:85:5: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:88:12: warning: If memory allocation fails, then there is a possible null pointer dereference: seq [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:87:33: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:87:18: note: Assignment 'seq=(char*)malloc(base_structure.size()*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:88:12: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:72:41: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:72:17: note: Assignment 'tags_list=(align_tags_t**)calloc(seq_count+1,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:90:5: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:92:45: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: seq [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:87:33: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:87:18: note: Assignment 'seq=(char*)malloc(base_structure.size()*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:92:45: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:111:16: warning: If memory allocation fails, then there is a possible null pointer dereference: q_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:109:43: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:109:28: note: Assignment 'q_aln_str=(char*)malloc(alignment.second.size()*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:111:16: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:112:16: warning: If memory allocation fails, then there is a possible null pointer dereference: t_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:108:43: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:108:28: note: Assignment 't_aln_str=(char*)malloc(alignment.first.size()*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:112:16: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:114:42: warning: If memory allocation fails, then there is a possible null pointer dereference: q_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:109:43: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:109:28: note: Assignment 'q_aln_str=(char*)malloc(alignment.second.size()*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:114:42: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:117:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:37: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:18: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:117:9: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:118:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:37: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:18: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:118:9: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:119:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:37: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:18: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:119:9: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:120:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:37: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:18: note: Assignment 'arange=(aln_range*)calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:120:9: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:122:9: warning: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:72:41: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:72:17: note: Assignment 'tags_list=(align_tags_t**)calloc(seq_count+1,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:122:9: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:136:73: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: seq [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:87:33: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:87:18: note: Assignment 'seq=(char*)malloc(base_structure.size()*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:136:73: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:142:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:72:41: note: Assuming allocation function fails HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:72:17: note: Assignment 'tags_list=(align_tags_t**)calloc(seq_count+1,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:142:25: note: Null pointer dereference HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:25:15: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:26:15: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:72:17: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:81:14: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:87:18: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:108:28: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:109:28: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:116:18: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:115:21: style: Local variable 'arange' shadows outer variable [shadowVariable] HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:80:17: note: Shadowed declaration HINGE-0.5.0/src/test/LAInterface_consensus_test.cpp:115:21: note: Shadow variable HINGE-0.5.0/src/test/LAInterface_test.cpp:29:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/test/LAInterface_test.cpp:22:15: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_test.cpp:23:15: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/layout/hinging.cpp:254:9: style: Unused variable: hinged [unusedVariable] HINGE-0.5.0/src/layout/hinging.cpp:549:41: style: Variable 'containing_read' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:579:41: style: Variable 'containing_read' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:656:26: style: Variable 'name_cov' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:658:32: style: Variable 'name_contained' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:895:16: style: Variable 'r1' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:895:24: style: Variable 'r2' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:925:16: style: Variable 'r1' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:925:24: style: Variable 'r2' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1019:37: style: Variable 'rev_complemented_fwd_matches' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1019:70: style: Variable 'rev_complemented_bck_matches' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1019:107: style: Variable 'rev_complemented_fwd_int_matches' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1020:45: style: Variable 'rev_complemented_bck_int_matches' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1029:54: style: Variable 'rev_complemented_fwd_matches' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1033:58: style: Variable 'rev_complemented_fwd_int_matches' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1045:54: style: Variable 'rev_complemented_bck_matches' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/test/LAInterface_test_2DB.cpp:27:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/layout/hinging.cpp:1049:58: style: Variable 'rev_complemented_bck_int_matches' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1270:25: style: Variable 'forward' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1271:26: style: Variable 'backward' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/test/LAInterface_test_2DB.cpp:20:15: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/test/LAInterface_test_2DB.cpp:21:15: style: C-style pointer casting [cstyleCast] HINGE-0.5.0/src/layout/hinging.cpp:1361:22: style: Variable 'OverlapDebugFile' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1689:41: style: Variable 'component_sink[component[i]]' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:656:17: style: Variable 'name_cov' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:658:17: style: Variable 'name_contained' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:831:25: style: Unused variable: edgelist [unusedVariable] HINGE-0.5.0/src/layout/hinging.cpp:831:35: style: Unused variable: edgelist_ms [unusedVariable] HINGE-0.5.0/src/layout/hinging.cpp:1270:17: style: Variable 'forward' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:1271:17: style: Variable 'backward' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/layout/hinging.cpp:531:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] HINGE-0.5.0/src/test/omp_test.c:10:27: style: Parameter 'argv' can be declared as const array [constParameter] HINGE-0.5.0/src/maximal/maximal.cpp:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/maximal/maximal.cpp:115:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOT_ACTIVE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/maximal/maximal.cpp:149:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare_overlap_abpos [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/maximal/maximal.cpp:184:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compare_overlap_abpos [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/maximal/maximal.cpp:226:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/maximal/maximal.cpp:238:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/QV.c:902:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] HINGE-0.5.0/src/lib/QV.c:903:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] HINGE-0.5.0/src/lib/QV.c:904:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] HINGE-0.5.0/src/lib/QV.c:905:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] HINGE-0.5.0/src/lib/QV.c:934:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] HINGE-0.5.0/src/lib/QV.c:79:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:184:33: style: Parameter 'hist' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:184:48: style: Parameter 'inscheme' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:340:11: style: Variable 'bits' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:423:55: style: Parameter 'read' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:426:11: style: Variable 'nlens' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:427:11: style: Variable 'nbits' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:485:72: style: Parameter 'read' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:488:11: style: Variable 'nlens' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:488:19: style: Variable 'rlens' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:489:11: style: Variable 'nbits' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:489:19: style: Variable 'rbits' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:548:11: style: Variable 'look' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:548:18: style: Variable 'lens' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:552:11: style: Variable 'xpart' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:553:11: style: Variable 'cpart' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:643:11: style: Variable 'nlook' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:643:19: style: Variable 'nlens' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:644:11: style: Variable 'rlook' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:644:19: style: Variable 'rlens' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:648:11: style: Variable 'xpart' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:649:11: style: Variable 'cpart' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:739:49: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:746:48: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:841:39: style: Parameter 'qvs' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:854:32: style: Parameter 'qvs' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:868:52: style: Parameter 'qvs' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/QV.c:897:9: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/QV.c:960:17: style: Variable 'del' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/filter/filter.cpp:492:30: style: The if condition is the same as the previous if condition [duplicateCondition] HINGE-0.5.0/src/filter/filter.cpp:485:30: note: First condition HINGE-0.5.0/src/filter/filter.cpp:492:30: note: Second condition HINGE-0.5.0/src/filter/filter.cpp:552:19: style: Local variable 'cov' shadows outer variable [shadowVariable] HINGE-0.5.0/src/filter/filter.cpp:447:19: note: Shadowed declaration HINGE-0.5.0/src/filter/filter.cpp:552:19: note: Shadow variable HINGE-0.5.0/src/filter/filter.cpp:28:31: performance: Function parameter 'input' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/filter/filter.cpp:134:56: performance: Function parameter 'ovl_reads' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/filter/filter.cpp:128:23: style: Parameter 'ovl' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/filter/filter.cpp:539:89: performance: Searching before insertion is not necessary. Instead of 'self_aln_list[aln[i]->read_A_id_]=std::vector>()' consider using 'self_aln_list.try_emplace(aln[i]->read_A_id_, std::vector>());'. [stlFindInsert] HINGE-0.5.0/src/filter/filter.cpp:892:29: error: Uninitialized variable: right_overhang [legacyUninitvar] HINGE-0.5.0/src/filter/filter.cpp:989:29: error: Uninitialized variable: left_overhang [legacyUninitvar] HINGE-0.5.0/src/filter/filter.cpp:135:27: style: Variable 'num_bridging_reads' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/filter/filter.cpp:135:9: style: Variable 'num_bridging_reads' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/filter/filter.cpp:870:25: style: Variable 'num_reads_at_end' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/filter/filter.cpp:969:25: style: Variable 'num_reads_at_end' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/filter/filter.cpp:576:124: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] HINGE-0.5.0/src/filter/filter.cpp:684:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] HINGE-0.5.0/src/filter/filter.cpp:824:28: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] HINGE-0.5.0/src/filter/filter.cpp:825:24: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] HINGE-0.5.0/src/maximal/maximal.cpp:28:31: performance: Function parameter 'input' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/maximal/maximal.cpp:204:56: performance: Function parameter 'ovl_reads' should be passed by const reference. [passedByValue] HINGE-0.5.0/src/maximal/maximal.cpp:63:48: style: Parameter 'read_A' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/maximal/maximal.cpp:63:63: style: Parameter 'read_B' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/maximal/maximal.cpp:198:23: style: Parameter 'ovl' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/maximal/maximal.cpp:534:31: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/maximal/maximal.cpp:881:35: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] HINGE-0.5.0/src/maximal/maximal.cpp:205:27: style: Variable 'num_bridging_reads' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/maximal/maximal.cpp:205:9: style: Variable 'num_bridging_reads' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/maximal/maximal.cpp:858:33: style: Variable 'num_forward_overlaps' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/maximal/maximal.cpp:858:67: style: Variable 'num_forward_internal_overlaps' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/maximal/maximal.cpp:858:92: style: Variable 'num_reverse_overlaps' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/maximal/maximal.cpp:859:46: style: Variable 'num_reverse_internal_overlaps' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/maximal/maximal.cpp:512:64: style: Unused variable: hinges [unusedVariable] HINGE-0.5.0/src/maximal/maximal.cpp:647:124: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] HINGE-0.5.0/src/maximal/maximal.cpp:755:45: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] HINGE-0.5.0/src/maximal/maximal.cpp:788:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] HINGE-0.5.0/src/lib/align.c:258:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:658:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint64 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:1321:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint64 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:1778:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint16 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:2135:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint64 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:2648:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint64 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:2973:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint16 [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:3129:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:4205:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:4534:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPLACE [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:4826:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GREEDIEST [valueFlowBailoutIncompleteVar] HINGE-0.5.0/src/lib/align.c:618:33: style: Condition 'enlarge_vector(work,vlen*VectorEl)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:618:33: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:618:33: note: Condition 'enlarge_vector(work,vlen*VectorEl)' is always false HINGE-0.5.0/src/lib/align.c:1281:33: style: Condition 'enlarge_vector(work,vlen*VectorEl)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:1281:33: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:1281:33: note: Condition 'enlarge_vector(work,vlen*VectorEl)' is always false HINGE-0.5.0/src/lib/align.c:1771:25: style: Condition 'enlarge_vector(work,wsize)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:1771:25: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:1771:25: note: Condition 'enlarge_vector(work,wsize)' is always false HINGE-0.5.0/src/lib/align.c:1780:25: style: Condition 'enlarge_points(work,wsize)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:1780:25: note: Calling function 'enlarge_points' returns 0 HINGE-0.5.0/src/lib/align.c:1780:25: note: Condition 'enlarge_points(work,wsize)' is always false HINGE-0.5.0/src/lib/align.c:1813:19: style: Condition 'forward_wave(work,spec,align,bpath,&low,hgh,anti,minp,maxp)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:1813:19: note: Calling function 'forward_wave' returns 0 HINGE-0.5.0/src/lib/align.c:1813:19: note: Condition 'forward_wave(work,spec,align,bpath,&low,hgh,anti,minp,maxp)' is always false HINGE-0.5.0/src/lib/align.c:1822:19: style: Condition 'reverse_wave(work,spec,align,bpath,low,low,anti,minp,maxp)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:1822:19: note: Calling function 'reverse_wave' returns 0 HINGE-0.5.0/src/lib/align.c:1822:19: note: Condition 'reverse_wave(work,spec,align,bpath,low,low,anti,minp,maxp)' is always false HINGE-0.5.0/src/lib/align.c:2103:33: style: Condition 'enlarge_vector(work,vlen*VectorEn)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:2103:33: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:2103:33: note: Condition 'enlarge_vector(work,vlen*VectorEn)' is always false HINGE-0.5.0/src/lib/align.c:2616:33: style: Condition 'enlarge_vector(work,vlen*VectorEn)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:2616:33: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:2616:33: note: Condition 'enlarge_vector(work,vlen*VectorEn)' is always false HINGE-0.5.0/src/lib/align.c:2966:25: style: Condition 'enlarge_vector(work,wsize)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:2966:25: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:2966:25: note: Condition 'enlarge_vector(work,wsize)' is always false HINGE-0.5.0/src/lib/align.c:2975:25: style: Condition 'enlarge_points(work,wsize)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:2975:25: note: Calling function 'enlarge_points' returns 0 HINGE-0.5.0/src/lib/align.c:2975:25: note: Condition 'enlarge_points(work,wsize)' is always false HINGE-0.5.0/src/lib/align.c:2996:25: style: Condition 'reverse_extend(work,spec,align,diag,anti,minp,maxp)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:2996:25: note: Calling function 'reverse_extend' returns 0 HINGE-0.5.0/src/lib/align.c:2996:25: note: Condition 'reverse_extend(work,spec,align,diag,anti,minp,maxp)' is always false HINGE-0.5.0/src/lib/align.c:3006:25: style: Condition 'forward_extend(work,spec,align,diag,anti,minp,maxp)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:3006:25: note: Calling function 'forward_extend' returns 0 HINGE-0.5.0/src/lib/align.c:3006:25: note: Condition 'forward_extend(work,spec,align,diag,anti,minp,maxp)' is always false HINGE-0.5.0/src/lib/align.c:3275:23: style: Condition 'enlarge_vector(work,o)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:3275:23: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:3275:23: note: Condition 'enlarge_vector(work,o)' is always false HINGE-0.5.0/src/lib/align.c:3517:25: style: Condition 'enlarge_vector(work,3*o)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:3517:25: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:3517:25: note: Condition 'enlarge_vector(work,3*o)' is always false HINGE-0.5.0/src/lib/align.c:4126:22: style: Condition 'enlarge_trace(work,L)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:4126:22: note: Calling function 'enlarge_trace' returns 0 HINGE-0.5.0/src/lib/align.c:4126:22: note: Condition 'enlarge_trace(work,L)' is always false HINGE-0.5.0/src/lib/align.c:4133:23: style: Condition 'enlarge_vector(work,D)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:4133:23: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:4133:23: note: Condition 'enlarge_vector(work,D)' is always false HINGE-0.5.0/src/lib/align.c:4796:24: style: Condition 'enlarge_trace(work,s)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:4796:24: note: Calling function 'enlarge_trace' returns 0 HINGE-0.5.0/src/lib/align.c:4796:24: note: Condition 'enlarge_trace(work,s)' is always false HINGE-0.5.0/src/lib/align.c:4807:25: style: Condition 'enlarge_vector(work,s)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:4807:25: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:4807:25: note: Condition 'enlarge_vector(work,s)' is always false HINGE-0.5.0/src/lib/align.c:4867:24: style: Condition 'enlarge_trace(work,s)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:4867:24: note: Calling function 'enlarge_trace' returns 0 HINGE-0.5.0/src/lib/align.c:4867:24: note: Condition 'enlarge_trace(work,s)' is always false HINGE-0.5.0/src/lib/align.c:4884:25: style: Condition 'enlarge_vector(work,s)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:4884:25: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:4884:25: note: Condition 'enlarge_vector(work,s)' is always false HINGE-0.5.0/src/lib/align.c:4966:24: style: Condition 'enlarge_trace(work,s)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:4966:24: note: Calling function 'enlarge_trace' returns 0 HINGE-0.5.0/src/lib/align.c:4966:24: note: Condition 'enlarge_trace(work,s)' is always false HINGE-0.5.0/src/lib/align.c:4983:25: style: Condition 'enlarge_vector(work,s)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:4983:25: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:4983:25: note: Condition 'enlarge_vector(work,s)' is always false HINGE-0.5.0/src/lib/align.c:5014:22: style: Condition 'middle_np(aseq+ab,ae-ab,bseq+bb,be-bb,&wave,mode)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:5014:22: note: Calling function 'middle_np' returns 0 HINGE-0.5.0/src/lib/align.c:5014:22: note: Condition 'middle_np(aseq+ab,ae-ab,bseq+bb,be-bb,&wave,mode)' is always false HINGE-0.5.0/src/lib/align.c:5031:18: style: Condition 'middle_np(aseq+ab,ae-ab,bseq+bb,be-bb,&wave,mode)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:5031:18: note: Calling function 'middle_np' returns 0 HINGE-0.5.0/src/lib/align.c:5031:18: note: Condition 'middle_np(aseq+ab,ae-ab,bseq+bb,be-bb,&wave,mode)' is always false HINGE-0.5.0/src/lib/align.c:5086:24: style: Condition 'enlarge_trace(work,s)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:5086:24: note: Calling function 'enlarge_trace' returns 0 HINGE-0.5.0/src/lib/align.c:5086:24: note: Condition 'enlarge_trace(work,s)' is always false HINGE-0.5.0/src/lib/align.c:5108:25: style: Condition 'enlarge_vector(work,s)' is always false [knownConditionTrueFalse] HINGE-0.5.0/src/lib/align.c:5108:25: note: Calling function 'enlarge_vector' returns 0 HINGE-0.5.0/src/lib/align.c:5108:25: note: Condition 'enlarge_vector(work,s)' is always false HINGE-0.5.0/src/lib/align.c:269:7: error: Memory pointed to by 'spec' is freed twice. [doubleFree] HINGE-0.5.0/src/lib/align.c:259:7: note: Memory pointed to by 'spec' is freed twice. HINGE-0.5.0/src/lib/align.c:269:7: note: Memory pointed to by 'spec' is freed twice. HINGE-0.5.0/src/lib/align.c:279:3: error: Returning/dereferencing 'spec' after it is deallocated / released [deallocret] HINGE-0.5.0/src/lib/align.c:259:7: note: Returning/dereferencing 'spec' after it is deallocated / released HINGE-0.5.0/src/lib/align.c:279:3: note: Returning/dereferencing 'spec' after it is deallocated / released HINGE-0.5.0/src/lib/align.c:4288:13: style: Variable 'j' is assigned an expression that holds the same value. [redundantAssignment] HINGE-0.5.0/src/lib/align.c:4287:16: note: am is assigned 'j' here. HINGE-0.5.0/src/lib/align.c:4288:13: note: Variable 'j' is assigned an expression that holds the same value. HINGE-0.5.0/src/lib/align.c:4295:9: style: Variable 'j' is assigned an expression that holds the same value. [redundantAssignment] HINGE-0.5.0/src/lib/align.c:4294:12: note: am is assigned 'j' here. HINGE-0.5.0/src/lib/align.c:4295:9: note: Variable 'j' is assigned an expression that holds the same value. HINGE-0.5.0/src/lib/align.c:4588:13: style: Variable 'j' is assigned an expression that holds the same value. [redundantAssignment] HINGE-0.5.0/src/lib/align.c:4587:16: note: am is assigned 'j' here. HINGE-0.5.0/src/lib/align.c:4588:13: note: Variable 'j' is assigned an expression that holds the same value. HINGE-0.5.0/src/lib/align.c:4595:9: style: Variable 'j' is assigned an expression that holds the same value. [redundantAssignment] HINGE-0.5.0/src/lib/align.c:4594:12: note: am is assigned 'j' here. HINGE-0.5.0/src/lib/align.c:4595:9: note: Variable 'j' is assigned an expression that holds the same value. HINGE-0.5.0/src/lib/align.c:236:69: style: Parameter 'freq' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/align.c:364:9: style: Variable 'bseq' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:383:11: style: Variable 'SCORE' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:384:11: style: Variable 'TABLE' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:1034:9: style: Variable 'bseq' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:1053:11: style: Variable 'SCORE' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:1054:11: style: Variable 'TABLE' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:1894:9: style: Variable 'bseq' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:1911:11: style: Variable 'SCORE' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:1912:11: style: Variable 'TABLE' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:2413:9: style: Variable 'bseq' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:2430:11: style: Variable 'SCORE' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:2431:11: style: Variable 'TABLE' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3076:11: style: Variable 't8' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3095:14: style: Variable 'trace' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3109:15: style: Variable 'trace' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3134:14: style: Variable 'trace8' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3139:15: style: Variable 'trace16' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3252:15: style: Variable 'trace' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3257:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3257:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3263:9: style: Variable 'N2A' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3492:15: style: Variable 'trace' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3497:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3497:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3503:9: style: Variable 'N2A' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:4107:44: style: Parameter 'align' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/align.c:4169:42: style: Parameter 'B' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/align.c:4175:21: style: Variable 'F2' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:4330:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:4396:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:4498:44: style: Parameter 'B' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/align.c:4504:21: style: Variable 'F2' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:4627:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:4691:21: style: Variable 'a' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:4836:34: style: Parameter 'align' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/align.c:4842:11: style: Variable 'points' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:4935:34: style: Parameter 'align' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/align.c:4941:11: style: Variable 'points' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:5055:34: style: Parameter 'align' can be declared as pointer to const [constParameterPointer] HINGE-0.5.0/src/lib/align.c:5061:11: style: Variable 'points' can be declared as pointer to const [constVariablePointer] HINGE-0.5.0/src/lib/align.c:3613:7: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3618:7: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3623:7: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3631:5: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3644:15: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3652:11: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3658:15: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3666:11: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3672:9: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3686:7: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3695:15: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3700:15: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3704:13: portability: 'work->vector' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] HINGE-0.5.0/src/lib/align.c:3359:7: error: Uninitialized variable: match [legacyUninitvar] HINGE-0.5.0/src/lib/align.c:3359:7: error: Uninitialized variable: diff [legacyUninitvar] HINGE-0.5.0/src/lib/align.c:3613:7: error: Uninitialized variable: match [legacyUninitvar] HINGE-0.5.0/src/lib/align.c:3613:7: error: Uninitialized variable: diff [legacyUninitvar] HINGE-0.5.0/src/lib/align.c:1951:12: style: Variable 'boff' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:1953:12: style: Variable 'boff' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:2470:12: style: Variable 'boff' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:2472:12: style: Variable 'boff' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4640:25: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4645:25: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4659:27: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4661:27: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4666:25: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4704:25: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4709:25: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4723:27: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4725:27: style: Variable 'e' is assigned a value that is never used. [unreadVariable] HINGE-0.5.0/src/lib/align.c:4730:25: style: Variable 'e' is assigned a value that is never used. [unreadVariable] diff: head HINGE-0.5.0/src/consensus/consensus.cpp:69:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head HINGE-0.5.0/src/consensus/draft.cpp:599:25: style: Variable 'base' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/consensus/draft.cpp:616:24: warning: If memory allocation fails, then there is a possible null pointer dereference: aseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:612:45: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:612:30: note: Assignment 'aseq=(char*)std::malloc((20+(std::get<2>(ladders[i][mx])-std::get<1>(ladders[i][mx])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:616:24: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:619:24: warning: If memory allocation fails, then there is a possible null pointer dereference: bseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:614:45: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:614:30: note: Assignment 'bseq=(char*)std::malloc((20+(std::get<2>(ladders[i][j])-std::get<1>(ladders[i][j])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:619:24: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:625:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:625:17: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:626:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:626:17: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:626:37: warning: If memory allocation fails, then there is a possible null pointer dereference: bseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:614:45: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:614:30: note: Assignment 'bseq=(char*)std::malloc((20+(std::get<2>(ladders[i][j])-std::get<1>(ladders[i][j])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:626:37: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:627:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:627:17: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:628:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:628:17: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:628:37: warning: If memory allocation fails, then there is a possible null pointer dereference: aseq [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:612:45: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:612:30: note: Assignment 'aseq=(char*)std::malloc((20+(std::get<2>(ladders[i][mx])-std::get<1>(ladders[i][mx])))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:628:37: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:629:17: warning: If memory allocation fails, then there is a possible null pointer dereference: arange [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:624:57: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:624:37: note: Assignment 'arange=(aln_range*)std::calloc(1,sizeof(aln_range))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:629:17: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:640:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:636:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:636:35: note: Assignment 'q_aln_str=(char*)std::malloc((5+std::strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:640:34: note: Null pointer addition head HINGE-0.5.0/src/consensus/draft.cpp:641:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:637:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:637:35: note: Assignment 't_aln_str=(char*)std::malloc((5+std::strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:641:34: note: Null pointer addition head HINGE-0.5.0/src/consensus/draft.cpp:642:17: warning: If memory allocation fails, then there is a possible null pointer dereference: q_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:636:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:636:35: note: Assignment 'q_aln_str=(char*)std::malloc((5+std::strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:642:17: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:643:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:637:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:637:35: note: Assignment 't_aln_str=(char*)std::malloc((5+std::strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:643:17: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:646:48: warning: If memory allocation fails, then there is a possible null pointer dereference: q_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:636:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:636:35: note: Assignment 'q_aln_str=(char*)std::malloc((5+std::strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:646:48: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:647:48: warning: If memory allocation fails, then there is a possible null pointer dereference: t_aln_str [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:637:50: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:637:35: note: Assignment 't_aln_str=(char*)std::malloc((5+std::strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:647:48: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:651:17: warning: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:605:49: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:605:25: note: Assignment 'tags_list=(align_tags_t**)std::calloc(seq_count,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:651:17: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:681:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tags_list [nullPointerOutOfMemory] HINGE-0.5.0/src/consensus/draft.cpp:605:49: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft.cpp:605:25: note: Assignment 'tags_list=(align_tags_t**)std::calloc(seq_count,sizeof(align_tags_t*))', assigned value is 0 HINGE-0.5.0/src/consensus/draft.cpp:681:33: note: Null pointer dereference head HINGE-0.5.0/src/consensus/draft.cpp:868:36: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] head HINGE-0.5.0/src/consensus/draft_chopper.cpp:885:29: style: Variable 'base' is assigned a value that is never used. [unreadVariable] 2.17.0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:926:38: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:39: note: Assignment 'q_aln_str=(char*)malloc((5+strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:926:38: note: Null pointer addition head HINGE-0.5.0/src/consensus/draft_chopper.cpp:926:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:922:39: note: Assignment 'q_aln_str=(char*)malloc((5+strlen(alng->q_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:926:38: note: Null pointer addition 2.17.0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:927:38: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:39: note: Assignment 't_aln_str=(char*)malloc((5+strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:927:38: note: Null pointer addition head HINGE-0.5.0/src/consensus/draft_chopper.cpp:927:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:54: note: Assuming allocation function fails HINGE-0.5.0/src/consensus/draft_chopper.cpp:923:39: note: Assignment 't_aln_str=(char*)malloc((5+strlen(alng->t_aln_str))*sizeof(char))', assigned value is 0 HINGE-0.5.0/src/consensus/draft_chopper.cpp:927:38: note: Null pointer addition head HINGE-0.5.0/src/consensus/io_base.cpp:113:17: style: Variable 'name_mask' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/consensus/io_base.cpp:116:17: style: Variable 'name_rep' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/consensus/io_base.cpp:117:17: style: Variable 'name_hg' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/consensus/io_base.cpp:118:17: style: Variable 'name_cov' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/consensus/io_base.cpp:132:10: style: Variable 'delete_telomere' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/consensus/io_base.cpp:245:9: style: Variable 'NUM_EVENTS_TELOMERE' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/filter/filter.cpp:135:9: style: Variable 'num_bridging_reads' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/layout/hinging.cpp:1002:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] head HINGE-0.5.0/src/layout/hinging.cpp:1009:31: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] head HINGE-0.5.0/src/layout/hinging.cpp:1270:17: style: Variable 'forward' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/layout/hinging.cpp:1271:17: style: Variable 'backward' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/layout/hinging.cpp:1332:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head HINGE-0.5.0/src/layout/hinging.cpp:463:17: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] head HINGE-0.5.0/src/layout/hinging.cpp:656:17: style: Variable 'name_cov' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/layout/hinging.cpp:658:17: style: Variable 'name_contained' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/layout/hinging.cpp:948:31: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] 2.17.0 HINGE-0.5.0/src/lib/DB.c:1637:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 HINGE-0.5.0/src/lib/DB.c:1668:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head HINGE-0.5.0/src/lib/falcon.c:156:45: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assuming allocation function fails HINGE-0.5.0/src/lib/falcon.c:232:30: note: Assignment 'msa_array[i]=calloc(1,sizeof(msa_delta_group_t))', assigned value is 0 HINGE-0.5.0/src/lib/falcon.c:234:39: note: Calling function 'allocate_delta_group', 1st argument 'msa_array[i]' value is 0 HINGE-0.5.0/src/lib/falcon.c:156:45: note: Null pointer dereference head HINGE-0.5.0/src/maximal/maximal.cpp:205:9: style: Variable 'num_bridging_reads' is assigned a value that is never used. [unreadVariable] head HINGE-0.5.0/src/maximal/maximal.cpp:534:31: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] head HINGE-0.5.0/src/maximal/maximal.cpp:881:35: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] DONE