2026-05-01 23:39 ftp://ftp.de.debian.org/debian/pool/main/f/fswatch/fswatch_1.14.0+repack.orig.tar.xz 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 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 152 144 elapsed-time: 0.7 0.5 head-timing-info: old-timing-info: head results: fswatch-1.14.0/fswatch/src/fswatch.cpp:134:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:249:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSW_ALL_EVENT_FLAGS [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:285:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:311:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:335:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:352:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:367:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:385:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:398:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:405:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:415:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_format_callbacks [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:455:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable system_default_monitor_type [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:571:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter_exclude [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:774:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noop_callbacks [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:845:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] fswatch-1.14.0/fswatch/src/fswatch.cpp:343:32: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] fswatch-1.14.0/fswatch/src/fswatch.cpp:343:52: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] fswatch-1.14.0/fswatch/src/gettext.h:152:29: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/gettext.h:173:5: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/gettext.h:224:8: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/gettext.h:232:21: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/gettext.h:272:8: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/gettext.h:280:21: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:136:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:137:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:138:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:140:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:190:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:193:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:219:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:222:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:224:13: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:225:24: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:238:14: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:285:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:291:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:307:14: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:311:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:316:14: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:320:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:325:14: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:329:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:350:7: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:444:15: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:477:53: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:677:22: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:712:10: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:720:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:735:20: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:847:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:853:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:885:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/fswatch.cpp:892:18: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/fswatch/src/gettext.h:264:15: style: The scope of the variable 'translation' can be reduced. [variableScope] fswatch-1.14.0/fswatch/src/fswatch.cpp:475:53: performance: Function parameter 'f' should be passed by const reference. [passedByValue] fswatch-1.14.0/fswatch/src/fswatch.cpp:259:33: style: Variable 'ex' can be declared as reference to const [constVariableReference] fswatch-1.14.0/fswatch/src/fswatch.cpp:343:14: style: Variable 'tm_time' can be declared as pointer to const [constVariablePointer] fswatch-1.14.0/fswatch/src/fswatch.cpp:427:61: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] fswatch-1.14.0/fswatch/src/fswatch.cpp:364:12: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] fswatch-1.14.0/libfswatch/src/libfswatch/c++/libfswatch_exception.hpp:51:5: style: Class 'libfsw_exception' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fswatch-1.14.0/libfswatch/src/libfswatch/c++/event.hpp:71:17: performance: Function 'get_path()' should return member 'path' by const reference. [returnByReference] fswatch-1.14.0/libfswatch/src/libfswatch/c++/event.hpp:85:33: performance: Function 'get_flags()' should return member 'evt_flags' by const reference. [returnByReference] fswatch-1.14.0/libfswatch/src/libfswatch/c++/filter.cpp:88:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extended [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/filter.cpp:60:35: style: Parameter 'filter' can be declared as reference to const [constParameterReference] fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CFStringRef [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:212:28: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:68:53: style:inconclusive: Function 'fsevents_monitor' argument 1 names different: declaration 'paths' definition 'paths_to_monitor'. [funcArgNamesDifferent] fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.hpp:67:47: note: Function 'fsevents_monitor' argument 1 names different: declaration 'paths' definition 'paths_to_monitor'. fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:68:53: note: Function 'fsevents_monitor' argument 1 names different: declaration 'paths' definition 'paths_to_monitor'. fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:70:44: style:inconclusive: Function 'fsevents_monitor' argument 3 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:197:11: style: Variable 'fse_monitor' can be declared as pointer to const [constVariablePointer] fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:89:12: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:96:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:119:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_ALL_EVENTS [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:200:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_ISDIR [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:220:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_ACCESS [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:316:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_Q_OVERFLOW [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:349:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:438:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:43:3: warning: Member variable 'inotify_monitor_impl::curr_time' has no initializer. [uninitMemberVarNoCtor] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:325:25: style: Unused private function: 'inotify_monitor::remove_watch' [unusedPrivateFunction] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.hpp:87:10: note: Unused private function: 'inotify_monitor::remove_watch' fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:325:25: note: Unused private function: 'inotify_monitor::remove_watch' fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.hpp:62:14: style: The destructor '~inotify_monitor' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.hpp:180:14: note: Virtual destructor in base class fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.hpp:62:14: note: Destructor in derived class fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.hpp:72:10: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.hpp:502:18: note: Virtual function in base class fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.hpp:72:10: note: Function in derived class fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:74:61: style:inconclusive: Function 'inotify_monitor' argument 1 names different: declaration 'paths' definition 'paths_to_monitor'. [funcArgNamesDifferent] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.hpp:55:46: note: Function 'inotify_monitor' argument 1 names different: declaration 'paths' definition 'paths_to_monitor'. fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:74:61: note: Function 'inotify_monitor' argument 1 names different: declaration 'paths' definition 'paths_to_monitor'. fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:76:42: style:inconclusive: Function 'inotify_monitor' argument 3 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:325:42: style:inconclusive: Function 'remove_watch' argument 1 names different: declaration 'fd' definition 'wd'. [funcArgNamesDifferent] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.hpp:87:27: note: Function 'remove_watch' argument 1 names different: declaration 'fd' definition 'wd'. fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:325:42: note: Function 'remove_watch' argument 1 names different: declaration 'fd' definition 'wd'. fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:74:61: performance: Function parameter 'paths_to_monitor' should be passed by const reference. [passedByValue] fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:190:23: style: Variable 'path' can be declared as reference to const [constVariableReference] fswatch-1.14.0/libfswatch/src/libfswatch/c++/libfswatch_exception.cpp:52:73: style:inconclusive: Function 'operator=' argument 1 names different: declaration '' definition 'that'. [funcArgNamesDifferentUnnamed] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:126:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable basic [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:293:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:310:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:375:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:315:17: style:inconclusive: Technically the member function 'fsw::monitor::is_running' can be const. [functionConst] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.hpp:403:10: note: Technically the member function 'fsw::monitor::is_running' can be const. fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:315:17: note: Technically the member function 'fsw::monitor::is_running' can be const. fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.hpp:514:18: style: Virtual function 'on_stop' is called from destructor '~monitor()' at line 226. Dynamic binding is not used. [virtualCallInConstructor] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:226:5: note: Calling stop fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:312:5: note: Calling on_stop fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.hpp:514:18: note: on_stop is a virtual function fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:294:9: style: Condition 'inactivity_thread' is always false [knownConditionTrueFalse] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:282:34: note: Assignment 'std::unique_ptrinactivity_thread', assigned value is 0 fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:294:9: note: Condition 'inactivity_thread' is always false fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:59:26: style:inconclusive: Function 'monitor' argument 3 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:151:73: performance: Function parameter 'options' should be passed by const reference. [passedByValue] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:156:49: performance: Function parameter 'name' should be passed by const reference. [passedByValue] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:185:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:330:50: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.hpp:54:14: style: The destructor '~poll_monitor' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.hpp:180:14: note: Virtual destructor in base class fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.hpp:54:14: note: Destructor in derived class fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.hpp:57:10: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.hpp:502:18: note: Virtual function in base class fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.hpp:57:10: note: Function in derived class fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor_factory.cpp:72:50: style:inconclusive: Function 'create_monitor' argument 4 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor_factory.cpp:136:50: style:inconclusive: Function 'create_monitor' argument 4 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor_factory.cpp:70:69: performance: Function parameter 'paths' should be passed by const reference. [passedByValue] fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor_factory.cpp:159:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] fswatch-1.14.0/libfswatch/src/libfswatch/c++/path_utils.cpp:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/path_utils.cpp:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.cpp:44:3: debug: Failed to parse 'typedef struct poll_monitor :: poll_monitor_data { fsw_hash_map < string , poll_monitor :: watched_file_info > tracked_files ; } poll_monitor_data ;'. The checking continues anyway. [simplifyTypedef] fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.cpp:52:36: style:inconclusive: Function 'poll_monitor' argument 3 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.cpp:176:18: style: Variable 'path' can be declared as reference to const [constVariableReference] fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.cpp:189:18: style: Variable 'path' can be declared as reference to const [constVariableReference] fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.cpp:161:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ACTION_ADDED [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:81:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_IO_INCOMPLETE [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:86:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_NOTIFY_ENUM_DIR [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:108:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:121:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:154:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:79:32: style:inconclusive: Technically the member function 'fsw::directory_change_event::is_io_incomplete' can be const. [functionConst] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.hpp:56:10: note: Technically the member function 'fsw::directory_change_event::is_io_incomplete' can be const. fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:79:32: note: Technically the member function 'fsw::directory_change_event::is_io_incomplete' can be const. fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:84:32: style:inconclusive: Technically the member function 'fsw::directory_change_event::is_buffer_overflowed' can be const. [functionConst] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.hpp:57:10: note: Technically the member function 'fsw::directory_change_event::is_buffer_overflowed' can be const. fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:84:32: note: Technically the member function 'fsw::directory_change_event::is_buffer_overflowed' can be const. fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_handle.hpp:59:5: style: Class 'win_handle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_error_message.hpp:57:5: style: Class 'win_error_message' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.hpp:55:5: style: Class 'directory_change_event' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fswatch-1.14.0/libfswatch/src/libfswatch/gettext.h:152:29: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/gettext.h:173:5: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/gettext.h:224:8: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/gettext.h:232:21: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/gettext.h:272:8: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/gettext.h:280:21: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:75:59: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:76:63: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:93:5: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:112:5: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:119:71: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:121:5: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:154:17: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:99:93: style: Same expression on both sides of '|'. [duplicateExpression] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_directory_change_event.cpp:99:123: style: Same expression on both sides of '|'. [duplicateExpression] fswatch-1.14.0/libfswatch/src/libfswatch/gettext.h:264:15: style: The scope of the variable 'translation' can be reduced. [variableScope] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_paths.cpp:29:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CCP_POSIX_TO_WIN_W [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_paths.cpp:41:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CCP_WIN_W_TO_POSIX [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_paths.cpp:30:55: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_paths.cpp:42:55: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_paths.cpp:27:35: performance: Function parameter 'path' should be passed by const reference. [passedByValue] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_paths.cpp:39:35: performance: Function parameter 'path' should be passed by const reference. [passedByValue] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_strings.cpp:27:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_UTF8 [valueFlowBailoutIncompleteVar] fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_strings.cpp:36:32: style: C-style pointer casting [cstyleCast] fswatch-1.14.0/libfswatch/src/libfswatch/c/libfswatch.cpp:629:35: style:inconclusive: Function 'fsw_set_callback' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] fswatch-1.14.0/libfswatch/src/libfswatch/c/libfswatch_log.cpp:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diff: head fswatch-1.14.0/fswatch/src/fswatch.cpp:427:61: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:70:44: style:inconclusive: Function 'fsevents_monitor' argument 3 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CFStringRef [valueFlowBailoutIncompleteVar] 2.20.0 fswatch-1.14.0/libfswatch/src/libfswatch/c++/fsevents_monitor.cpp:91:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFStringEncodingUTF8 [valueFlowBailoutIncompleteVar] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:43:3: warning: Member variable 'inotify_monitor_impl::curr_time' has no initializer. [uninitMemberVarNoCtor] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/inotify_monitor.cpp:76:42: style:inconclusive: Function 'inotify_monitor' argument 3 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/libfswatch_exception.cpp:52:73: style:inconclusive: Function 'operator=' argument 1 names different: declaration '' definition 'that'. [funcArgNamesDifferentUnnamed] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.cpp:59:26: style:inconclusive: Function 'monitor' argument 3 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] 2.20.0 fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor.hpp:210:66: performance: Function parameter 'options' should be passed by const reference. [passedByValue] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor_factory.cpp:136:50: style:inconclusive: Function 'create_monitor' argument 4 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/monitor_factory.cpp:72:50: style:inconclusive: Function 'create_monitor' argument 4 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] 2.20.0 fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.cpp:118:22: style:inconclusive: Technically the member function 'fsw::poll_monitor::add_path' can be const. [functionConst] fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.hpp:80:10: note: Technically the member function 'fsw::poll_monitor::add_path' can be const. fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.cpp:118:22: note: Technically the member function 'fsw::poll_monitor::add_path' can be const. head fswatch-1.14.0/libfswatch/src/libfswatch/c++/poll_monitor.cpp:52:36: style:inconclusive: Function 'poll_monitor' argument 3 names different: declaration '' definition 'context'. [funcArgNamesDifferentUnnamed] head fswatch-1.14.0/libfswatch/src/libfswatch/c++/windows/win_paths.cpp:39:35: performance: Function parameter 'path' should be passed by const reference. [passedByValue] head fswatch-1.14.0/libfswatch/src/libfswatch/c/libfswatch.cpp:629:35: style:inconclusive: Function 'fsw_set_callback' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.20.0 fswatch-1.14.0/libfswatch/src/libfswatch/c/libfswatch.cpp:730:26: style: The if condition is the same as the previous if condition [duplicateCondition] fswatch-1.14.0/libfswatch/src/libfswatch/c/libfswatch.cpp:722:9: note: First condition fswatch-1.14.0/libfswatch/src/libfswatch/c/libfswatch.cpp:730:26: note: Second condition DONE