LineIdCWESeverityMessageTimestamp
checkersReportinformationActive checkers: There was critical errors (use --checkers-report=<filename> to see details)Mon Dec 29 17:28:48 2025
libmenu/cafemenu-tree.c
0noValidConfigurationinformationThis file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details.Mon Dec 29 17:28:48 2025
libmenu/cafemenu-tree.h
24preprocessorErrorDirectiveerror#error "libcafe-menu should only be used if you understand that it's subject to frequent change, and is not supported as a fixed API/ABI or as part of the platform"Mon Dec 29 17:28:48 2025
libmenu/desktop-entries.c
514constParameterPointer398styleParameter 'entry' can be declared as pointer to constMon Dec 29 17:28:48 2025
519constParameterPointer398styleParameter 'entry' can be declared as pointer to constMon Dec 29 17:28:48 2025
525constParameterPointer398styleParameter 'entry' can be declared as pointer to constMon Dec 29 17:28:48 2025
609constVariablePointer398styleVariable 'desktop_entry' can be declared as pointer to constMon Dec 29 17:28:48 2025
775staticFunctionstyleThe function 'desktop_entry_set_get_count' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
libmenu/entry-directories.c
205constVariablePointer398styleVariable 'tmp' can be declared as pointer to constMon Dec 29 17:28:48 2025
465constVariablePointer398styleVariable 'tmp' can be declared as pointer to constMon Dec 29 17:28:48 2025
654constVariablePointer398styleVariable 'tmp' can be declared as pointer to constMon Dec 29 17:28:48 2025
680constParameterPointer398styleParameter 'ed' can be declared as pointer to constMon Dec 29 17:28:48 2025
775staticFunctionstyleThe function 'entry_directory_ref' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
1027staticFunctionstyleThe function 'entry_directory_list_ref' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
1060constParameterPointer398styleParameter 'list' can be declared as pointer to constMon Dec 29 17:28:48 2025
1104staticFunctionstyleThe function '_entry_directory_list_compare' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
1106constVariablePointer398styleVariable 'al' can be declared as pointer to constMon Dec 29 17:28:48 2025
1106constVariablePointer398styleVariable 'bl' can be declared as pointer to constMon Dec 29 17:28:48 2025
1127constParameterCallback398styleParameter 'ed' can be declared as pointer to const. However it seems that 'get_all_func' is a callback function, if 'ed' is declared with const you might also need to cast function pointer(s).Mon Dec 29 17:28:48 2025
1152staticFunctionstyleThe function '_entry_directory_list_empty_desktop_cache' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
libmenu/menu-layout.c
125constParameterPointer398styleParameter 'node' can be declared as pointer to constMon Dec 29 17:28:48 2025
196staticFunctionstyleThe function 'menu_layout_node_ref' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
206staticFunctionstyleThe function 'menu_layout_node_unref' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
267staticFunctionstyleThe function 'menu_layout_node_new' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
324constParameterPointer398styleParameter 'node' can be declared as pointer to constMon Dec 29 17:28:48 2025
330constParameterPointer398styleParameter 'node' can be declared as pointer to constMon Dec 29 17:28:48 2025
336staticFunctionstyleThe function 'menu_layout_node_get_root' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
350staticFunctionstyleThe function 'menu_layout_node_get_content_as_path' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
407staticFunctionstyleThe function 'menu_layout_node_insert_before' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
431staticFunctionstyleThe function 'menu_layout_node_insert_after' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
469staticFunctionstyleThe function 'menu_layout_node_append_child' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
486staticFunctionstyleThe function 'menu_layout_node_unlink' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
526staticFunctionstyleThe function 'menu_layout_node_steal' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
577constParameterPointer398styleParameter 'node' can be declared as pointer to constMon Dec 29 17:28:48 2025
583constParameterPointer398styleParameter 'node' can be declared as pointer to constMon Dec 29 17:28:48 2025
589staticFunctionstyleThe function 'menu_layout_node_set_content' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
602constVariablePointer398styleVariable 'nr' can be declared as pointer to constMon Dec 29 17:28:48 2025
614constVariablePointer398styleVariable 'nr' can be declared as pointer to constMon Dec 29 17:28:48 2025
736constVariablePointer398styleVariable 'legacy' can be declared as pointer to constMon Dec 29 17:28:48 2025
793staticFunctionstyleThe function 'menu_layout_node_menu_get_app_dirs' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
807staticFunctionstyleThe function 'menu_layout_node_menu_get_directory_dirs' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
821constParameterPointer398styleParameter 'node' can be declared as pointer to constMon Dec 29 17:28:48 2025
821staticFunctionstyleThe function 'menu_layout_node_move_get_old' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
838constParameterPointer398styleParameter 'node' can be declared as pointer to constMon Dec 29 17:28:48 2025
838staticFunctionstyleThe function 'menu_layout_node_move_get_new' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
857constVariablePointer398styleVariable 'legacy' can be declared as pointer to constMon Dec 29 17:28:48 2025
867staticFunctionstyleThe function 'menu_layout_node_legacy_dir_set_prefix' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
883constVariablePointer398styleVariable 'merge_file' can be declared as pointer to constMon Dec 29 17:28:48 2025
893staticFunctionstyleThe function 'menu_layout_node_merge_file_set_type' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
908constVariablePointer398styleVariable 'merge' can be declared as pointer to constMon Dec 29 17:28:48 2025
947constVariablePointer398styleVariable 'default_layout' can be declared as pointer to constMon Dec 29 17:28:48 2025
961constVariablePointer398styleVariable 'menuname' can be declared as pointer to constMon Dec 29 17:28:48 2025
1075constVariablePointer398styleVariable 'tmp' can be declared as pointer to constMon Dec 29 17:28:48 2025
1353constParameterPointer398styleParameter 'node' can be declared as pointer to constMon Dec 29 17:28:48 2025
1426varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.Mon Dec 29 17:28:48 2025
1441varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.Mon Dec 29 17:28:48 2025
1468varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.Mon Dec 29 17:28:48 2025
1674varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.Mon Dec 29 17:28:48 2025
1693varFuncNullUB475portabilityPassing NULL after the last typed argument to a variadic function leads to undefined behaviour.Mon Dec 29 17:28:48 2025
2087redundantAssignment563styleVariable 'prev' is reassigned a value before the old one has been used.Mon Dec 29 17:28:48 2025
libmenu/menu-monitor.c
283staticFunctionstyleThe function 'menu_monitor_ref' should have static linkage since it is not used outside of its translation unit.Mon Dec 29 17:28:48 2025
293constParameterPointer398styleParameter 'monitor' can be declared as pointer to constMon Dec 29 17:28:48 2025
389constVariablePointer398styleVariable 'tmp' can be declared as pointer to constMon Dec 29 17:28:48 2025