Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.06ms] Passed 4 tests
Analyzing server-side resources used by EDD Purchase Gravatars
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.27 ▼5.31 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.75 ▼5.04 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 45.05 ▼3.94 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.11 ▲2.07 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.02 ▲3.25 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_edd_pg_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for EDD Purchase Gravatars
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.73 ▲0.33 | 1.74 ▼0.49 | 44.25 ▼3.16 |
Dashboard /wp-admin | 2,206 ▲15 | 5.83 ▲0.95 | 116.42 ▲4.56 | 43.49 ▲0.28 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.00 | 37.09 ▼1.00 | 34.43 ▲2.20 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.56 ▲0.07 | 659.81 ▲1.35 | 71.52 ▼1.18 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.11 ▼0.08 | 108.96 ▲7.71 | 45.93 ▲1.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_edd_pg_widget
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #2, #3, #4 in edd-purchase-gravatars/assets to your readme.txt
edd-purchase-gravatars/edd-purchase-gravatars.php 77% from 13 tests
The main PHP file in "EDD Purchase Gravatars" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- 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
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected377 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 121 | 155 | 309 |
PO File | 1 | 21 | 23 | 68 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 15 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.25% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin