Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.04ms] Passed 4 tests
A check of server-side resources used by Enhanced Ecommerce Plus for Easy Digital Downloads
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 36.81 ▼6.45 |
Dashboard /wp-admin | 3.43 ▲0.08 | 42.73 ▼15.03 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.49 ▼0.22 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 90.18 ▲1.47 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.58 ▼2.46 |
Server storage [IO: ▲1.92MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Enhanced Ecommerce Plus for Easy Digital Downloads: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.32 ▼0.98 | 1.84 ▲0.11 | 37.85 ▼9.65 |
Dashboard /wp-admin | 2,218 ▲30 | 5.80 ▲0.93 | 97.29 ▼12.22 | 42.85 ▲1.50 |
Posts /wp-admin/edit.php | 2,104 ▲10 | 1.98 ▼0.06 | 40.22 ▼0.21 | 35.57 ▲1.41 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.35 ▼0.13 | 652.97 ▼32.55 | 52.29 ▼5.26 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.26 ▲0.08 | 99.59 ▼8.82 | 40.00 ▼4.61 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Plugin Settings.), #2 (Ecommerce Overview in Google™ Analytics), #3 (Shopping Behaviour Analysis in Google™ Analytics), #4 (Product Performance in Google™ Analytics), #5 (Sales Performance in Google™ Analytics)
enhanced-ecommerce-plus-easy-digital-downloads/plugin.php 85% from 13 tests
The main file in "Enhanced Ecommerce Plus for Easy Digital Downloads" v. 1.2 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:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("enhanced-ecommerce-plus-easy-digital-downloads.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin565 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 109 | 62 | 565 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 66.00 |
▷ Minimum class complexity | 66.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 1.90MB with 1.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 383.60KB | 116.30KB | ▼ 69.68% |
screenshot-1.png | 92.15KB | 24.80KB | ▼ 73.09% |
screenshot-2.png | 425.98KB | 135.14KB | ▼ 68.28% |
screenshot-5.png | 554.90KB | 173.95KB | ▼ 68.65% |
screenshot-4.png | 485.50KB | 154.25KB | ▼ 68.23% |