Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼6.27MB] [CPU: ▼872,513.18ms] Passed 4 tests
Server-side resources used by Easy Digital Downloads - Pricing Select
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼18.80 | 5.82 ▼3,489,837.15 |
Dashboard /wp-admin | 2.14 ▼1.25 | 7.25 ▼58.80 |
Posts /wp-admin/edit.php | 2.15 ▼1.26 | 8.35 ▼46.37 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.79 | 6.64 ▼110.40 |
Media Library /wp-admin/upload.php | 2.15 ▼1.13 | 5.93 ▼30.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Easy Digital Downloads - Pricing Select: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.33 ▼0.02 | 1.76 ▼0.23 | 46.21 ▲6.00 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.11 | 88.44 ▲3.53 | 38.05 ▼5.14 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.01 | 35.49 ▼6.66 | 37.86 ▲1.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.17 ▲4.90 | 685.71 ▲44.24 | 59.49 ▼9.39 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.12 ▼0.05 | 112.07 ▲13.54 | 47.34 ▲4.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/easy-digital-downloads-pricing-select/edd-pricing-select.php+132
Undefined property: EDD_Extension_Activation::$run
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: variable pricing, easy digital downloads
easy-digital-downloads-pricing-select/edd-pricing-select.php 92% from 13 tests
The primary PHP file in "Easy Digital Downloads - Pricing Select" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-digital-downloads-pricing-select.php" instead of "edd-pricing-select.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
No dangerous file extensions were detected99 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 43 | 92 | 91 |
Markdown | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin