Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.75ms] Passed 4 tests
Analyzing server-side resources used by Woocommerce Akouendy Gateway
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.72 ▼5.76 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.50 ▼8.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.26 ▼7.01 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.10 ▼14.18 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.81 ▲1.67 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Woocommerce Akouendy Gateway
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.32 | 2.34 ▲0.22 | 45.09 ▼0.33 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▼0.02 | 99.27 ▼23.54 | 39.44 ▼3.11 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.06 | 36.95 ▲0.75 | 31.77 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.42 ▲0.22 | 679.21 ▲2.50 | 55.75 ▼9.52 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.01 | 99.19 ▼11.90 | 45.08 ▼2.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- 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 shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: sngal, senegal, woocommerce, payment gateway, wave...
akouendy-woocommerce-orange-money-gateway/akouendy-woocommerce-gateway.php 92% from 13 tests
The main PHP file in "Woocommerce Akouendy Gateway" ver. 3.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("akouendy-woocommerce-orange-money-gateway.php" instead of "akouendy-woocommerce-gateway.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,186 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 236 | 110 | 1,182 |
JavaScript | 2 | 2 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 1 | 2.13% |
▷ Public methods | 42 | 89.36% |
▷ Protected methods | 1 | 2.13% |
▷ Private methods | 4 | 8.51% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.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
5 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/ banner-772x250.png | 9.87KB | 4.13KB | ▼ 58.17% |
assets/images/wave.png | 6.15KB | 2.46KB | ▼ 59.96% |
assets/images/orange-cash.png | 4.54KB | 1.82KB | ▼ 59.97% |
assets/images/orange-money.png | 4.54KB | 1.82KB | ▼ 59.97% |
assets/icon-256x256.png | 6.48KB | 3.14KB | ▼ 51.63% |