Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.47MB] [CPU: ▼7.22ms] Passed 4 tests
Server-side resources used by Adminimize
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.53 | 41.82 ▲1.29 |
Dashboard /wp-admin | 3.77 ▲0.43 | 48.15 ▼21.40 |
Posts /wp-admin/edit.php | 3.85 ▲0.50 | 48.01 ▼1.95 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 92.56 ▼6.80 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 41.16 ▲6.51 |
Adminimize /wp-admin/options-general.php?page=adminimize-options | 3.84 | 59.88 |
Server storage [IO: ▲0.35MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 53 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
mw_adminimize |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Adminimize
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.37 ▲0.11 | 1.72 ▲0.02 | 36.56 ▼6.36 |
Dashboard /wp-admin | 2,199 ▲21 | 5.64 ▼0.07 | 92.40 ▼21.90 | 40.22 ▼5.90 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.04 | 40.07 ▲2.13 | 36.45 ▼1.06 |
Add New Post /wp-admin/post-new.php | 1,529 ▲2 | 23.41 ▲0.38 | 624.09 ▲19.69 | 42.62 ▼15.91 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.20 ▲0.03 | 100.78 ▲3.81 | 41.61 ▼1.46 |
Adminimize /wp-admin/options-general.php?page=adminimize-options | 8,597 | 2.50 | 54.11 | 167.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 32× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/adminimize/inc-setup/helping_hands.php
- > /wp-content/plugins/adminimize/inc-options/im_export_options.php
- > /wp-content/plugins/adminimize/inc-options/menu_options.php
- > /wp-content/plugins/adminimize/inc-setup/messages.php
- > /wp-content/plugins/adminimize/inc-setup/admin-footer.php
- > /wp-content/plugins/adminimize/inc-options/write_page_options.php
- > /wp-content/plugins/adminimize/inc-options/theme_options.php
- > /wp-content/plugins/adminimize/inc-options/self_settings.php
- > /wp-content/plugins/adminimize/inc-options/minimenu.php
- > /wp-content/plugins/adminimize/adminimize_page.php
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (22 tag instead of maximum 10); only the first 5 tags are used in your directory listing
adminimize/adminimize.php 85% from 13 tests
"Adminimize" version 1.11.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
- Description: The description should be shorter than 140 characters (currently 371 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected5,733 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 882 | 946 | 5,520 |
CSS | 7 | 23 | 8 | 110 |
JavaScript | 11 | 19 | 24 | 103 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 80 | |
▷ Named functions | 77 | 96.25% |
▷ Anonymous functions | 3 | 3.75% |
Constants | 2 | |
▷ Global constants | 2 | 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
PNG images were not found in this plugin