Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php+9
Undefined variable: num
Server metrics [RAM: ▼1.89MB] [CPU: ▼49.53ms] Passed 4 tests
An overview of server-side resources used by WP eCommerce Payment Gateway - CashBill
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.28 ▼32.99 |
Dashboard /wp-admin | 2.12 ▼1.19 | 7.16 ▼39.43 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 8.28 ▼38.82 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 6.36 ▼86.87 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.21 ▼28.89 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
cashbill_id |
db_upgraded |
cashbill_key |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
cashbill_test |
Browser metrics Passed 4 tests
Checking browser requirements for WP eCommerce Payment Gateway - CashBill
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.67 ▼1.01 | 1.57 ▼0.53 | 40.33 ▼3.89 |
Dashboard /wp-admin | 2,220 ▲29 | 5.84 ▼0.06 | 93.84 ▼4.49 | 60.93 ▲20.77 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.14 ▲0.14 | 34.01 ▼4.58 | 32.88 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,524 ▼9 | 17.72 ▼5.60 | 708.05 ▲8.16 | 57.72 ▲0.84 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.15 ▼0.14 | 96.67 ▼6.74 | 75.47 ▲29.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php+9
Undefined variable: num
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- cashbill_test
- cashbill_id
- cashbill_key
- db_upgraded
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 take a closer look at the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: num in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php on line 13
- > PHP Notice
Undefined variable: num in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php on line 12
- > PHP Notice
Undefined variable: num in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php on line 10
- > PHP Notice
Undefined variable: num in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php:16
- > PHP Notice
Undefined variable: num in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php on line 14
- > PHP Notice
Undefined variable: num in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php on line 9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: ekspresowe patnoci, payment, wp ecommerce, cashbill, patnoci...
wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php 85% from 13 tests
"WP eCommerce Payment Gateway - CashBill" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-ecommerce-payment-gateway-cashbill.php" instead of "wp-ecommerce-cashbill.php")
- Description: The description should be shorter than 140 characters (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin179 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 7 | 179 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/cashbill_50x50.png | 0.69KB | 0.86KB | 0.00% |
img/pdf-icon.png | 0.62KB | 0.75KB | 0.00% |
img/cashbill_100x39.png | 1.35KB | 1.42KB | 0.00% |