89% ajax-admin-menu-editor

Code Review | AJAX Admin Menu Editor

WordPress plugin AJAX Admin Menu Editor scored89%from 54 tests.

About plugin

  • Plugin page: ajax-admin-menu-e...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.2.1
  • WordPress version: 6.3.1
  • First release: Jun 18, 2019
  • Latest release: Jun 18, 2019
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: lhertzler (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /739 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼7.38ms] Passed 4 tests

Server-side resources used by AJAX Admin Menu Editor
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0243.62 ▼2.03
Dashboard /wp-admin3.32 ▼0.0249.03 ▼13.54
Posts /wp-admin/edit.php3.37 ▲0.0248.34 ▼4.89
Add New Post /wp-admin/post-new.php5.92 ▲0.0488.98 ▼9.07
Media Library /wp-admin/upload.php3.25 ▲0.0237.60 ▲4.57

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for AJAX Admin Menu Editor
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,879 ▲9313.18 ▼1.172.02 ▼0.0943.11 ▼2.27
Dashboard /wp-admin2,260 ▲834.87 ▼0.8091.53 ▼3.8639.66 ▼0.66
Posts /wp-admin/edit.php2,175 ▲722.26 ▲0.2541.37 ▲1.5633.05 ▼2.12
Add New Post /wp-admin/post-new.php1,538 ▲223.26 ▲0.27675.71 ▲59.8938.01 ▼11.95
Media Library /wp-admin/upload.php1,468 ▲744.46 ▲0.20110.34 ▲9.6646.75 ▲2.94

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
The official readme.txt is a good inspiration

ajax-admin-menu-editor/ajax-admin-menu-editor.php 85% from 13 tests

The primary PHP file in "AJAX Admin Menu Editor" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 158 characters long)
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected204 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions5100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin