|
| checkersReport | | information | Active checkers: There was critical errors (use --checkers-report=<filename> to see details) |
libmenu/cafemenu-tree.c |
0 | noValidConfiguration | | information | This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. |
libmenu/cafemenu-tree.h |
24 | preprocessorErrorDirective | | error | #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" |
libmenu/desktop-entries.c |
514 | constParameterPointer | 398 | style | Parameter 'entry' can be declared as pointer to const |
519 | constParameterPointer | 398 | style | Parameter 'entry' can be declared as pointer to const |
525 | constParameterPointer | 398 | style | Parameter 'entry' can be declared as pointer to const |
609 | constVariablePointer | 398 | style | Variable 'desktop_entry' can be declared as pointer to const |
775 | staticFunction | | style | The function 'desktop_entry_set_get_count' should have static linkage since it is not used outside of its translation unit. |
libmenu/entry-directories.c |
205 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
465 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
654 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
680 | constParameterPointer | 398 | style | Parameter 'ed' can be declared as pointer to const |
775 | staticFunction | | style | The function 'entry_directory_ref' should have static linkage since it is not used outside of its translation unit. |
1027 | staticFunction | | style | The function 'entry_directory_list_ref' should have static linkage since it is not used outside of its translation unit. |
1060 | constParameterPointer | 398 | style | Parameter 'list' can be declared as pointer to const |
1104 | staticFunction | | style | The function '_entry_directory_list_compare' should have static linkage since it is not used outside of its translation unit. |
1106 | constVariablePointer | 398 | style | Variable 'al' can be declared as pointer to const |
1106 | constVariablePointer | 398 | style | Variable 'bl' can be declared as pointer to const |
1127 | constParameterCallback | 398 | style | Parameter '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). |
1152 | staticFunction | | style | The function '_entry_directory_list_empty_desktop_cache' should have static linkage since it is not used outside of its translation unit. |
libmenu/menu-layout.c |
125 | constParameterPointer | 398 | style | Parameter 'node' can be declared as pointer to const |
196 | staticFunction | | style | The function 'menu_layout_node_ref' should have static linkage since it is not used outside of its translation unit. |
206 | staticFunction | | style | The function 'menu_layout_node_unref' should have static linkage since it is not used outside of its translation unit. |
267 | staticFunction | | style | The function 'menu_layout_node_new' should have static linkage since it is not used outside of its translation unit. |
324 | constParameterPointer | 398 | style | Parameter 'node' can be declared as pointer to const |
330 | constParameterPointer | 398 | style | Parameter 'node' can be declared as pointer to const |
336 | staticFunction | | style | The function 'menu_layout_node_get_root' should have static linkage since it is not used outside of its translation unit. |
350 | staticFunction | | style | The function 'menu_layout_node_get_content_as_path' should have static linkage since it is not used outside of its translation unit. |
407 | staticFunction | | style | The function 'menu_layout_node_insert_before' should have static linkage since it is not used outside of its translation unit. |
431 | staticFunction | | style | The function 'menu_layout_node_insert_after' should have static linkage since it is not used outside of its translation unit. |
469 | staticFunction | | style | The function 'menu_layout_node_append_child' should have static linkage since it is not used outside of its translation unit. |
486 | staticFunction | | style | The function 'menu_layout_node_unlink' should have static linkage since it is not used outside of its translation unit. |
526 | staticFunction | | style | The function 'menu_layout_node_steal' should have static linkage since it is not used outside of its translation unit. |
577 | constParameterPointer | 398 | style | Parameter 'node' can be declared as pointer to const |
583 | constParameterPointer | 398 | style | Parameter 'node' can be declared as pointer to const |
589 | staticFunction | | style | The function 'menu_layout_node_set_content' should have static linkage since it is not used outside of its translation unit. |
602 | constVariablePointer | 398 | style | Variable 'nr' can be declared as pointer to const |
614 | constVariablePointer | 398 | style | Variable 'nr' can be declared as pointer to const |
736 | constVariablePointer | 398 | style | Variable 'legacy' can be declared as pointer to const |
793 | staticFunction | | style | The function 'menu_layout_node_menu_get_app_dirs' should have static linkage since it is not used outside of its translation unit. |
807 | staticFunction | | style | The function 'menu_layout_node_menu_get_directory_dirs' should have static linkage since it is not used outside of its translation unit. |
821 | constParameterPointer | 398 | style | Parameter 'node' can be declared as pointer to const |
821 | staticFunction | | style | The function 'menu_layout_node_move_get_old' should have static linkage since it is not used outside of its translation unit. |
838 | constParameterPointer | 398 | style | Parameter 'node' can be declared as pointer to const |
838 | staticFunction | | style | The function 'menu_layout_node_move_get_new' should have static linkage since it is not used outside of its translation unit. |
857 | constVariablePointer | 398 | style | Variable 'legacy' can be declared as pointer to const |
867 | staticFunction | | style | The function 'menu_layout_node_legacy_dir_set_prefix' should have static linkage since it is not used outside of its translation unit. |
883 | constVariablePointer | 398 | style | Variable 'merge_file' can be declared as pointer to const |
893 | staticFunction | | style | The function 'menu_layout_node_merge_file_set_type' should have static linkage since it is not used outside of its translation unit. |
908 | constVariablePointer | 398 | style | Variable 'merge' can be declared as pointer to const |
947 | constVariablePointer | 398 | style | Variable 'default_layout' can be declared as pointer to const |
961 | constVariablePointer | 398 | style | Variable 'menuname' can be declared as pointer to const |
1075 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |
1353 | constParameterPointer | 398 | style | Parameter 'node' can be declared as pointer to const |
1426 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1441 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1468 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1674 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
1693 | varFuncNullUB | 475 | portability | Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. |
2087 | redundantAssignment | 563 | style | Variable 'prev' is reassigned a value before the old one has been used. |
libmenu/menu-monitor.c |
283 | staticFunction | | style | The function 'menu_monitor_ref' should have static linkage since it is not used outside of its translation unit. |
293 | constParameterPointer | 398 | style | Parameter 'monitor' can be declared as pointer to const |
389 | constVariablePointer | 398 | style | Variable 'tmp' can be declared as pointer to const |