Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.16ms] Passed 4 tests
Analyzing server-side resources used by EDD Service Extended
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.39 ▼5.34 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.62 ▼6.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.07 ▼7.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 100.26 ▲7.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.93 ▲2.75 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_edd_dashboard_message |
New WordPress options |
---|
edd_message_db_version |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
EDD Service Extended: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.45 ▲0.04 | 1.67 ▼0.30 | 39.80 ▼3.87 |
Dashboard /wp-admin | 2,203 ▲18 | 5.85 ▼0.03 | 94.83 ▼6.06 | 38.67 ▼4.89 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 33.27 ▼7.25 | 34.21 ▼1.19 |
Add New Post /wp-admin/post-new.php | 1,542 ▲8 | 18.35 ▼4.62 | 588.08 ▼73.55 | 54.87 ▼0.24 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.32 ▲0.13 | 92.33 ▼5.25 | 41.06 ▼0.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_edd_dashboard_message
- Zombie WordPress options detected upon uninstall: 7 options
- edd_message_db_version
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/edd-service-extended/edd-message.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-service-extended/includes/add-custom-info-field-front.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-service-extended/includes/admin/add-custom-info-field.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (After activation a metabox (Initial Message/ Requirement) will be added to the ‘Add Downloads’ admin form, This message will be used as initial message of the conversation on purchasing any service), #2 (If “Easy Digital Downloads Frontend Submissions” plugin is used for multi vendors store then (Initial Message/ Requirement) input box will automatically get added to the form.), #3 (To display the form in the front end use shortcode [add_user_comment_edd] in the page ‘Payment confirmation’ already created by the Easy Digital Downloads plugin.)
edd-service-extended/edd-message.php 92% from 13 tests
The main file in "EDD Service Extended" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("edd-service-extended.php" instead of "edd-message.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected602 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 88 | 89 | 453 |
CSS | 1 | 2 | 1 | 116 |
JavaScript | 2 | 4 | 15 | 31 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
4 PNG files occupy 0.20MB with 0.13MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot04.png | 61.97KB | 22.40KB | ▼ 63.85% |
screenshot03.png | 28.87KB | 10.25KB | ▼ 64.50% |
screenshot01.png | 70.88KB | 23.22KB | ▼ 67.24% |
screenshot02.png | 43.43KB | 12.75KB | ▼ 70.64% |