84% wp-easy-admin

Code Review | Search Admin Menus

WordPress plugin Search Admin Menus scored84%from 54 tests.

About plugin

  • Plugin page: wp-easy-admin
  • Plugin version: 2.0
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.6
  • WordPress version: 6.3.1
  • First release: Oct 28, 2017
  • Latest release: Feb 25, 2021
  • Number of updates: 9
  • Update frequency: every 529.3 days
  • Top authors: vinod dalvi (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /1,322 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼2.15ms] Passed 4 tests

This is a short check of server-side resources used by Search Admin Menus
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0840.33 ▲4.90
Dashboard /wp-admin3.42 ▲0.1146.72 ▲1.11
Posts /wp-admin/edit.php3.53 ▲0.1746.53 ▼3.39
Add New Post /wp-admin/post-new.php6.02 ▲0.1385.83 ▼6.79
Media Library /wp-admin/upload.php3.34 ▲0.1133.90 ▲0.47
Search Admin Menus /wp-admin/options-general.php?page=wp_easy_admin3.3130.08

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Search Admin Menus
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,847 ▲8614.36 ▲0.082.19 ▲0.4348.44 ▲9.64
Dashboard /wp-admin2,256 ▲855.59 ▲0.0182.29 ▼7.0637.77 ▼7.24
Posts /wp-admin/edit.php2,158 ▲582.01 ▲0.0336.29 ▼3.9833.37 ▼6.18
Add New Post /wp-admin/post-new.php1,579 ▲5123.11 ▲0.13635.92 ▼18.9553.01 ▼2.16
Media Library /wp-admin/upload.php1,452 ▲524.22 ▼0.1098.17 ▲1.3945.90 ▲1.47
Search Admin Menus /wp-admin/options-general.php?page=wp_easy_admin8812.0222.9732.84

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/wp-easy-admin/admin/partials/admin-page.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

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
4 plugin tags: search admin menus, access admin menu, easy admin menu, admin menu

wp-easy-admin/wp-easy-admin.php Passed 13 tests

"Search Admin Menus" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
65 characters long description:
The plugin reduces your 40% time wasted on accessing admin menus.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin565 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP986248301
JavaScript1283112
CSS110085
PO File1232367

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity8.33
▷ Minimum class complexity1.00
▷ Maximum class complexity33.00
Average method complexity2.57
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes116.67%
Methods28
▷ Static methods621.43%
▷ Public methods2485.71%
▷ Protected methods00.00%
▷ Private methods414.29%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG images were found in this plugin