Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.54ms] Passed 4 tests
An overview of server-side resources used by EDD Sale Price
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.02 ▼1.68 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.16 ▼5.48 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.09 ▲3.62 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.05 ▲10.17 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.87 ▲1.38 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for EDD Sale Price
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.19 ▼1.21 | 1.74 ▲0.18 | 42.99 ▼1.49 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▲1.00 | 105.38 ▼11.45 | 39.04 ▼2.57 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.02 | 40.08 ▲0.96 | 34.04 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,533 ▼3 | 23.48 ▲0.23 | 582.97 ▼9.62 | 54.35 ▼4.35 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.02 | 94.03 ▼1.14 | 41.30 ▲0.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Overview download listing), #2 (Download detail page pricing), #3 (Checkout price - requires EDD 2.3!), #4 (Admin download sale price setting), #5 (Admin download variable sale price settings), #6 (Another download detail page example)
edd-sale-price/edd-sale-price.php Passed 13 tests
The primary PHP file in "EDD Sale Price" version 1.0.5.1 is used by WordPress to initiate all plugin functionality
34 characters long description:
Put your digital products on sale.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin302 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 156 | 263 | 271 |
PO File | 1 | 5 | 8 | 31 |
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.59 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
6 compressed PNG files occupy 0.08MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 7.80KB | 8.13KB | 0.00% |
screenshot-5.png | 17.41KB | 18.36KB | 0.00% |
screenshot-4.png | 7.55KB | 7.85KB | 0.00% |
screenshot-6.png | 19.88KB | 20.53KB | 0.00% |
screenshot-3.png | 10.99KB | 11.98KB | 0.00% |