Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.68ms] Passed 4 tests
Analyzing server-side resources used by www.paymentbillsservice.com Payment Gateway For WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.03 ▼1.44 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.43 ▼1.72 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.61 ▲3.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.72 ▼8.44 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.91 ▲0.90 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by www.paymentbillsservice.com Payment Gateway For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.02 | 1.66 ▼0.11 | 42.44 ▼0.73 |
Dashboard /wp-admin | 2,195 ▲17 | 5.55 ▼0.19 | 82.71 ▼35.09 | 38.77 ▼5.02 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.00 | 42.22 ▲7.18 | 39.05 ▲6.31 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.14 ▼0.04 | 673.60 ▲38.58 | 60.92 ▲1.31 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.25 ▲0.08 | 104.78 ▼0.85 | 47.35 ▲0.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pbs-gateway/payment-bills-service.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI ("")
- Screenshots: Please add images for these screenshots: #1 (Activate Plugin.), #2 (Go to WooCommerce Settings.), #3 (Select PBS tab.), #4 (Select PBS option.), #5 (Enable PBS option from this page.), #6 (Enter the details.), #7 (Set gateway mode.), #8 (Sample screenshot from checkout page)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== www.paymentbillsservice.com Payment Gateway For WooCommerce===
)
pbs-gateway/payment-bills-service.php 92% from 13 tests
"www.paymentbillsservice.com Payment Gateway For WooCommerce" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pbs-gateway.php" instead of "payment-bills-service.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected285 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 58 | 285 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.21MB with 0.10MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 49.78KB | 28.07KB | ▼ 43.61% |
screenshot-3.png | 48.41KB | 27.67KB | ▼ 42.84% |
screenshot-1.png | 56.05KB | 31.25KB | ▼ 44.25% |
screenshot-4.png | 56.36KB | 24.04KB | ▼ 57.34% |