Benchmarks
Plugin footprint 83% 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.00MB] [CPU: ▼2.73ms] Passed 4 tests
This is a short check of server-side resources used by Vesicash Escrow Plugin for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.98 ▼9.07 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.90 ▲0.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.58 ▲1.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.03 ▼3.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.50 ▲0.85 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Vesicash Escrow Plugin for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.33 | 1.82 ▲0.13 | 45.55 ▼1.00 |
Dashboard /wp-admin | 2,209 ▲18 | 5.83 ▲0.96 | 93.89 ▼14.64 | 35.33 ▼5.61 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.00 | 37.05 ▲1.50 | 36.08 ▲1.61 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.47 ▲0.31 | 622.84 ▼58.78 | 60.56 ▼17.98 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.27 ▲0.08 | 95.22 ▼13.41 | 43.59 ▼2.65 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/vesicash-escrow-plugin-for-woocommerce/woo-vesicash-gateway.php
- > /wp-content/plugins/vesicash-escrow-plugin-for-woocommerce/admin/class-wc-vesicash-escrow-gateway.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== vesicash-escrow-plugin-for-woocommerce ===
)
vesicash-escrow-plugin-for-woocommerce/woo-vesicash-gateway.php 85% from 13 tests
Analyzing the main PHP file in "Vesicash Escrow Plugin for WooCommerce" version 1.7.1
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("vesicash-escrow-plugin-for-woocommerce.php" instead of "woo-vesicash-gateway.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
There were no executable files found in this plugin843 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 187 | 279 | 843 |
PHP code Passed 2 tests
Analyzing 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.27 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 61.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 38.46% |
Functions | 14 | |
▷ Named functions | 14 | 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
No PNG images were found in this plugin