2026-09-11 20:45 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-timereg/r-cran-timereg_2.0.7.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 -j96 platform: Linux-6.8.0-137-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: babc971 (2026-09-11 12:31:06 +0200) count: 1075 1071 elapsed-time: 7.1 9.4 head-timing-info: old-timing-info: head results: timereg/src/timeregister.c:87:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] timereg/src/unifConfBandResampling.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dgemv [valueFlowBailoutIncompleteVar] timereg/src/pava.c:9:33: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] timereg/src/pava.c:24:42: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] timereg/src/pava.c:65:35: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] timereg/src/unifConfBandResampling.c:50:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] timereg/src/unifConfBandResampling.c:32:31: note: Assuming allocation function fails timereg/src/unifConfBandResampling.c:32:15: note: Assignment 'g=(double*)malloc(*n*sizeof(double))', assigned value is 0 timereg/src/unifConfBandResampling.c:50:7: note: Null pointer dereference timereg/src/unifConfBandResampling.c:60:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] timereg/src/unifConfBandResampling.c:34:32: note: Assuming allocation function fails timereg/src/unifConfBandResampling.c:34:16: note: Assignment 'pt=(double*)malloc(nRowDelta*sizeof(double))', assigned value is 0 timereg/src/unifConfBandResampling.c:60:13: note: Null pointer dereference timereg/src/unifConfBandResampling.c:23:47: style: Parameter 'nObs' can be declared as pointer to const [constParameterPointer] timereg/src/unifConfBandResampling.c:23:58: style: Parameter 'nt' can be declared as pointer to const [constParameterPointer] timereg/src/unifConfBandResampling.c:24:14: style: Parameter 'se' can be declared as pointer to const [constParameterPointer] timereg/src/unifConfBandResampling.c:24:36: style: Parameter 'nSims' can be declared as pointer to const [constParameterPointer] timereg/src/smooth2.c:14:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/smooth2.c:15:26: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/smooth2.c:16:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/smooth2.c:17:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/smooth2.c:41:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/smooth2.c:42:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/smooth2.c:57:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/smooth2.c:59:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/smooth2.c:5:23: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/smooth2.c:5:36: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/smooth2.c:5:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] timereg/src/smooth2.c:5:64: style: Parameter 'nb' can be declared as pointer to const [constParameterPointer] timereg/src/smooth2.c:5:75: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] timereg/src/smooth2.c:5:82: style: Parameter 'degree' can be declared as pointer to const [constParameterPointer] timereg/src/smooth2.c:5:94: style: Parameter 'coef' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:15:22: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:15:43: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:15:63: style: Parameter 'nb' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:15:74: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:15:81: style: Parameter 'degree' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:15:93: style: Parameter 'coef' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:84:27: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:84:48: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:84:58: style: Parameter 'times' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:84:72: style: Parameter 'response' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:84:99: style: Parameter 'nb' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:84:110: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] timereg/src/smooth.c:84:117: style: Parameter 'lin' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:7:22: style: Parameter 'npers' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:7:34: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:18:24: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:18:38: style: Parameter 'nclust' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:18:50: style: Parameter 'npers' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:18:89: style: Parameter 'mednum' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:18:101: style: Parameter 'num' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:37:26: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:37:40: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:37:50: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:37:58: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:37:68: style: Parameter 'times' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:37:79: style: Parameter 'ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:49:28: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:49:42: style: Parameter 'nclust' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:49:54: style: Parameter 'npers' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:49:93: style: Parameter 'mednum' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:50:8: style: Parameter 'num' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:50:20: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:50:31: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:72:33: style: Parameter 'jump' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:72:47: style: Parameter 'eval' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:72:58: style: Parameter 'N' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:72:66: style: Parameter 'NT' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:72:75: style: Parameter 'strict' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:90:26: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:113:20: style: Parameter 'cum' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:113:29: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:113:37: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:113:48: style: Parameter 'xval' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:113:58: style: Parameter 'nxval' can be declared as pointer to const [constParameterPointer] timereg/src/pred.c:113:82: style: Parameter 'tminus' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:262:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dgemm [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:339:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dpotrf [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:420:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dqrdc2 [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:500:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dgemv [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:537:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dgemv [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:1039:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dgemm [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:1081:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dgemm [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:1179:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlange [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:1259:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dlange [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:1334:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dgemm [valueFlowBailoutIncompleteVar] timereg/src/aalen.c:475:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] 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/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/prop-odds.c:102:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] timereg/src/cox-aalen.c:174:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] timereg/src/matrix.c:1193:7: warning: If memory allocation fails, then there is a possible null pointer dereference: iwork [nullPointerOutOfMemory] timereg/src/matrix.c:1168:22: note: Assuming allocation function fails timereg/src/matrix.c:1168:22: note: Assignment 'iwork=malloc(n*sizeof(int))', assigned value is 0 timereg/src/matrix.c:1193:7: note: Null pointer dereference timereg/src/matrix.c:1193:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ipiv [nullPointerOutOfMemory] timereg/src/matrix.c:1161:21: note: Assuming allocation function fails timereg/src/matrix.c:1161:21: note: Assignment 'ipiv=malloc(n*sizeof(int))', assigned value is 0 timereg/src/matrix.c:1193:17: note: Null pointer dereference timereg/src/matrix.c:1272:7: warning: If memory allocation fails, then there is a possible null pointer dereference: iwork [nullPointerOutOfMemory] timereg/src/matrix.c:1248:22: note: Assuming allocation function fails timereg/src/matrix.c:1248:22: note: Assignment 'iwork=malloc(n*sizeof(int))', assigned value is 0 timereg/src/matrix.c:1272:7: note: Null pointer dereference timereg/src/matrix.c:1272:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ipiv [nullPointerOutOfMemory] timereg/src/matrix.c:1241:21: note: Assuming allocation function fails timereg/src/matrix.c:1241:21: note: Assignment 'ipiv=malloc(n*sizeof(int))', assigned value is 0 timereg/src/matrix.c:1272:17: note: Null pointer dereference 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/matrix.c:1100:32: style:inconclusive: Function 'invert' argument 2 names different: declaration 'AI' definition 'Ainv'. [funcArgNamesDifferent] timereg/src/matrix.h:133:32: note: Function 'invert' argument 2 names different: declaration 'AI' definition 'Ainv'. timereg/src/matrix.c:1100:32: note: Function 'invert' argument 2 names different: declaration 'AI' definition 'Ainv'. timereg/src/matrix.c:1126:33: style:inconclusive: Function 'invertS' argument 2 names different: declaration 'AI' definition 'Ainv'. [funcArgNamesDifferent] timereg/src/matrix.h:134:33: note: Function 'invertS' argument 2 names different: declaration 'AI' definition 'Ainv'. timereg/src/matrix.c:1126:33: note: Function 'invertS' argument 2 names different: declaration 'AI' definition 'Ainv'. timereg/src/matrix.c:1153:38: style:inconclusive: Function 'invertUnsafe' argument 2 names different: declaration 'AI' definition 'Ainv'. [funcArgNamesDifferent] timereg/src/matrix.h:135:38: note: Function 'invertUnsafe' argument 2 names different: declaration 'AI' definition 'Ainv'. timereg/src/matrix.c:1153:38: note: Function 'invertUnsafe' argument 2 names different: declaration 'AI' definition 'Ainv'. timereg/src/additive-compSs.c:5:166: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1233:39: style:inconclusive: Function 'invertUnsafeS' argument 2 names different: declaration 'AI' definition 'Ainv'. [funcArgNamesDifferent] timereg/src/matrix.h:136:39: note: Function 'invertUnsafeS' argument 2 names different: declaration 'AI' definition 'Ainv'. timereg/src/matrix.c:1233:39: note: Function 'invertUnsafeS' argument 2 names different: declaration 'AI' definition 'Ainv'. timereg/src/matrix.c:1432:25: style:inconclusive: Function 'free_mats' argument 1 names different: declaration 'M' definition 'M1'. [funcArgNamesDifferent] timereg/src/matrix.h:163:25: note: Function 'free_mats' argument 1 names different: declaration 'M' definition 'M1'. timereg/src/matrix.c:1432:25: note: Function 'free_mats' argument 1 names different: declaration 'M' definition 'M1'. timereg/src/matrix.c:1448:25: style:inconclusive: Function 'free_vecs' argument 1 names different: declaration 'V' definition 'V1'. [funcArgNamesDifferent] timereg/src/matrix.h:165:25: note: Function 'free_vecs' argument 1 names different: declaration 'V' definition 'V1'. timereg/src/matrix.c:1448:25: note: Function 'free_vecs' argument 1 names different: declaration 'V' definition 'V1'. 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/matrix.c:120:13: style: Local variable 'temp' shadows outer variable [shadowVariable] timereg/src/matrix.c:103:11: note: Shadowed variable timereg/src/matrix.c:120:13: note: Shadow local variable 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/matrix.c:34:25: style: Parameter 'M' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:38:25: style: Parameter 'M' 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/matrix.c:44:27: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:99:67: style: Parameter 'weights' 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/matrix.c:137:83: style: Parameter 'weights' 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/matrix.c:187:69: style: Parameter 'weights' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1506:78: style: Parameter 'lm' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1506:89: style: Parameter 'step' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1533:19: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1533:32: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1533:40: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1533:50: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1534:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1534:36: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1534:46: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:18: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:31: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:49: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:65: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:79: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:89: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:132: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1548:159: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1562:19: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1562:32: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1562:51: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1562:75: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1563:11: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1563:25: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1563:35: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1564:52: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1565:44: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1589:25: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1589:38: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1589:57: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1589:81: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1590:11: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1590:25: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1590:35: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/matrix.c:1591:44: style: Parameter 'id' 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/matrix.c:1542:45: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/matrix.c:1557:43: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/matrix.c:1581:10: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/matrix.c:1581:21: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] timereg/src/matrix.c:1604:45: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/two-stage-reg.c:242:30: style:inconclusive: Boolean expression 'sumscore<0.0000001' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/two-stage-reg.c:175:12: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] timereg/src/two-stage-reg.c:41:7: warning: If memory allocation fails, then there is a possible null pointer dereference: Nt [nullPointerOutOfMemory] timereg/src/two-stage-reg.c:25:13: note: Assuming allocation function fails timereg/src/two-stage-reg.c:25:13: note: Assignment 'Nt=calloc(*antclust,sizeof(double))', assigned value is 0 timereg/src/two-stage-reg.c:41:7: note: Null pointer dereference timereg/src/two-stage-reg.c:41:16: warning: If memory allocation fails, then there is a possible null pointer dereference: NH [nullPointerOutOfMemory] timereg/src/two-stage-reg.c:27:20: note: Assuming allocation function fails timereg/src/two-stage-reg.c:27:20: note: Assignment 'NH=calloc(*antclust,sizeof(double))', assigned value is 0 timereg/src/two-stage-reg.c:41:16: note: Null pointer dereference timereg/src/two-stage-reg.c:41:25: warning: If memory allocation fails, then there is a possible null pointer dereference: multitrunc [nullPointerOutOfMemory] timereg/src/two-stage-reg.c:38:25: note: Assuming allocation function fails timereg/src/two-stage-reg.c:38:25: note: Assignment 'multitrunc=calloc(*antclust,sizeof(int))', assigned value is 0 timereg/src/two-stage-reg.c:41:25: note: Null pointer dereference timereg/src/two-stage-reg.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: insecluster [nullPointerOutOfMemory] timereg/src/two-stage-reg.c:35:29: note: Assuming allocation function fails timereg/src/two-stage-reg.c:35:29: note: Assignment 'insecluster=calloc(*antsecluster,sizeof(double))', assigned value is 0 timereg/src/two-stage-reg.c:45:5: note: Null pointer dereference timereg/src/two-stage-reg.c:57:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/two-stage-reg.c:58:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/two-stage-reg.c:66:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/two-stage-reg.c:67:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/two-stage-reg.c:68:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/two-stage-reg.c:69:22: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/two-stage-reg.c:369:116: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/two-stage-reg.c:370:132: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/two-stage-reg.c:6:37: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:6:52: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:6:73: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:6:84: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:6:97: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:7:6: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:7:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:7:36: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:7:47: style: Parameter 'Nit' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:8:6: style: Parameter 'detail' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:8:19: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:8:27: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:8:54: style: Parameter 'robust' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:8:67: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:9:6: style: Parameter 'antclust' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:9:88: style: Parameter 'inverse' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:10:24: style: Parameter 'desthetaI' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:10:71: style: Parameter 'step' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:10:81: style: Parameter 'idiclust' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:10:95: style: Parameter 'notaylor' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:10:112: style: Parameter 'gamiid' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:10:127: style: Parameter 'biid' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:10:137: style: Parameter 'semi' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:10:150: style: Parameter 'cumhaz' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:11:9: style: Parameter 'cumhazleft' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:11:25: style: Parameter 'lefttrunk' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:11:43: style: Parameter 'rr' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:11:51: style: Parameter 'maxtimesim' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:11:97: style: Parameter 'antsecluster' can be declared as pointer to const [constParameterPointer] timereg/src/two-stage-reg.c:11:134: style: Parameter 'timereso' can be declared as pointer to const [constParameterPointer] timereg/src/prop-odds-subdist2.c:289:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] timereg/src/two-stage-reg.c:23:22: style: Variable 'sumscore' is assigned a value that is never used. [unreadVariable] timereg/src/two-stage-reg.c:23:52: style: Variable 'logl' is assigned a value that is never used. [unreadVariable] timereg/src/two-stage-reg.c:73:44: style: Variable 'll' is assigned a value that is never used. [unreadVariable] timereg/src/two-stage-reg.c:254:21: style: Variable 'dummyleft' is assigned a value that is never used. [unreadVariable] timereg/src/two-stage-reg.c:255:15: style: Variable 'engang' is assigned a value that is never used. [unreadVariable] timereg/src/two-stage-reg.c:36:14: style: Variable 'ipers' is allocated memory that is never used. [unusedAllocatedMemory] timereg/src/pe-sasieni.c:169:41: style:inconclusive: Boolean expression 'fabs(sumscore)<0.0000000001' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/pe-sasieni.c:193:13: style: The if condition is the same as the previous if condition [duplicateCondition] timereg/src/pe-sasieni.c:190:13: note: First condition timereg/src/pe-sasieni.c:193:13: note: Second condition timereg/src/pe-sasieni.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: times [nullPointerOutOfMemory] timereg/src/pe-sasieni.c:23:23: note: Assuming allocation function fails timereg/src/pe-sasieni.c:23:23: note: Assignment 'times=calloc(*Ntimes,sizeof(double))', assigned value is 0 timereg/src/pe-sasieni.c:51:3: note: Null pointer dereference timereg/src/pe-sasieni.c:28:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:29:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:30:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:31:80: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:32:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:33:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:46:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:47:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:48:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:244:183: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/pe-sasieni.c:250:159: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 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/pe-sasieni.c:7:18: style: Parameter 'alltimes' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:32: style: Parameter 'Nalltimes' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:47: style: Parameter 'Ntimes' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:62: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:75: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:83: style: Parameter 'px' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:94: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:107: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:115: style: Parameter 'pg' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:123: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] 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/pe-sasieni.c:7:139: style: Parameter 'start' 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/pe-sasieni.c:7:153: style: Parameter 'stop' 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/pe-sasieni.c:7:215: style: Parameter 'status' 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/pe-sasieni.c:7:269: style: Parameter 'mof' 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/pe-sasieni.c:7:281: style: Parameter 'offset' 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/pe-sasieni.c:7:293: style: Parameter 'mw' 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/pe-sasieni.c:7:304: style: Parameter 'weight' 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/pe-sasieni.c:7:316: style: Parameter 'Nit' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:325: style: Parameter 'detail' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:7:347: style: Parameter 'nsim' can be declared as pointer to const [constParameterPointer] timereg/src/pe-sasieni.c:21:26: style: Variable 'time' is assigned a value that is never used. [unreadVariable] timereg/src/pe-sasieni.c:58:76: style: Variable 'S0' is assigned a value that is never used. [unreadVariable] timereg/src/pe-sasieni.c:175:28: style: Variable 'dtime' is assigned a value that is never used. [unreadVariable] timereg/src/pe-sasieni.c:183:44: style: Variable 'pers' 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:97:23: warning: If memory allocation fails, then there is a possible null pointer dereference: cluster [nullPointerOutOfMemory] timereg/src/aalen.c:83:22: note: Assuming allocation function fails timereg/src/aalen.c:83:22: note: Assignment 'cluster=calloc(*antpers,sizeof(int))', assigned value is 0 timereg/src/aalen.c:97:23: note: Null pointer dereference timereg/src/aalen.c:98:23: warning: If memory allocation fails, then there is a possible null pointer dereference: idd [nullPointerOutOfMemory] timereg/src/aalen.c:83:57: note: Assuming allocation function fails timereg/src/aalen.c:83:57: note: Assignment 'idd=calloc(*antpers,sizeof(int))', assigned value is 0 timereg/src/aalen.c:98:23: note: Null pointer dereference timereg/src/aalen.c:299:4: warning: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] timereg/src/aalen.c:269:20: note: Assuming allocation function fails timereg/src/aalen.c:269:20: note: Assignment 'stats=calloc(*Nalltimes,sizeof(int))', assigned value is 0 timereg/src/aalen.c:299:4: note: Null pointer dereference timereg/src/aalen.c:313:3: warning: If memory allocation fails, then there is a possible null pointer dereference: times [nullPointerOutOfMemory] timereg/src/aalen.c:275:16: note: Assuming allocation function fails timereg/src/aalen.c:275:16: note: Assignment 'times=calloc(*Ntimes,sizeof(double))', assigned value is 0 timereg/src/aalen.c:313:3: note: Null pointer dereference timereg/src/aalen.c:315:23: warning: If memory allocation fails, then there is a possible null pointer dereference: cluster [nullPointerOutOfMemory] timereg/src/aalen.c:268:22: note: Assuming allocation function fails timereg/src/aalen.c:268:22: note: Assignment 'cluster=calloc(*antpers,sizeof(int))', assigned value is 0 timereg/src/aalen.c:315:23: note: Null pointer dereference timereg/src/aalen.c:316:23: warning: If memory allocation fails, then there is a possible null pointer dereference: idd [nullPointerOutOfMemory] timereg/src/aalen.c:270:18: note: Assuming allocation function fails timereg/src/aalen.c:270:18: note: Assignment 'idd=calloc(*antpers,sizeof(int))', assigned value is 0 timereg/src/aalen.c:316:23: note: Null pointer dereference 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/timecox.c:43:3: warning: If memory allocation fails, then there is a possible null pointer dereference: coef [nullPointerOutOfMemory] timereg/src/timecox.c:20:21: note: Assuming allocation function fails timereg/src/timecox.c:20:21: note: Assignment 'coef=calloc(1,sizeof(int))', assigned value is 0 timereg/src/timecox.c:43:3: note: Null pointer dereference timereg/src/timecox.c:43:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ps [nullPointerOutOfMemory] timereg/src/timecox.c:21:19: note: Assuming allocation function fails timereg/src/timecox.c:21:19: note: Assignment 'ps=calloc(1,sizeof(int))', assigned value is 0 timereg/src/timecox.c:43:14: note: Null pointer dereference timereg/src/timecox.c:209:3: warning: If memory allocation fails, then there is a possible null pointer dereference: coef [nullPointerOutOfMemory] timereg/src/timecox.c:183:19: note: Assuming allocation function fails timereg/src/timecox.c:183:19: note: Assignment 'coef=calloc(1,sizeof(int))', assigned value is 0 timereg/src/timecox.c:209:3: note: Null pointer dereference timereg/src/timecox.c:209:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ps [nullPointerOutOfMemory] timereg/src/timecox.c:183:45: note: Assuming allocation function fails timereg/src/timecox.c:183:45: note: Assignment 'ps=calloc(1,sizeof(int))', assigned value is 0 timereg/src/timecox.c:209:14: note: Null pointer dereference timereg/src/timecox.c:29:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:30:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:32:103: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:33:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:34:22: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:154:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:156:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:197:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:198:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:199:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:200:89: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:201:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:204:85: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:205:86: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:206:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:207:22: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:404:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:408:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/timecox.c:5:50: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:5:63: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:6:11: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:6:25: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:7:8: style: Parameter 'it' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:7:38: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:7:46: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:7:58: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:9:37: style: Parameter 'retur' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:9:78: style: Parameter 'robust' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:10:8: style: Parameter 'covariance' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:163:50: style: Parameter 'designX' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:163:63: style: Parameter 'nx' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:163:82: style: Parameter 'designG' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:163:95: style: Parameter 'ng' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:164:22: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:164:36: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:164:141: style: Parameter 'it' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:165:39: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:165:60: style: Parameter 'retur' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:165:125: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:165:162: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:165:184: style: Parameter 'robust' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:165:196: style: Parameter 'covariance' can be declared as pointer to const [constParameterPointer] timereg/src/timecox.c:63:9: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] timereg/src/timecox.c:297:38: style: Variable 'dtime' is assigned a value that is never used. [unreadVariable] timereg/src/timecox.c:323:47: style: Variable 'pers' is assigned a value that is never used. [unreadVariable] timereg/src/ipcw-residualmean.c:139:29: style:inconclusive: Boolean expression 'sumscore<*convc' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/ipcw-residualmean.c:267:3: warning: If memory allocation fails, then there is a possible null pointer dereference: robust [nullPointerOutOfMemory] timereg/src/ipcw-residualmean.c:262:22: note: Assuming allocation function fails timereg/src/ipcw-residualmean.c:262:22: note: Assignment 'robust=calloc(1,sizeof(int))', assigned value is 0 timereg/src/ipcw-residualmean.c:267:3: note: Null pointer dereference timereg/src/ipcw-residualmean.c:268:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] timereg/src/ipcw-residualmean.c:261:17: note: Assuming allocation function fails timereg/src/ipcw-residualmean.c:261:17: note: Assignment 'n=calloc(1,sizeof(int))', assigned value is 0 timereg/src/ipcw-residualmean.c:268:3: note: Null pointer dereference timereg/src/ipcw-residualmean.c:268:20: warning: If memory allocation fails, then there is a possible null pointer dereference: nx [nullPointerOutOfMemory] timereg/src/ipcw-residualmean.c:261:45: note: Assuming allocation function fails timereg/src/ipcw-residualmean.c:261:45: note: Assignment 'nx=calloc(1,sizeof(int))', assigned value is 0 timereg/src/ipcw-residualmean.c:268:20: note: Null pointer dereference timereg/src/ipcw-residualmean.c:26:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:27:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:29:74: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:30:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:31:86: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:33:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:221:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:222:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:222:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:224:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:225:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:226:81: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:278:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:279:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:280:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:281:98: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:282:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:289:92: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:290:97: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:291:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:498:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:502:75: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] timereg/src/ipcw-residualmean.c:249:116: style:inconclusive: Function 'resmeansemi' argument 43 names different: declaration 'funcrestrict' definition 'estimator'. [funcArgNamesDifferent] timereg/src/matrix.h:237:14: note: Function 'resmeansemi' argument 43 names different: declaration 'funcrestrict' definition 'estimator'. timereg/src/ipcw-residualmean.c:249:116: note: Function 'resmeansemi' argument 43 names different: declaration 'funcrestrict' definition 'estimator'. timereg/src/ipcw-residualmean.c:5:126: style: Parameter 'betaS' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:9:22: style: Parameter 'ordertime' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:9:37: style: Parameter 'conservative' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:9:55: style: Parameter 'censcode' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:242:53: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:242:60: style: Parameter 'delta' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:242:71: style: Parameter 'cause' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:243:17: style: Parameter 'KMc' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:243:29: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:243:36: style: Parameter 'antpers' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:244:65: style: Parameter 'sim' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:247:17: style: Parameter 'zsem' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:247:35: style: Parameter 'trans' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:248:24: style: Parameter 'detail' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:248:64: style: Parameter 'resample' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:249:17: style: Parameter 'timepow' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:249:30: style: Parameter 'clusters' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:249:107: style: Parameter 'tau' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:249:116: style: Parameter 'estimator' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:249:131: style: Parameter 'causeS' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:249:147: style: Parameter 'weights' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:249:163: style: Parameter 'KMtimes' can be declared as pointer to const [constParameterPointer] timereg/src/ipcw-residualmean.c:85:11: style: Variable 'skm' is assigned a value that is never used. [unreadVariable] timereg/src/ipcw-residualmean.c:335:12: style: Variable 'skm' is assigned a value that is never used. [unreadVariable] timereg/src/cox-aalen.c:234:27: style:inconclusive: Boolean expression 'j<*px' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/cox-aalen.c:235:27: 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:241:30: style:inconclusive: Boolean expression 'j<*pg' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] timereg/src/cox-aalen.c:247:36: style:inconclusive: Boolean expression 'stop[ci]