Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲0.05ms] Passed 4 tests
A check of server-side resources used by Customer Details - Easy Digital Downloads
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 40.98 ▲0.10 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.49 ▲1.55 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.54 ▲0.53 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.39 ▼1.31 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 36.10 ▲0.88 |
Server storage [IO: ▲0.02MB] [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: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Customer Details - Easy Digital Downloads
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.80 ▲0.42 | 1.73 ▼0.21 | 42.89 ▲0.14 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▲0.04 | 97.93 ▼3.30 | 37.20 ▼2.22 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.02 ▼0.02 | 33.01 ▼6.93 | 34.19 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 18.21 ▲0.53 | 631.73 ▼32.36 | 56.40 ▲4.54 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.29 ▲0.08 | 91.39 ▼10.94 | 41.43 ▼3.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: edd, customer-history, edd-customer-info, customer-details
customer-details-easy-digital-downloads/custom-details.php 69% from 13 tests
The main PHP script in "Customer Details - Easy Digital Downloads" version 1.0 is automatically included on every request by WordPress
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 ("customer-details-easy-digital-downloads.php" instead of "custom-details.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires at least: Required version must match the one declared in readme.txt ("4.4" instead of "5.2")
- Requires PHP: Required version must match the one declared in readme.txt ("5.3" instead of "7.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin280 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 117 | 183 | 264 |
CSS | 1 | 4 | 5 | 14 |
JavaScript | 1 | 0 | 1 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 1 | 4.17% |
▷ Private methods | 1 | 4.17% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin