Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼9.38ms] Passed 4 tests
This is a short check of server-side resources used by EasyCPMods Toolbox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.66 ▼9.86 |
Dashboard /wp-admin | 3.40 ▲0.05 | 45.66 ▼14.90 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 50.10 ▲3.06 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.10 ▼11.94 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.55 ▼0.83 |
EasyCPMods /wp-admin/admin.php?page=ecpm-menu | 3.29 | 31.67 |
EasyCPMods Toolbox /wp-admin/admin.php?page=ecpm_etb_settings_page | 3.29 | 29.23 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
ecpm_etb_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EasyCPMods Toolbox
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.46 ▼0.19 | 1.64 ▼0.16 | 42.10 ▼0.49 |
Dashboard /wp-admin | 2,232 ▲47 | 5.83 ▼0.01 | 95.26 ▼7.07 | 36.47 ▼4.59 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.02 ▲0.01 | 39.44 ▲2.53 | 34.34 ▲2.21 |
Add New Post /wp-admin/post-new.php | 1,561 ▲47 | 18.29 ▲0.71 | 617.77 ▼32.18 | 60.93 ▲13.95 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.20 ▼0.04 | 95.85 ▼0.40 | 40.72 ▼2.32 |
EasyCPMods /wp-admin/admin.php?page=ecpm-menu | 844 | 2.02 | 22.59 | 28.78 |
EasyCPMods Toolbox /wp-admin/admin.php?page=ecpm_etb_settings_page | 847 | 2.02 | 21.78 | 27.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- ecpm_etb_settings
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 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)
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easycpmods-toolbox/ecpm-toolbox.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Plugin's settings and update status), #2 (EasyCPMods menu group), #3 (Update icon appears when updates are available)
easycpmods-toolbox/ecpm-toolbox.php 77% from 13 tests
The entry point to "EasyCPMods Toolbox" version 2.1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("easycpmods-toolbox.php" instead of "ecpm-toolbox.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 161 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin664 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 95 | 34 | 536 |
PO File | 1 | 24 | 29 | 67 |
CSS | 1 | 2 | 0 | 61 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
34 compressed PNG files occupy 0.40MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/remove-detached-images.png | 3.70KB | 3.91KB | 0.00% |
images/easy-video-embed.png | 3.27KB | 3.35KB | 0.00% |
images/better-featured-slider.png | 5.55KB | 5.83KB | 0.00% |
images/easycpmods-toolbox.png | 3.24KB | 3.44KB | 0.00% |
images/easy-qr-codes.png | 9.77KB | 5.77KB | ▼ 40.97% |