100% admin-menu-manager

Code Review | Admin Menu Manager

WordPress plugin Admin Menu Manager scored 100% from 54 tests.

About plugin

  • Plugin page: admin-menu-manager
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.6
  • WordPress version: 5.9.2
  • First release: Apr 27, 2015
  • Latest release: Sep 6, 2016
  • Number of updates: 13
  • Update frequency: every 62.1 days
  • Top authors: wearerequired (100%)

Code review

54 tests

User reviews

26 reviews

Install metrics

1,000+ active / 14,241 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼296.29ms] Passed 4 tests

An overview of server-side resources used by Admin Menu Manager
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1457.08 ▲7.66
Dashboard /wp-admin3.49 ▲0.0934.48 ▲1.29
Posts /wp-admin/edit.php3.72 ▲0.0838.68 ▲1.79
Add New Post /wp-admin/post-new.php6.96 ▼0.0193.71 ▼1,190.61
Media Library /wp-admin/upload.php3.37 ▲0.0826.23 ▲2.36

Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Admin Menu Manager
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,820 ▲6615.85 ▲0.135.85 ▼0.022.50 ▼0.05
Dashboard /wp-admin2,926 ▲656.12 ▼0.06121.43 ▼13.86161.68 ▼2.57
Posts /wp-admin/edit.php2,734 ▲463.31 ▲0.0761.50 ▼0.14140.82 ▼3.49
Add New Post /wp-admin/post-new.php1,711 ▲5019.68 ▲3.17384.67 ▼31.61153.64 ▼2.76
Media Library /wp-admin/upload.php1,735 ▲375.58 ▲0.07143.57 ▲1.70185.62 ▼4.72

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: admin menus, order, admin, dashboard, menu

admin-menu-manager/admin-menu-manager.php Passed 13 tests

"Admin Menu Manager" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
69 characters long description:
Manage the WordPress admin menu using a simple drag & drop interface.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin662 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PO File191237

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity21.67
▷ Minimum class complexity7.00
▷ Maximum class complexity50.00
Average method complexity3.14
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
▷ Static methods413.79%
▷ Public methods2172.41%
▷ Protected methods310.34%
▷ Private methods517.24%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin