2025-11-21 06:35 ftp://ftp.de.debian.org/debian/pool/main/f/fldiff/fldiff_1.1+0.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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 108 108 elapsed-time: 3.2 3.7 head-timing-info: old-timing-info: head results: fldiff-1.1/DiffOpenWindow.cxx:49:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_ALIGN_TOP_LEFT [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffChooser.h:52:15: style:inconclusive: Either there is a missing 'override', or the member function 'DiffChooser::directory' can be const. [functionConst] fldiff-1.1/DiffOpenWindow.h:39:3: style: Class 'DiffOpenWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fldiff-1.1/DiffOpenWindow.cxx:50:17: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffOpenWindow.cxx:55:17: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffOpenWindow.cxx:59:21: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffOpenWindow.cxx:62:20: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffChooser.cxx:54:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_MULTI_BROWSER [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffChooser.cxx:146:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_Enter [valueFlowBailoutIncompleteVar] fldiff-1.1/FavoritesMenu.cxx:43:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER [valueFlowBailoutIncompleteVar] fldiff-1.1/FavoritesMenu.cxx:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_PUSH [valueFlowBailoutIncompleteVar] fldiff-1.1/FavoritesMenu.cxx:93:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER [valueFlowBailoutIncompleteVar] fldiff-1.1/FavoritesMenu.cxx:121:6: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:143:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_THIN_UP_BOX [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffWindow.cxx:254:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffWindow.cxx:827:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffWindow.cxx:858:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_WHITE [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffWindow.cxx:967:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffWindow.cxx:1233:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffChooser.cxx:53:21: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffChooser.cxx:57:19: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffChooser.cxx:60:18: style: C-style pointer casting [cstyleCast] fldiff-1.1/FavoritesWindow.cxx:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_HOLD_BROWSER [valueFlowBailoutIncompleteVar] fldiff-1.1/FavoritesWindow.cxx:184:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER [valueFlowBailoutIncompleteVar] fldiff-1.1/FavoritesWindow.cxx:240:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffChooser.cxx:134:4: style: The scope of the variable 'ptr' can be reduced. [variableScope] fldiff-1.1/DiffChooser.cxx:140:15: style: The scope of the variable 'file' can be reduced. [variableScope] fldiff-1.1/PtProcess.cxx:62:38: style:inconclusive: Function 'fopen' argument 1 names different: declaration 'file' definition 'cmd'. [funcArgNamesDifferent] fldiff-1.1/PtProcess.h:29:28: note: Function 'fopen' argument 1 names different: declaration 'file' definition 'cmd'. fldiff-1.1/PtProcess.cxx:62:38: note: Function 'fopen' argument 1 names different: declaration 'file' definition 'cmd'. fldiff-1.1/FavoritesWindow.cxx:43:21: style: C-style pointer casting [cstyleCast] fldiff-1.1/FavoritesWindow.cxx:45:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/FavoritesWindow.cxx:47:20: style: C-style pointer casting [cstyleCast] fldiff-1.1/FavoritesWindow.cxx:49:18: style: C-style pointer casting [cstyleCast] fldiff-1.1/FavoritesWindow.cxx:51:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/FavoritesWindow.cxx:53:20: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.h:95:15: style:inconclusive: Either there is a missing 'override', or the member function 'DiffView::left' can be const. [functionConst] fldiff-1.1/DiffView.h:96:9: style:inconclusive: Either there is a missing 'override', or the member function 'DiffView::line_changed' can be const. [functionConst] fldiff-1.1/DiffView.h:99:15: style:inconclusive: Either there is a missing 'override', or the member function 'DiffView::right' can be const. [functionConst] fldiff-1.1/DiffWindow.cxx:145:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:147:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:149:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:151:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:153:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:156:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:158:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:160:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:162:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:164:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:167:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:169:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:171:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:173:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:176:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:178:16: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:180:18: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:225:10: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:227:10: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:723:20: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:785:10: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:791:10: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:793:10: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:1150:10: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffWindow.cxx:1157:10: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_BLACK [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffView.cxx:310:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_DAMAGE_ALL [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffView.cxx:655:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_DAMAGE_SCROLL [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffView.cxx:1046:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffView.cxx:1405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_DAMAGE_SCROLL [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffView.cxx:1425:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_DAMAGE_SCROLL [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffWindow.cxx:464:7: style: The scope of the variable 'xoffset' can be reduced. [variableScope] fldiff-1.1/DiffView.cxx:1506:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_DAMAGE_SCROLL [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffWindow.cxx:465:2: style: The scope of the variable 'ystart' can be reduced. [variableScope] fldiff-1.1/DiffView.cxx:1527:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FL_DAMAGE_SCROLL [valueFlowBailoutIncompleteVar] fldiff-1.1/DiffWindow.cxx:466:2: style: The scope of the variable 'yend' can be reduced. [variableScope] fldiff-1.1/DiffWindow.cxx:467:2: style: The scope of the variable 'pstart' can be reduced. [variableScope] fldiff-1.1/DiffWindow.cxx:468:2: style: The scope of the variable 'pend' can be reduced. [variableScope] fldiff-1.1/DiffWindow.cxx:469:7: style: The scope of the variable 'line' can be reduced. [variableScope] fldiff-1.1/DiffWindow.cxx:470:2: style: The scope of the variable 'startline' can be reduced. [variableScope] fldiff-1.1/DiffWindow.cxx:471:9: style: The scope of the variable 'endline' can be reduced. [variableScope] fldiff-1.1/DiffWindow.cxx:472:2: style: The scope of the variable 'lines' can be reduced. [variableScope] fldiff-1.1/DiffWindow.cxx:964:15: style: The scope of the variable 'current' can be reduced. [variableScope] fldiff-1.1/DiffWindow.cxx:955:16: style: Local variable 'tabwidth' shadows outer function [shadowFunction] fldiff-1.1/DiffWindow.h:89:9: note: Shadowed declaration fldiff-1.1/DiffWindow.cxx:955:16: note: Shadow variable fldiff-1.1/DiffWindow.cxx:956:5: style: Local variable 'textsize' shadows outer function [shadowFunction] fldiff-1.1/DiffWindow.h:95:9: note: Shadowed declaration fldiff-1.1/DiffWindow.cxx:956:5: note: Shadow variable fldiff-1.1/DiffWindow.cxx:963:5: style: Variable 'cancel' can be declared as pointer to const [constVariablePointer] fldiff-1.1/DiffWindow.cxx:1225:5: style: Variable 'close' can be declared as pointer to const [constVariablePointer] fldiff-1.1/DiffView.cxx:93:22: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:98:22: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:284:22: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:284:52: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:689:32: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:689:62: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:706:32: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:706:62: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:1450:9: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:1525:29: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:1525:59: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:1537:29: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:1537:59: style: C-style pointer casting [cstyleCast] fldiff-1.1/DiffView.cxx:126:8: style: The scope of the variable 'start' can be reduced. [variableScope] fldiff-1.1/DiffView.cxx:127:3: style: The scope of the variable 'end' can be reduced. [variableScope] fldiff-1.1/DiffView.cxx:305:9: style: The scope of the variable 'number' can be reduced. [variableScope] fldiff-1.1/DiffView.cxx:885:15: style: The scope of the variable 'cptr' can be reduced. [variableScope] fldiff-1.1/DiffView.cxx:890:4: style: Local variable 'left' shadows outer function [shadowFunction] fldiff-1.1/DiffView.h:95:15: note: Shadowed declaration fldiff-1.1/DiffView.cxx:890:4: note: Shadow variable fldiff-1.1/DiffView.cxx:891:4: style: Local variable 'right' shadows outer function [shadowFunction] fldiff-1.1/DiffView.h:99:15: note: Shadowed declaration fldiff-1.1/DiffView.cxx:891:4: note: Shadow variable fldiff-1.1/DiffView.cxx:895:3: style: Local variable 'count' shadows outer function [shadowFunction] fldiff-1.1/DiffView.h:92:8: note: Shadowed declaration fldiff-1.1/DiffView.cxx:895:3: note: Shadow variable fldiff-1.1/DiffView.cxx:1183:22: style: Local variable 'line' shadows outer variable [shadowVariable] fldiff-1.1/DiffView.cxx:887:3: note: Shadowed declaration fldiff-1.1/DiffView.cxx:1183:22: note: Shadow variable fldiff-1.1/DiffView.cxx:888:4: style: Variable 'dirname' can be declared as pointer to const [constVariablePointer] fldiff-1.1/DiffView.cxx:890:4: style: Variable 'left' can be declared as pointer to const [constVariablePointer] fldiff-1.1/DiffView.cxx:891:4: style: Variable 'right' can be declared as pointer to const [constVariablePointer] diff: DONE