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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.75ms] Passed 4 tests
A check of server-side resources used by Xoo Sort
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.61 ▼6.07 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.01 ▼12.59 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.81 ▲5.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.25 ▼5.28 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.11 ▲0.96 |
Xoo Sort /wp-admin/admin.php?page=xoo_sort | 3.18 | 30.70 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Xoo Sort: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 13.24 ▼1.07 | 4.03 ▲2.11 | 42.39 ▼1.96 |
Dashboard /wp-admin | 2,227 ▲42 | 4.86 ▼1.18 | 97.59 ▼9.65 | 90.44 ▲47.07 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 1.97 ▼0.08 | 37.92 ▼3.61 | 33.69 ▼4.85 |
Add New Post /wp-admin/post-new.php | 1,539 ▲19 | 23.22 ▼0.01 | 688.33 ▲44.75 | 54.01 ▼2.92 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.12 ▼0.07 | 95.35 ▼6.72 | 70.35 ▲26.38 |
Xoo Sort /wp-admin/admin.php?page=xoo_sort | 1,015 | 1.72 | 24.95 | 30.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=xoo_sort
- > Warning in wp-content/plugins/xoo-sort/xoo-sort.php+80
Invalid argument supplied for foreach()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=xoo_sort
- > Notice in wp-content/plugins/xoo-sort/xoo-sort.php+80
Undefined variable: admin_bar_menus
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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 require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: Please add an image for screenshot #1 (Sort list of your websites on network install alphabetically.)
xoo-sort/xoo-sort.php 92% from 13 tests
"Xoo Sort" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin597 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 73 | 128 | 425 |
CSS | 1 | 9 | 3 | 158 |
JavaScript | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 23 | 79.31% |
▷ Anonymous functions | 6 | 20.69% |
Constants | 13 | |
▷ Global constants | 13 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/img/xoocode.favicon.menu.png | 0.43KB | 0.33KB | ▼ 21.87% |