Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.92ms] Passed 4 tests
Analyzing server-side resources used by EDD Checkout Message
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.06 ▼8.00 |
Dashboard /wp-admin | 3.31 ▼0.04 | 42.97 ▼13.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.85 ▼1.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.54 ▼0.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.83 ▲2.52 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 104 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for EDD Checkout Message
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.37 ▲0.09 | 1.60 ▲0.01 | 37.42 ▼1.42 |
Dashboard /wp-admin | 2,195 ▲20 | 5.62 ▼0.00 | 91.78 ▼7.97 | 42.00 ▲3.21 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.94 ▼0.02 | 40.29 ▲4.36 | 35.29 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,539 ▲4 | 23.21 ▲5.03 | 617.38 ▼12.63 | 52.94 ▼11.02 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.24 ▲0.07 | 100.39 ▲3.89 | 40.79 ▼2.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/edd-checkout-message/includes/views/ResetSettingsView.php
- > /wp-content/plugins/edd-checkout-message/includes/views/MessageView.php
- > /wp-content/plugins/edd-checkout-message/includes/views/EddMessageStyleView.php
- 36× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'EddCm\\Lib\\Base\\AbstractOperator' not found in wp-content/plugins/edd-checkout-message/includes/Lib/Operators/GreaterThanOperator.php:9
- > PHP Fatal error
Uncaught Error: Interface 'EddCm\\Lib\\Base\\Operator' not found in wp-content/plugins/edd-checkout-message/includes/Lib/Base/AbstractOperator.php:9
- > PHP Fatal error
Uncaught Error: Interface 'EddCm\\Lib\\Base\\Conditional' not found in wp-content/plugins/edd-checkout-message/includes/Lib/Base/AbstractConditionalObject.php:8
- > PHP Fatal error
Uncaught Error: Class 'EddCm\\Exceptions\\GeneralException' not found in wp-content/plugins/edd-checkout-message/includes/Exceptions/SingletonReinstantiation.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function EddCm\\_e() in wp-content/plugins/edd-checkout-message/includes/views/EddDownloadSelectorView.php:3
- > PHP Fatal error
Uncaught Error: Interface 'EddCm\\Lib\\Base\\Conditional' not found in wp-content/plugins/edd-checkout-message/includes/Lib/Base/Action.php:8
- > PHP Fatal error
Uncaught Error: Class 'EddCm\\Lib\\Conditions\\CartTotalPriceCondition' not found in wp-content/plugins/edd-checkout-message/includes/Lib/Conditions/CartTotalNumItemsCondition.php:9
- > PHP Fatal error
Uncaught Error: Class 'EddCm\\Main' not found in wp-content/plugins/edd-checkout-message/includes/views/PriceCompareFieldsView.php:8
- > PHP Fatal error
Uncaught Error: Class 'EddCm\\Controllers\\AbstractController' not found in wp-content/plugins/edd-checkout-message/includes/Controllers/MessagesController.php:12
- > PHP Fatal error
Uncaught Error: Class 'EddCm\\Lib\\Base\\AbstractCondition' not found in wp-content/plugins/edd-checkout-message/includes/Lib/Conditions/ItemInCartCondition.php:10
- > PHP Fatal error
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 Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: checkout message, checkout notices, easy digital downloads, edd checkout message
edd-checkout-message/edd-checkout-message.php 77% from 13 tests
The principal PHP file in "EDD Checkout Message" v. 1.0.7 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 145 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin9,488 lines of code in 79 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 3 | 64 | 0 | 3,167 |
JavaScript | 13 | 273 | 265 | 2,731 |
PHP | 50 | 447 | 1,366 | 1,541 |
CSS | 10 | 107 | 161 | 1,508 |
SVG | 1 | 0 | 0 | 520 |
JSON | 2 | 0 | 0 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 8 | 22.86% |
▷ Concrete classes | 27 | 77.14% |
▷ Final classes | 0 | 0.00% |
Methods | 188 | |
▷ Static methods | 38 | 20.21% |
▷ Public methods | 162 | 86.17% |
▷ Protected methods | 24 | 12.77% |
▷ Private methods | 2 | 1.06% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 29 | |
▷ Global constants | 10 | 34.48% |
▷ Class constants | 19 | 65.52% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
17 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
assets/css/images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
assets/css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
assets/js/jquery-chosen/docsupport/chosen.png | 3.39KB | 2.08KB | ▼ 38.62% |
assets/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |