2025-05-05 20:29 ftp://ftp.de.debian.org/debian/pool/main/libo/libofa/libofa_0.9.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 581f101 (2025-05-05 21:13:30 +0200) count: 203 200 elapsed-time: 2.5 3.0 head-timing-info: old-timing-info: head results: libofa-0.9.3/examples/protocol.h:77:5: warning: Member variable 'AudioData::byteOrder' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/examples/protocol.h:38:12: performance: Function 'getPrint()' should return member 'print' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:41:12: performance: Function 'getEncoding()' should return member 'encoding' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:45:12: performance: Function 'getFormat()' should return member 'format' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:49:12: performance: Function 'getArtist()' should return member 'artist' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:51:12: performance: Function 'getTrack()' should return member 'track' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:53:12: performance: Function 'getAlbum()' should return member 'album' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:57:12: performance: Function 'getGenre()' should return member 'genre' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:59:12: performance: Function 'getYear()' should return member 'year' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:61:12: performance: Function 'getPUID()' should return member 'puid' by const reference. [returnByReference] libofa-0.9.3/examples/protocol.h:37:26: performance: Function parameter 'p' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:40:29: performance: Function parameter 'e' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:44:27: performance: Function parameter 'fmt' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:48:27: performance: Function parameter 'name' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:50:26: performance: Function parameter 'name' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:52:26: performance: Function parameter 'name' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:56:26: performance: Function parameter 'g' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:58:25: performance: Function parameter 'y' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:60:25: performance: Function parameter 'id' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:83:49: performance: Function parameter '_fmt' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:105:42: performance: Function parameter 'client_key' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.h:105:61: performance: Function parameter 'client_version' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/example.cpp:59:20: style: Variable 'info' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/examples/example.cpp:16:21: style: Variable 'data' is assigned a value that is never used. [unreadVariable] libofa-0.9.3/examples/protocol.cpp:81:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_ALL [valueFlowBailoutIncompleteVar] libofa-0.9.3/examples/protocol.cpp:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] libofa-0.9.3/examples/protocol.cpp:262:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] libofa-0.9.3/examples/protocol.cpp:223:41: style: Condition 'info->getArtist().c_str()==0' is always false [knownConditionTrueFalse] libofa-0.9.3/examples/protocol.cpp:224:40: style: Condition 'info->getTrack().c_str()==0' is always false [knownConditionTrueFalse] libofa-0.9.3/examples/protocol.cpp:225:40: style: Condition 'info->getAlbum().c_str()==0' is always false [knownConditionTrueFalse] libofa-0.9.3/examples/protocol.cpp:227:40: style: Condition 'info->getGenre().c_str()==0' is always false [knownConditionTrueFalse] libofa-0.9.3/examples/protocol.cpp:228:39: style: Condition 'info->getYear().c_str()==0' is always false [knownConditionTrueFalse] libofa-0.9.3/examples/protocol.cpp:150:12: error: Mismatching allocation and deallocation: temp [mismatchAllocDealloc] libofa-0.9.3/examples/protocol.cpp:146:12: note: Mismatching allocation and deallocation: temp libofa-0.9.3/examples/protocol.cpp:150:12: note: Mismatching allocation and deallocation: temp libofa-0.9.3/examples/protocol.cpp:68:19: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:69:23: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:84:45: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:121:6: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:122:10: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:123:11: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:125:6: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:132:10: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:133:11: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:133:47: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:134:10: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:135:11: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:135:48: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:137:12: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:139:9: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:139:37: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:147:19: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:149:6: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:160:29: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/protocol.cpp:185:50: style:inconclusive: Function 'retrieve_metadata' argument 2 names different: declaration 'client_verstion' definition 'client_version'. [funcArgNamesDifferent] libofa-0.9.3/examples/protocol.h:65:50: note: Function 'retrieve_metadata' argument 2 names different: declaration 'client_verstion' definition 'client_version'. libofa-0.9.3/examples/protocol.cpp:185:50: note: Function 'retrieve_metadata' argument 2 names different: declaration 'client_verstion' definition 'client_version'. libofa-0.9.3/examples/protocol.cpp:185:31: performance: Function parameter 'client_key' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.cpp:185:50: performance: Function parameter 'client_version' should be passed by const reference. [passedByValue] libofa-0.9.3/examples/protocol.cpp:73:92: style: Parameter 'doc' can be declared as reference to const [constParameterReference] libofa-0.9.3/examples/uselame.cpp:58:20: style: C-style pointer casting [cstyleCast] libofa-0.9.3/examples/wavefile.cpp:45:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] libofa-0.9.3/examples/wavefile.cpp:40:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] libofa-0.9.3/examples/wavefile.cpp:136:23: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:116:17: warning: Member variable 'aflibConverter::_Time' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:116:17: warning: Member variable 'aflibConverter::_factor' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:116:17: warning: Member variable 'aflibConverter::_nChans' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:116:17: warning: Member variable 'aflibConverter::_initial' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/error_op.h:28:28: performance: Variable 'Mes' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libofa-0.9.3/lib/error_op.h:29:38: performance: Variable 'Mes' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:231:17: performance:inconclusive: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.h:115:4: note: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:231:17: note: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:676:17: performance:inconclusive: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.h:184:4: note: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:676:17: note: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:744:17: performance:inconclusive: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.h:194:4: note: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:744:17: note: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/error_op.h:31:9: style:inconclusive: Technically the member function 'OnePrintError::GetMessage' can be const. [functionConst] libofa-0.9.3/lib/error_op.h:32:7: style:inconclusive: Technically the member function 'OnePrintError::GetErrorCode' can be const. [functionConst] libofa-0.9.3/lib/error_op.h:28:2: style: Class 'OnePrintError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libofa-0.9.3/lib/error_op.h:30:2: style: Class 'OnePrintError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libofa-0.9.3/lib/error_op.h:31:9: performance: Function 'GetMessage()' should return member 'Mes' by const reference. [returnByReference] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:142:8: style: The scope of the variable 'i' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:248:11: style: The scope of the variable 'ptr' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:287:8: style: The scope of the variable 'iconst' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:288:9: style: The scope of the variable 'Xp' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:289:6: style: The scope of the variable 'v' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:289:8: style: The scope of the variable 'x1' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:289:11: style: The scope of the variable 'x2' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:340:9: style: The scope of the variable 'Xp' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:341:6: style: The scope of the variable 'v' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:394:9: style: The scope of the variable 'Xp' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:395:6: style: The scope of the variable 'v' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:560:34: style: The scope of the variable 'orig_Nx' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:754:8: style: The scope of the variable 'a' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:755:14: style: The scope of the variable 'Hdp' can be reduced. [variableScope] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:477:13: style: Checking if unsigned expression 'Nx' is less than zero. [unsignedLessThanZero] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:596:12: style: Checking if unsigned expression 'Nx' is less than zero. [unsignedLessThanZero] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:163:11: style:inconclusive: Function 'initialize' argument 1 names different: declaration 'factor' definition 'fac'. [funcArgNamesDifferent] libofa-0.9.3/lib/AFLIB/aflibConverter.h:93:14: note: Function 'initialize' argument 1 names different: declaration 'factor' definition 'fac'. libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:163:11: note: Function 'initialize' argument 1 names different: declaration 'factor' definition 'fac'. libofa-0.9.3/lib/error_op.h:28:23: performance: Function parameter 's' should be passed by const reference. [passedByValue] libofa-0.9.3/lib/error_op.h:29:23: performance: Function parameter 's' should be passed by const reference. [passedByValue] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:231:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:240:16: style: Parameter 'inArray' can be declared as const array [constParameter] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:288:9: style: Variable 'Xp' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:685:27: style: Variable 'End' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:755:9: style: Variable 'Hp' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:755:14: style: Variable 'Hdp' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:755:20: style: Variable 'End' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:494:8: warning: Uninitialized variable: orig_Nx [uninitvar] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:487:21: note: Assuming condition is false libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:494:8: note: Uninitialized variable: orig_Nx libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:495:15: warning: Uninitialized variable: Time2 [uninitvar] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:487:21: note: Assuming condition is false libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:495:15: note: Uninitialized variable: Time2 libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:620:15: warning: Uninitialized variable: Time2 [uninitvar] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:606:21: note: Assuming condition is false libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:620:15: note: Uninitialized variable: Time2 libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:608:12: style: Variable 'orig_Nx' is assigned a value that is never used. [unreadVariable] libofa-0.9.3/lib/fft_op.cpp:22:9: warning: Member variable 'FFT_op::Signal' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/fft_op.cpp:22:9: warning: Member variable 'FFT_op::StepSize' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/fft_op.cpp:22:9: warning: Member variable 'FFT_op::WindowShape' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/signal_op.h:36:9: style:inconclusive: Technically the member function 'Signal_op::GetDuration' can be const. [functionConst] libofa-0.9.3/lib/signal_op.h:38:7: style:inconclusive: Technically the member function 'Signal_op::GetLength' can be const. [functionConst] libofa-0.9.3/lib/signal_op.h:39:7: style:inconclusive: Technically the member function 'Signal_op::GetRate' can be const. [functionConst] libofa-0.9.3/lib/fft_op.cpp:215:6: style: The scope of the variable 'srcInd' can be reduced. [variableScope] libofa-0.9.3/lib/fft_op.cpp:215:14: style: The scope of the variable 'curInd' can be reduced. [variableScope] libofa-0.9.3/lib/fft_op.cpp:216:9: style: The scope of the variable 'fStep' can be reduced. [variableScope] libofa-0.9.3/lib/fft_op.cpp:216:24: style: The scope of the variable 'curHz' can be reduced. [variableScope] libofa-0.9.3/lib/fft_op.cpp:216:31: style: The scope of the variable 'srcHz' can be reduced. [variableScope] libofa-0.9.3/lib/fft_op.cpp:144:9: style: Variable 'sdata' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/fft_op.cpp:214:9: style: Variable 'fr' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/fft_op.cpp:114:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] libofa-0.9.3/lib/fft_op.cpp:159:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] libofa-0.9.3/lib/fft_op.cpp:231:10: style: Variable 'curInd' is assigned a value that is never used. [unreadVariable] libofa-0.9.3/lib/fftlibvdsp_op.cpp:21:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Exp [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/fftlibvdsp_op.cpp:49:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/fftlibvdsp_op.cpp:49:9: style: C-style pointer casting [cstyleCast] libofa-0.9.3/lib/fftlibw3_op.cpp:26:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Flags [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/fftlibw3_op.cpp:35:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PlanF [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/fftlibw3_op.cpp:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Flags [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/fftlibw3_op.cpp:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PlanF [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/trackframe_op.h:31:15: style:inconclusive: Technically the member function 'TrackFrame_op::getTime' can be const. [functionConst] libofa-0.9.3/lib/tracklist_op.h:26:6: style:inconclusive: Technically the member function 'TrackList_op::getSize' can be const. [functionConst] libofa-0.9.3/lib/trackdata_op.h:41:7: style:inconclusive: Technically the member function 'TrackData_op::IsInTrack' can be const. [functionConst] libofa-0.9.3/lib/frametracker_op.cpp:62:18: style:inconclusive: Technically the member function 'FrameTracker_op::FindPeaks' can be const. [functionConst] libofa-0.9.3/lib/frametracker_op.h:53:7: note: Technically the member function 'FrameTracker_op::FindPeaks' can be const. libofa-0.9.3/lib/frametracker_op.cpp:62:18: note: Technically the member function 'FrameTracker_op::FindPeaks' can be const. libofa-0.9.3/lib/trackframe_op.h:22:2: style: Class 'TrackFrame_op' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libofa-0.9.3/lib/frametracker_op.h:27:2: style: Class 'FrameTracker_op' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libofa-0.9.3/lib/frametracker_op.cpp:62:36: style:inconclusive: Function 'FindPeaks' argument 1 names different: declaration 'spectra' definition 'data'. [funcArgNamesDifferent] libofa-0.9.3/lib/frametracker_op.h:53:25: note: Function 'FindPeaks' argument 1 names different: declaration 'spectra' definition 'data'. libofa-0.9.3/lib/frametracker_op.cpp:62:36: note: Function 'FindPeaks' argument 1 names different: declaration 'spectra' definition 'data'. libofa-0.9.3/lib/frametracker_op.cpp:66:9: style: Variable 'frame' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/frametracker_op.cpp:165:19: style: Variable 'tl' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/JAMA/tnt_array1d_utils.h:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/mainprint.cpp:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/mainprint.cpp:80:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OFA_BIG_ENDIAN [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:112:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:126:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:146:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:166:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:184:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:201:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:216:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:237:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:270:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:295:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:325:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:332:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:343:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ref_count_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:362:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:369:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:390:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:403:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/tnt_array1d.h:409:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v_ [valueFlowBailoutIncompleteVar] libofa-0.9.3/lib/JAMA/jama_svd.h:106:20: style:inconclusive: Boolean expression 'k::getV' can be const. [functionConst] libofa-0.9.3/lib/JAMA/jama_svd.h:481:9: style:inconclusive: Technically the member function 'SVD < float >::getSingularValues' can be const. [functionConst] libofa-0.9.3/lib/JAMA/jama_svd.h:502:11: style:inconclusive: Technically the member function 'SVD < float >::norm2' can be const. [functionConst] libofa-0.9.3/lib/JAMA/jama_svd.h:508:11: style:inconclusive: Technically the member function 'SVD < float >::cond' can be const. [functionConst] libofa-0.9.3/lib/JAMA/tnt_array2d.h:388:18: performance:inconclusive: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/JAMA/tnt_array2d.h:75:10: note: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/JAMA/tnt_array2d.h:388:18: note: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/JAMA/jama_svd.h:44:4: style: Class 'SVD < float >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libofa-0.9.3/lib/JAMA/jama_svd.h:218:11: style: The if condition is the same as the previous if condition [duplicateCondition] libofa-0.9.3/lib/JAMA/jama_svd.h:56:19: note: 'wantu' is assigned value '1' here. libofa-0.9.3/lib/JAMA/jama_svd.h:57:19: note: 'wantv' is assigned value '1' here. libofa-0.9.3/lib/JAMA/jama_svd.h:181:11: note: First condition libofa-0.9.3/lib/JAMA/jama_svd.h:218:11: note: Second condition libofa-0.9.3/lib/mainprint.cpp:95:7: style: Exception should be caught by reference. [catchExceptionByValue] libofa-0.9.3/lib/mainprint.cpp:72:22: style: C-style pointer casting [cstyleCast] libofa-0.9.3/lib/mainprint.cpp:94:22: style: C-style pointer casting [cstyleCast] libofa-0.9.3/lib/JAMA/tnt_array2d.h:153:44: style:inconclusive: Function 'Array2D < float >' argument 3 names different: declaration 'a' definition 'val'. [funcArgNamesDifferent] libofa-0.9.3/lib/JAMA/tnt_array2d.h:88:40: note: Function 'Array2D < float >' argument 3 names different: declaration 'a' definition 'val'. libofa-0.9.3/lib/JAMA/tnt_array2d.h:153:44: note: Function 'Array2D < float >' argument 3 names different: declaration 'a' definition 'val'. libofa-0.9.3/lib/JAMA/tnt_array2d.h:377:32: style:inconclusive: Function 'set_' argument 1 names different: declaration 'val' definition 'a'. [funcArgNamesDifferent] libofa-0.9.3/lib/JAMA/tnt_array2d.h:76:24: note: Function 'set_' argument 1 names different: declaration 'val' definition 'a'. libofa-0.9.3/lib/JAMA/tnt_array2d.h:377:32: note: Function 'set_' argument 1 names different: declaration 'val' definition 'a'. libofa-0.9.3/lib/JAMA/jama_svd.h:245:14: style: Local variable 'k' shadows outer variable [shadowVariable] libofa-0.9.3/lib/JAMA/jama_svd.h:58:18: note: Shadowed declaration libofa-0.9.3/lib/JAMA/jama_svd.h:245:14: note: Shadow variable libofa-0.9.3/lib/mainprint.cpp:136:9: style: Variable 'fr' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/mainprint.cpp:105:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] libofa-0.9.3/lib/signal_op.cpp:291:12: style:inconclusive: Technically the member function 'Signal_op::Normalize' can be const. [functionConst] libofa-0.9.3/lib/signal_op.h:33:7: note: Technically the member function 'Signal_op::Normalize' can be const. libofa-0.9.3/lib/signal_op.cpp:291:12: note: Technically the member function 'Signal_op::Normalize' can be const. libofa-0.9.3/lib/signal_op.cpp:353:12: style:inconclusive: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. [functionConst] libofa-0.9.3/lib/signal_op.h:35:9: note: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. libofa-0.9.3/lib/signal_op.cpp:353:12: note: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. libofa-0.9.3/lib/signal_op.cpp:214:16: style: Condition 'NumBlocks<=0' is always false [knownConditionTrueFalse] libofa-0.9.3/lib/signal_op.cpp:210:17: note: Assuming that condition 'stop-start<=0' is not redundant libofa-0.9.3/lib/signal_op.cpp:213:22: note: Assignment 'NumBlocks=stop-start', assigned value is greater than 0 libofa-0.9.3/lib/signal_op.cpp:214:16: note: Condition 'NumBlocks<=0' is always false libofa-0.9.3/lib/signal_op.cpp:235:9: style: The scope of the variable 'yn' can be reduced. [variableScope] libofa-0.9.3/lib/signal_op.cpp:81:31: style:inconclusive: Function 'PrepareStereo' argument 1 names different: declaration 'rate' definition 'newRate'. [funcArgNamesDifferent] libofa-0.9.3/lib/signal_op.h:27:26: note: Function 'PrepareStereo' argument 1 names different: declaration 'rate' definition 'newRate'. libofa-0.9.3/lib/signal_op.cpp:81:31: note: Function 'PrepareStereo' argument 1 names different: declaration 'rate' definition 'newRate'. libofa-0.9.3/lib/signal_op.cpp:94:29: style:inconclusive: Function 'PrepareMono' argument 1 names different: declaration 'rate' definition 'newRate'. [funcArgNamesDifferent] libofa-0.9.3/lib/signal_op.h:28:24: note: Function 'PrepareMono' argument 1 names different: declaration 'rate' definition 'newRate'. libofa-0.9.3/lib/signal_op.cpp:94:29: note: Function 'PrepareMono' argument 1 names different: declaration 'rate' definition 'newRate'. libofa-0.9.3/lib/signal_op.cpp:55:9: style: Variable 'samples' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/signal_op.cpp:115:9: style: Variable 'samples' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/signal_op.cpp:137:10: style: Variable 'samples' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/signal_op.cpp:157:9: style: Variable 'samples' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/signal_op.cpp:358:9: style: Variable 'samples' can be declared as pointer to const [constVariablePointer] libofa-0.9.3/lib/signal_op.cpp:235:11: style: Variable 'yn' is assigned a value that is never used. [unreadVariable] libofa-0.9.3/lib/signal_op.cpp:306:10: style: Variable 'factor' is assigned a value that is never used. [unreadVariable] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::Amplitude' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::Pitch' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::StartTime' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::EndTime' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::AvgAmplitude' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::AvgPitch' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::EndPitch' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::FrameDur' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::previous' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::next' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::higher' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:22:15: warning:inconclusive: Member variable 'TrackData_op::InTrack' is not initialized in the constructor. [uninitMemberVar] libofa-0.9.3/lib/trackdata_op.cpp:24:34: style:inconclusive: Function 'TrackData_op' argument 1 names different: declaration 'time' definition 'aTime'. [funcArgNamesDifferent] libofa-0.9.3/lib/trackdata_op.h:22:21: note: Function 'TrackData_op' argument 1 names different: declaration 'time' definition 'aTime'. libofa-0.9.3/lib/trackdata_op.cpp:24:34: note: Function 'TrackData_op' argument 1 names different: declaration 'time' definition 'aTime'. libofa-0.9.3/lib/trackdata_op.cpp:60:36: style:inconclusive: Function 'linkTo' argument 1 names different: declaration 'pr' definition 'tp'. [funcArgNamesDifferent] libofa-0.9.3/lib/trackdata_op.h:45:28: note: Function 'linkTo' argument 1 names different: declaration 'pr' definition 'tp'. libofa-0.9.3/lib/trackdata_op.cpp:60:36: note: Function 'linkTo' argument 1 names different: declaration 'pr' definition 'tp'. libofa-0.9.3/lib/trackdata_op.cpp:50:17: style: Variable 'trk' can be declared as pointer to const [constVariablePointer] diff: head libofa-0.9.3/examples/protocol.cpp:133:47: style: C-style pointer casting [cstyleCast] head libofa-0.9.3/examples/protocol.cpp:135:48: style: C-style pointer casting [cstyleCast] head libofa-0.9.3/examples/protocol.cpp:139:37: style: C-style pointer casting [cstyleCast] head libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:231:17: performance:inconclusive: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.h:115:4: note: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:231:17: note: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). head libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:676:17: performance:inconclusive: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.h:184:4: note: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:676:17: note: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). head libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:744:17: performance:inconclusive: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.h:194:4: note: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:744:17: note: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). 2.17.0 libofa-0.9.3/lib/AFLIB/aflibConverter.h:115:4: performance:inconclusive: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:231:17: note: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.h:115:4: note: Technically the member function 'aflibConverter::err_ret' can be static (but you may consider moving to unnamed namespace). 2.17.0 libofa-0.9.3/lib/AFLIB/aflibConverter.h:184:4: performance:inconclusive: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:676:17: note: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.h:184:4: note: Technically the member function 'aflibConverter::FilterUp' can be static (but you may consider moving to unnamed namespace). 2.17.0 libofa-0.9.3/lib/AFLIB/aflibConverter.h:194:4: performance:inconclusive: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/AFLIB/aflibConverter.cpp:744:17: note: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/AFLIB/aflibConverter.h:194:4: note: Technically the member function 'aflibConverter::FilterUD' can be static (but you may consider moving to unnamed namespace). head libofa-0.9.3/lib/JAMA/tnt_array2d.h:388:18: performance:inconclusive: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/JAMA/tnt_array2d.h:75:10: note: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/JAMA/tnt_array2d.h:388:18: note: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). 2.17.0 libofa-0.9.3/lib/JAMA/tnt_array2d.h:75:10: performance:inconclusive: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). [functionStatic] libofa-0.9.3/lib/JAMA/tnt_array2d.h:388:18: note: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). libofa-0.9.3/lib/JAMA/tnt_array2d.h:75:10: note: Technically the member function 'Array2D < float >::copy_' can be static (but you may consider moving to unnamed namespace). head libofa-0.9.3/lib/frametracker_op.cpp:62:18: style:inconclusive: Technically the member function 'FrameTracker_op::FindPeaks' can be const. [functionConst] libofa-0.9.3/lib/frametracker_op.h:53:7: note: Technically the member function 'FrameTracker_op::FindPeaks' can be const. libofa-0.9.3/lib/frametracker_op.cpp:62:18: note: Technically the member function 'FrameTracker_op::FindPeaks' can be const. 2.17.0 libofa-0.9.3/lib/frametracker_op.h:53:7: style:inconclusive: Technically the member function 'FrameTracker_op::FindPeaks' can be const. [functionConst] libofa-0.9.3/lib/frametracker_op.cpp:62:18: note: Technically the member function 'FrameTracker_op::FindPeaks' can be const. libofa-0.9.3/lib/frametracker_op.h:53:7: note: Technically the member function 'FrameTracker_op::FindPeaks' can be const. head libofa-0.9.3/lib/signal_op.cpp:291:12: style:inconclusive: Technically the member function 'Signal_op::Normalize' can be const. [functionConst] libofa-0.9.3/lib/signal_op.h:33:7: note: Technically the member function 'Signal_op::Normalize' can be const. libofa-0.9.3/lib/signal_op.cpp:291:12: note: Technically the member function 'Signal_op::Normalize' can be const. head libofa-0.9.3/lib/signal_op.cpp:353:12: style:inconclusive: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. [functionConst] libofa-0.9.3/lib/signal_op.h:35:9: note: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. libofa-0.9.3/lib/signal_op.cpp:353:12: note: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. 2.17.0 libofa-0.9.3/lib/signal_op.h:33:7: style:inconclusive: Technically the member function 'Signal_op::Normalize' can be const. [functionConst] libofa-0.9.3/lib/signal_op.cpp:291:12: note: Technically the member function 'Signal_op::Normalize' can be const. libofa-0.9.3/lib/signal_op.h:33:7: note: Technically the member function 'Signal_op::Normalize' can be const. 2.17.0 libofa-0.9.3/lib/signal_op.h:35:9: style:inconclusive: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. [functionConst] libofa-0.9.3/lib/signal_op.cpp:353:12: note: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. libofa-0.9.3/lib/signal_op.h:35:9: note: Technically the member function 'Signal_op::GetCrossCorrelation' can be const. DONE