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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 40.33 ▲4.90 |
Dashboard /wp-admin | 3.42 ▲0.11 | 46.72 ▲1.11 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 46.53 ▼3.39 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.83 ▼6.79 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 33.90 ▲0.47 |
Search Admin Menus /wp-admin/options-general.php?page=wp_easy_admin | 3.31 | 30.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲86 | 14.36 ▲0.08 | 2.19 ▲0.43 | 48.44 ▲9.64 |
Dashboard /wp-admin | 2,256 ▲85 | 5.59 ▲0.01 | 82.29 ▼7.06 | 37.77 ▼7.24 |
Posts /wp-admin/edit.php | 2,158 ▲58 | 2.01 ▲0.03 | 36.29 ▼3.98 | 33.37 ▼6.18 |
Add New Post /wp-admin/post-new.php | 1,579 ▲51 | 23.11 ▲0.13 | 635.92 ▼18.95 | 53.01 ▼2.16 |
Media Library /wp-admin/upload.php | 1,452 ▲52 | 4.22 ▼0.10 | 98.17 ▲1.39 | 45.90 ▲1.47 |
Search Admin Menus /wp-admin/options-general.php?page=wp_easy_admin | 881 | 2.02 | 22.97 | 32.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 86 | 248 | 301 |
JavaScript | 1 | 28 | 3 | 112 |
CSS | 1 | 10 | 0 | 85 |
PO File | 1 | 23 | 23 | 67 |
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 code | 0.41 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 28 | |
▷ Static methods | 6 | 21.43% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 14.29% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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