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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.41ms] Passed 4 tests
This is a short check of server-side resources used by Gateway for Wallet One and Easy Digital Downloads
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.63 ▲0.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.79 ▼10.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.09 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.04 ▼2.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.75 ▲2.44 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Gateway for Wallet One and Easy Digital Downloads
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.24 ▼0.31 | 1.71 ▼0.42 | 44.17 ▲0.83 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▲0.01 | 89.25 ▲1.72 | 42.57 ▲2.56 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.00 ▲0.01 | 33.33 ▼1.44 | 34.97 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.11 ▼0.06 | 672.06 ▼18.73 | 56.26 ▲7.33 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.17 ▲0.04 | 108.77 ▲8.23 | 46.98 ▲1.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
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 just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
gateway-for-wallet-one-and-easy-digital-downloads/gateway-for-wallet-one-and-easy-digital-downloads.php Passed 13 tests
"Gateway for Wallet One and Easy Digital Downloads" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
37 characters long description:
Adds a payment gateway for Wallet One
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin543 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 137 | 172 | 425 |
PO File | 1 | 41 | 42 | 118 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 67.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 27.78% |
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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wmi_icon.png | 4.34KB | 1.51KB | ▼ 65.23% |