Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼9.82ms] Passed 4 tests
Analyzing server-side resources used by Admin Management Xtended
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.30 ▼3.63 |
Dashboard /wp-admin | 3.63 ▲0.28 | 46.38 ▼14.32 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 49.93 ▲4.32 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 93.14 ▼15.45 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 35.79 ▼5.88 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 112 new files
Database: no new tables, 10 new options
New WordPress options |
---|
ame_imgset |
widget_theysaidso_widget |
can_compress_scripts |
ame_show_orderoptions |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
ame_toggle_showinvisposts |
ame_version |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Management Xtended
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.18 | 6.06 ▲4.39 | 39.64 ▼3.28 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▲0.99 | 107.27 ▼9.74 | 42.85 ▼0.09 |
Posts /wp-admin/edit.php | 2,240 ▲154 | 2.50 ▲0.48 | 43.97 ▲4.62 | 65.33 ▲31.25 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.09 ▼0.32 | 678.95 ▼27.02 | 58.96 ▲2.56 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.22 ▲0.05 | 96.44 ▼9.89 | 43.14 ▼2.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 10 options in the database
- ame_show_orderoptions
- can_compress_scripts
- ame_imgset
- theysaidso_admin_options
- widget_recent-comments
- ame_toggle_showinvisposts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- ame_version
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-management-xtended/post-functions.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/admin-management-xtended/admin-management-xtended.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-management-xtended/page-functions.php:130
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-management-xtended/link-functions.php:64
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-management-xtended/media-functions.php:100
- > PHP Notice
Undefined index: wp_version in wp-content/plugins/admin-management-xtended/admin-management-xtended.php on line 61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in admin-management-xtended/assets to your readme.txt
- Tags: There are too many tags (14 tag instead of maximum 10)
admin-management-xtended/admin-management-xtended.php 92% from 13 tests
"Admin Management Xtended" version 2.4.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 430 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected5,612 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 24 | 1,114 | 2,664 | 2,656 |
JavaScript | 12 | 167 | 769 | 1,644 |
PHP | 6 | 228 | 624 | 1,156 |
CSS | 2 | 13 | 6 | 156 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 53 | |
▷ Named functions | 53 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
20 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/set1/nosticky.png | 2.80KB | 0.13KB | ▼ 95.43% |
img/set1/comments_open.png | 0.21KB | 0.16KB | ▼ 24.41% |
img/set1/publish.png | 0.21KB | 0.16KB | ▼ 25.57% |
img/set1/page_white_edit.png | 0.22KB | 0.16KB | ▼ 26.22% |
img/set2/comments_closed.png | 0.65KB | 0.83KB | 0.00% |