Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.62ms] Passed 4 tests
Server-side resources used by Easy Digital Downloads - Purchase Details
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.19 ▼6.42 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.28 ▼0.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.76 ▼2.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.80 ▼25.17 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 35.10 ▲0.05 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Digital Downloads - Purchase Details
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 13.22 ▼1.53 | 1.84 ▼0.10 | 39.75 ▼7.91 |
Dashboard /wp-admin | 2,216 ▲31 | 5.87 ▼0.03 | 114.07 ▲11.86 | 45.41 ▲1.90 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▼0.04 | 35.19 ▼0.83 | 35.49 ▲2.82 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 23.03 ▲5.39 | 637.05 ▼90.46 | 58.63 ▲7.08 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.27 ▲0.06 | 101.11 ▼4.21 | 43.30 ▼1.14 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: downloads, purchase, e-store, download, digital downloads
edd-purchase-details/edd-purchase-details.php Passed 13 tests
This is the main PHP file of "Easy Digital Downloads - Purchase Details" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
49 characters long description:
Easy Digital Downloads Access to Purchase Details
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
No dangerous file extensions were detected388 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 72 | 191 | 364 |
CSS | 1 | 5 | 4 | 24 |
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.34 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 2 | 66.67% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin