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.15MB] [CPU: ▼7.19ms] Passed 4 tests
Analyzing server-side resources used by VoguePay plugin for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.94 ▼3.43 |
Dashboard /wp-admin | 3.21 ▼0.09 | 39.44 ▼12.76 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 42.38 ▼10.26 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.43 | 83.08 ▼2.31 |
Media Library /wp-admin/upload.php | 3.21 ▼0.01 | 34.55 ▲0.34 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for VoguePay plugin for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲36 | 13.23 ▼1.42 | 1.74 ▼0.24 | 47.16 ▲4.82 |
Dashboard /wp-admin | 2,216 ▲28 | 5.88 ▼0.02 | 126.31 ▲19.55 | 43.21 ▲1.40 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▲0.03 | 41.97 ▲5.41 | 39.13 ▲3.34 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 23.41 ▲0.07 | 618.24 ▼80.01 | 47.77 ▼6.55 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.30 ▲0.17 | 99.50 ▼14.67 | 42.30 ▼3.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: nigeria, voguepay, online payment, woocommerce, payment plugin...
woo-voguepay/woo-voguepay.php 92% from 13 tests
"VoguePay plugin for WooCommerce" version 1.5.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- 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
No dangerous file extensions were detected888 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 256 | 84 | 594 |
PO File | 1 | 94 | 94 | 256 |
JavaScript | 2 | 8 | 0 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 7.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/pay-via-voguepay.png | 10.27KB | 3.75KB | ▼ 63.52% |