2025-07-11 08:09 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-timereg/r-cran-timereg_2.0.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 1015 1011 elapsed-time: 8.6 8.8 head-timing-info: old-timing-info: head results: timereg/src/aalen.c:475:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] timereg/src/aalenC.c:36:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalenC.c:140:66: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalenC.c:142:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalenC.c:7:50: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:7:63: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:7:94: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:7:108: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:8:28: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:8:49: style: Parameter 'retur' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:8:114: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:9:38: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:9:60: style: Parameter 'robust' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:9:72: style: Parameter 'covariance' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:9:101: style: Parameter 'resample' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:10:26: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/aalenC.c:10:70: style: Parameter 'silent' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:14:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:15:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:16:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:18:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:19:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:22:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:23:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:24:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:101:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:103:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:118:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:119:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:120:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:122:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:123:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:126:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:127:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:128:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:234:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:236:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:250:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:251:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:252:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:254:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:255:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:258:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:259:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:260:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:363:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:365:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/additive-compSs.c:5:21: style: Parameter 'alltimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:35: style: Parameter 'Nalltimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:50: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:65: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:78: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:86: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:97: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:110: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:118: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:126: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:142: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:156: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:166: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:174: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:186: style: Parameter 'deltaweight' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:5:234: style: Parameter 'silent' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:24: style: Parameter 'alltimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:38: style: Parameter 'Nalltimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:53: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:68: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:81: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:89: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:100: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:113: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:121: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:129: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:145: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:159: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:169: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:177: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:189: style: Parameter 'deltaweight' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:107:237: style: Parameter 'silent' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:28: style: Parameter 'alltimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:42: style: Parameter 'Nalltimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:57: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:72: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:85: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:93: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:104: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:117: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:125: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:133: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:149: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:163: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:173: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:181: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:193: style: Parameter 'deltaweight' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:240:241: style: Parameter 'silent' can be declared as pointer to const [constParameterPointer] timereg/src/additive-compSs.c:10:27: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/additive-compSs.c:114:33: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/additive-compSs.c:246:33: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/additive-compSs.c:267:19: style: Variable 'sstop' is assigned a value that is never used. [unreadVariable] timereg/src/aalen.c:129:29: style:inconclusive: Boolean expression 'stop[ci]1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/aalen.c:392:33: style:inconclusive: Boolean expression 'status[ci]==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/aalen.c:482:17: style:inconclusive: Boolean expression '*mof==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/aalen.c:517:29: style:inconclusive: Boolean expression 'stop[ci]1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/aalen.c:550:34: style:inconclusive: Boolean expression 'status[ci]==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/aalen.c:340:13: style: The if condition is the same as the previous if condition [duplicateCondition] timereg/src/aalen.c:339:13: note: First condition timereg/src/aalen.c:340:13: note: Second condition timereg/src/aalen.c:342:13: style: The if condition is the same as the previous if condition [duplicateCondition] timereg/src/aalen.c:341:13: note: First condition timereg/src/aalen.c:342:13: note: Second condition timereg/src/aalen.c:504:11: style: The if condition is the same as the previous if condition [duplicateCondition] timereg/src/aalen.c:503:11: note: First condition timereg/src/aalen.c:504:11: note: Second condition timereg/src/aalen.c:506:11: style: The if condition is the same as the previous if condition [duplicateCondition] timereg/src/aalen.c:505:11: note: First condition timereg/src/aalen.c:506:11: note: Second condition timereg/src/aalen.c:559:17: style: The if condition is the same as the previous if condition [duplicateCondition] timereg/src/aalen.c:558:17: note: First condition timereg/src/aalen.c:559:17: note: Second condition timereg/src/aalen.c:91:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:92:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:93:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:244:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:245:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:281:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:282:99: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:283:63: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:286:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:287:80: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:288:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:725:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:727:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:728:80: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:729:69: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:731:85: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:732:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:733:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/aalen.c:22:20: style: Parameter 'times' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:22:31: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:22:46: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:22:59: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:22:74: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:22:90: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:22:104: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:22:137: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:71:49: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:71:62: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:71:77: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:71:93: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:71:107: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:72:28: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:72:49: style: Parameter 'retur' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:72:104: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:73:38: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:73:60: style: Parameter 'robust' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:73:72: style: Parameter 'covariance' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:73:101: style: Parameter 'resample' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:74:26: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:74:54: style: Parameter 'silent' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:74:69: style: Parameter 'weights' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:74:82: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:74:118: style: Parameter 'strata' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:75:16: style: Parameter 'caseweight' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:75:32: style: Parameter 'icase' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:24: style: Parameter 'alltimes' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:38: style: Parameter 'Nalltimes' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:68: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:81: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:100: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:113: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:129: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:145: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:159: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:275: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:325: style: Parameter 'robust' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:337: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:374: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:422: style: Parameter 'covariance' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:451: style: Parameter 'resample' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:495: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:554: style: Parameter 'deltaweight' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:571: style: Parameter 'silent' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:586: style: Parameter 'weights' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:599: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:610: style: Parameter 'fixedgamma' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:626: style: Parameter 'mof' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:253:638: style: Parameter 'offsets' can be declared as pointer to const [constParameterPointer] timereg/src/aalen.c:156:15: style: Variable 'invertible' is assigned a value that is never used. [unreadVariable] timereg/src/aalen.c:476:5: style: Variable 'c0' is assigned a value that is never used. [unreadVariable] timereg/src/aalen.c:649:4: style: Variable 'l' is assigned a value that is never used. [unreadVariable] timereg/src/breslow.c:6:50: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:63: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:94: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:108: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:162: style: Parameter 'it' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:207: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:295: style: Parameter 'nullresid' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:310: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:322: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:330: style: Parameter 'sim2' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:6:379: style: Parameter 'robust' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:418:52: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:418:65: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:419:11: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:419:25: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:419:57: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:420:11: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:422:20: style: Parameter 'it' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:422:28: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:423:34: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:423:46: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:424:61: style: Parameter 'robust' can be declared as pointer to const [constParameterPointer] timereg/src/breslow.c:94:12: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] timereg/src/breslow.c:555:12: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] timereg/src/breslow.c:646:27: style: Variable 'dtime' is assigned a value that is never used. [unreadVariable] timereg/src/breslow.c:669:27: style: Variable 'dtime' is assigned a value that is never used. [unreadVariable] timereg/src/breslow.c:689:12: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] timereg/src/comptest-cmprsk.c:32:8: style: Variable 'stime' is reassigned a value before the old one has been used. [redundantAssignment] timereg/src/comptest-cmprsk.c:31:8: note: stime is assigned timereg/src/comptest-cmprsk.c:32:8: note: stime is overwritten timereg/src/comptest-cmprsk.c:23:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/comptest-cmprsk.c:157:26: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/comptest-cmprsk.c:158:72: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/comptest-cmprsk.c:7:229: style:inconclusive: Function 'comptestfunc' argument 17 names different: declaration 'timepowtest' definition 'timepow'. [funcArgNamesDifferent] timereg/src/matrix.h:197:37: note: Function 'comptestfunc' argument 17 names different: declaration 'timepowtest' definition 'timepow'. timereg/src/comptest-cmprsk.c:7:229: note: Function 'comptestfunc' argument 17 names different: declaration 'timepowtest' definition 'timepow'. timereg/src/comptest-cmprsk.c:7:27: style: Parameter 'times' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:38: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:61: style: Parameter 'cu' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:72: style: Parameter 'vcu' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:84: style: Parameter 'vcudif' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:96: style: Parameter 'antsim' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:175: style: Parameter 'weighted' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:189: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:216: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] timereg/src/comptest-cmprsk.c:7:229: style: Parameter 'timepow' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:304:35: style:inconclusive: Boolean expression 'fabs(sumscore)<0.000001' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/Gprop-odds.c:180:22: warning: Either the condition 's<0' is redundant or the array 'ZXdA[2147483648]' is accessed at index -1, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:176:12: note: Assuming that condition 's<0' is not redundant timereg/src/Gprop-odds.c:180:22: note: Negative array index timereg/src/Gprop-odds.c:181:24: warning: Either the condition 's<0' is redundant or the array 'ZXdA[2147483648]' is accessed at index -1, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:176:12: note: Assuming that condition 's<0' is not redundant timereg/src/Gprop-odds.c:181:24: note: Negative array index timereg/src/Gprop-odds.c:201:14: warning: Either the condition 's<0' is redundant or the array 'dG[2147483648]' is accessed at index -1, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:197:12: note: Assuming that condition 's<0' is not redundant timereg/src/Gprop-odds.c:201:14: note: Negative array index timereg/src/Gprop-odds.c:203:16: warning: Either the condition 's<0' is redundant or the array 'ZXAIs[2147483648]' is accessed at index -1, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:197:12: note: Assuming that condition 's<0' is not redundant timereg/src/Gprop-odds.c:203:16: note: Negative array index timereg/src/Gprop-odds.c:339:2: warning: Either the condition 's<0' is redundant or the array 'q2t[2147483648]' is accessed at index -1, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:337:10: note: Assuming that condition 's<0' is not redundant timereg/src/Gprop-odds.c:339:2: note: Negative array index timereg/src/Gprop-odds.c:341:33: warning: Either the condition 's<0' is redundant or the array 'q2t[2147483648]' is accessed at index -1, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:337:10: note: Assuming that condition 's<0' is not redundant timereg/src/Gprop-odds.c:341:33: note: Negative array index timereg/src/Gprop-odds.c:428:14: warning: Either the condition 's<0' is redundant or the array 'dG[2147483648]' is accessed at index -1, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:427:12: note: Assuming that condition 's<0' is not redundant timereg/src/Gprop-odds.c:428:14: note: Negative array index timereg/src/Gprop-odds.c:432:10: warning: Either the condition 'i==-5' is redundant or the array 'W2[2147483648]' is accessed at index -5, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:442:7: note: Assuming that condition 'i==-5' is not redundant timereg/src/Gprop-odds.c:432:10: note: Negative array index timereg/src/Gprop-odds.c:435:17: warning: Either the condition 'i==-5' is redundant or the array 'W3t[2147483648]' is accessed at index -5, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:442:7: note: Assuming that condition 'i==-5' is not redundant timereg/src/Gprop-odds.c:435:17: note: Negative array index timereg/src/Gprop-odds.c:441:17: warning: Either the condition 'i<0' is redundant or the array 'W4t[2147483648]' is accessed at index -1, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:436:22: note: Assuming that condition 'i<0' is not redundant timereg/src/Gprop-odds.c:441:17: note: Negative array index timereg/src/Gprop-odds.c:449:17: warning: Either the condition 'i==-5' is redundant or the array 'W2t[2147483648]' is accessed at index -5, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:442:7: note: Assuming that condition 'i==-5' is not redundant timereg/src/Gprop-odds.c:449:17: note: Negative array index timereg/src/Gprop-odds.c:451:17: warning: Either the condition 'i==-5' is redundant or the array 'Uti[2147483648]' is accessed at index -5, which is out of bounds. [negativeIndex] timereg/src/Gprop-odds.c:442:7: note: Assuming that condition 'i==-5' is not redundant timereg/src/Gprop-odds.c:451:17: note: Negative array index timereg/src/Gprop-odds.c:347:13: style: The comparison 'robust == 1' is always true. [knownConditionTrueFalse] timereg/src/Gprop-odds.c:32:18: note: 'robust' is assigned value '1' here. timereg/src/Gprop-odds.c:347:13: note: The comparison 'robust == 1' is always true. timereg/src/Gprop-odds.c:62:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:63:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:64:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:65:69: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:66:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:67:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:72:83: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:73:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:74:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:75:75: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:635:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:637:17: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:639:215: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/Gprop-odds.c:7:25: style: Parameter 'times' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:7:51: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:7:64: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:7:83: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:7:96: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:7:112: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:7:128: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:7:142: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:8:20: style: Parameter 'Nit' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:8:95: style: Parameter 'detail' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:8:107: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:9:110: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:9:118: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:10:6: style: Parameter 'wscore' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:11:6: style: Parameter 'retur' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:11:29: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:11:52: style: Parameter 'stratum' can be declared as pointer to const [constParameterPointer] timereg/src/Gprop-odds.c:474:49: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/cox-aalen.c:173:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] timereg/src/comptest.c:439:9: style: Variable 'xij' is reassigned a value before the old one has been used. [redundantAssignment] timereg/src/comptest.c:438:9: note: xij is assigned timereg/src/comptest.c:439:9: note: xij is overwritten timereg/src/comptest.c:7:23: style: Parameter 'times' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:7:34: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:7:57: style: Parameter 'cu' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:7:68: style: Parameter 'vcu' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:7:92: style: Parameter 'antsim' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:7:172: style: Parameter 'weighted' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:7:186: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:202:24: style: Parameter 'times' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:202:35: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:203:11: style: Parameter 'cu' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:203:22: style: Parameter 'vcu' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:205:47: style: Parameter 'weighted' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:205:61: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/comptest.c:205:77: style: Parameter 'cu0' can be declared as pointer to const [constParameterPointer] timereg/src/cox-aalen.c:233:27: style:inconclusive: Boolean expression 'j<*px' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/cox-aalen.c:234:27: style:inconclusive: Boolean expression 'j<*pg' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/cox-aalen.c:237:30: style:inconclusive: Boolean expression 'j<*pg' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/cox-aalen.c:238:30: style:inconclusive: Boolean expression 'j<*pg' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/cox-aalen.c:239:30: style:inconclusive: Boolean expression 'j<*pg' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/cox-aalen.c:240:30: style:inconclusive: Boolean expression 'j<*pg' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/cox-aalen.c:246:36: style:inconclusive: Boolean expression 'stop[ci]