Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.87ms] Passed 4 tests
Server-side resources used by Gateway Payougo Checkout
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.24 ▼1.53 |
Dashboard /wp-admin | 3.37 ▲0.07 | 52.85 ▼0.05 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 54.85 ▲5.67 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 91.19 ▼5.96 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 41.67 ▲4.08 |
Server storage [IO: ▲0.34MB] [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: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Gateway Payougo Checkout
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 14.74 ▲0.35 | 1.69 ▼0.58 | 41.32 ▼6.49 |
Dashboard /wp-admin | 2,241 ▲38 | 5.86 ▲0.94 | 113.95 ▲9.67 | 46.09 ▲6.63 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.01 ▼0.01 | 36.76 ▼1.74 | 36.71 ▲5.60 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 22.93 ▲5.39 | 613.18 ▼8.31 | 70.77 ▲1.29 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.21 ▼0.02 | 97.79 ▼11.02 | 41.74 ▼4.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
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
No browser issues were 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
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #2, #3, #4 in gateway-payougo-checkout/assets to your readme.txt
gateway-payougo-checkout/gateway-payougo-checkout.php Passed 13 tests
The principal PHP file in "Gateway Payougo Checkout" v. 1.0.5 is loaded by WordPress automatically on each request
111 characters long description:
Accept all Mobile money payment (Orange, MTN), Simplify your merchant services and your payment gateway today!.
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 plugin5,918 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,131 | 1,710 | 5,456 |
JavaScript | 6 | 94 | 42 | 408 |
CSS | 1 | 4 | 0 | 54 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 21.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 174.00 |
Average method complexity | 3.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 3 | 8.11% |
▷ Concrete classes | 34 | 91.89% |
▷ Final classes | 0 | 0.00% |
Methods | 250 | |
▷ Static methods | 2 | 0.80% |
▷ Public methods | 213 | 85.20% |
▷ Protected methods | 33 | 13.20% |
▷ Private methods | 4 | 1.60% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 88 | |
▷ Global constants | 3 | 3.41% |
▷ Class constants | 85 | 96.59% |
▷ Public constants | 85 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/payougo_small.png | 2.81KB | 1.94KB | ▼ 31.17% |
assets/img/buy.png | 9.12KB | 3.16KB | ▼ 65.32% |