Accelerator key check
This document contains some code to traverse the menus and generate a reports the contents of the main menu items and it's accelerator keys. If there is a duplicate and the menu item has a sub menu then that means that the user won't be able to reach the second menu item with the same accelerator key. Therefore it will be marked with a red background color. If it has the same key but don't have a sub-menu it is marked with a yellow background, this is still a problem that should be fixed but the problem is just not quite as severe.
If nothing happens when you press Generate report then the macros have probably been blocked for security reasons. To allow the report tobe generated you need change this setting. To do this:
Go to Tools → Options (or if your'e using Mac LibreOffice → Preferences...)
In the tree list to the left of the dialog navigate to LibreOffice → Security
Click on the button Macro security...
Set the Security Level to Medium
Close and reopen this document
You will get a warning that the document contains macros, click the button Enable Macros.
Of course you need to pay attention when this dialog shows up and don't blindly allow macros to run if you don't know where it comes from and what it does.
Generate report