Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/woocommerce-pesapal-standard-gateway/woocomerce-pesapal-standard.php+205
syntax error, unexpected 'new' (T_NEW)
Server metrics [RAM: ▼0.01MB] [CPU: ▼4.79ms] Passed 4 tests
Analyzing server-side resources used by Woocommerce Pesapal Standard Payment Gateway
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.79 ▼3.35 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.93 ▼15.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.92 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.19 ▲2.01 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.34 ▼1.89 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woocommerce Pesapal Standard Payment Gateway
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▼0.00 | 1.92 ▼0.16 | 41.79 ▲3.26 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▲0.00 | 92.21 ▲1.04 | 37.92 ▼5.04 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.02 | 41.27 ▼1.65 | 34.80 ▼4.11 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.42 ▼0.15 | 607.13 ▼21.94 | 48.08 ▲0.61 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.19 ▼0.00 | 99.00 ▼5.30 | 43.30 ▼4.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/woocommerce-pesapal-standard-gateway/woocomerce-pesapal-standard.php on line 205
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
woocommerce-pesapal-standard-gateway/woocomerce-pesapal-standard.php 92% from 13 tests
The main file in "Woocommerce Pesapal Standard Payment Gateway" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woocommerce-pesapal-standard-gateway.php" instead of "woocomerce-pesapal-standard.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
Everything looks great! No dangerous files found in this plugin804 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 225 | 263 | 804 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 2 | 18.18% |
▷ Concrete classes | 9 | 81.82% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 10 | 14.49% |
▷ Public methods | 58 | 84.06% |
▷ Protected methods | 2 | 2.90% |
▷ Private methods | 9 | 13.04% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin