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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.24ms] Passed 4 tests
A check of server-side resources used by Woocommerce Ripple Gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.57 ▼1.93 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.05 ▼13.51 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.15 ▼6.92 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.66 ▼10.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.48 ▲1.88 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Woocommerce Ripple Gateway
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.43 ▲0.12 | 1.59 ▼0.82 | 42.06 ▼12.66 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▼0.02 | 104.74 ▼3.95 | 39.85 ▼0.53 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.01 | 39.59 ▼1.40 | 35.64 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,516 ▼24 | 17.72 ▼5.58 | 605.74 ▼47.01 | 56.01 ▼4.31 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.03 | 93.24 ▼11.65 | 40.63 ▼0.36 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: "rwG1An46e6mz5MJkXsXSqsupHsMU2vcdLY"
woo-ripple-gateway/woocommerce-ripple-gateway.php 85% from 13 tests
"Woocommerce Ripple Gateway" version 0.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-ripple-gateway.php" instead of "woocommerce-ripple-gateway.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,291 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 147 | 144 | 665 |
PHP | 6 | 117 | 65 | 462 |
PO File | 1 | 27 | 29 | 93 |
CSS | 1 | 1 | 0 | 41 |
Markdown | 1 | 12 | 0 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 5.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 6 | 20.00% |
▷ Public methods | 28 | 93.33% |
▷ Protected methods | 1 | 3.33% |
▷ Private methods | 1 | 3.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.23MB with 0.13MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ripple_logo.png | 11.18KB | 6.53KB | ▼ 41.65% |
assets/screenshot-1.png | 222.61KB | 67.29KB | ▼ 69.77% |