Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.12ms] Passed 4 tests
Analyzing server-side resources used by Z Mini Admin Menu
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.64 ▼1.89 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.35 ▼2.29 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.20 ▼7.77 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.60 ▼4.51 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.32 ▼1.57 |
WP mini menu /wp-admin/options-general.php?page=z_mini_menu_plugin | 3.24 | 31.96 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Z Mini Admin Menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲41 | 14.36 ▲0.01 | 1.16 ▼0.62 | 44.75 ▲6.23 |
Dashboard /wp-admin | 2,223 ▲45 | 5.85 ▲0.16 | 94.55 ▼21.33 | 39.81 ▼4.05 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.33 ▲0.34 | 39.24 ▼1.10 | 34.19 ▼4.84 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.63 ▲0.73 | 622.94 ▼45.96 | 34.71 ▼33.37 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.40 ▲0.20 | 100.26 ▼0.46 | 41.96 ▼2.49 |
WP mini menu /wp-admin/options-general.php?page=z_mini_menu_plugin | 1,099 | 2.44 | 45.57 | 32.54 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: development, cleanup, admin menu, mini menu, elementor...
z-mini-admin-menu/z-mini-menu.php 92% from 13 tests
The entry point to "Z Mini Admin Menu" version 1.0.12 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("z-mini-admin-menu.php" instead of "z-mini-menu.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,282 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 236 | 177 | 733 |
JavaScript | 1 | 29 | 24 | 416 |
CSS | 1 | 2 | 7 | 112 |
Markdown | 1 | 16 | 0 | 19 |
XML | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 16.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin