Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.03ms] 75% from 4 tests
This is a short check of server-side resources used by Easy Digital Downloads - Recent Purchases
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 750.86ms on /wp-admin/admin.php?page=wow-company)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 46.04 ▲6.68 |
Dashboard /wp-admin | 3.43 ▲0.08 | 49.86 ▼10.26 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 62.72 ▲13.66 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 92.53 ▼8.92 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.54 ▲4.39 |
Get More /wp-admin/admin.php?page=wow-company | 3.57 | 750.86 |
EDD Recent Purchases /wp-admin/admin.php?page=edd-recent-purchases | 3.38 | 38.57 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 79 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_wow_edd_recent_purchases |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Easy Digital Downloads - Recent Purchases: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲100 | 14.36 ▼0.02 | 1.90 ▲0.13 | 42.02 ▲1.90 |
Dashboard /wp-admin | 2,269 ▲92 | 5.62 ▲0.04 | 85.84 ▲0.34 | 38.73 ▼1.65 |
Posts /wp-admin/edit.php | 2,173 ▲73 | 2.04 ▼0.10 | 41.65 ▲4.56 | 36.58 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,561 ▲30 | 18.91 ▼4.34 | 585.69 ▼90.09 | 65.18 ▲0.56 |
Media Library /wp-admin/upload.php | 1,471 ▲71 | 4.28 ▲0.05 | 98.27 ▲1.59 | 40.44 ▼0.91 |
Get More /wp-admin/admin.php?page=wow-company | 1,652 | 2.09 | 24.62 | 91.28 |
EDD Recent Purchases /wp-admin/admin.php?page=edd-recent-purchases | 1,789 | 6.79 | 132.36 | 79.55 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_wow_edd_recent_purchases
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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 require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (List of Downloads with image), #2 (List of Downloads with avatar), #3 (Admin), #4 (Admin)
edd-recent-purchases/edd-recent-purchases.php Passed 13 tests
The entry point to "Easy Digital Downloads - Recent Purchases" version 1.0.2 is a PHP file that has certain tags in its header comment area
55 characters long description:
Create and show easy digital downloads recent purchases
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin10,570 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 9 | 37 | 3,325 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 19 | 115 | 279 | 1,038 |
JavaScript | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 2 | 33.33% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 27 | 96.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.57% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
No PNG images were found in this plugin