Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.46MB] [CPU: ▼0.82ms] Passed 4 tests
Analyzing server-side resources used by Boz Prod Woocommerce HiPay Wallet Pro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 41.56 ▼0.83 |
Dashboard /wp-admin | 3.76 ▲0.46 | 51.13 ▼1.65 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 52.85 ▲3.36 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.48 | 95.65 ▼3.59 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 39.27 ▲2.77 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Boz Prod Woocommerce HiPay Wallet Pro: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲86 | 13.41 ▼0.95 | 7.83 ▲5.91 | 39.70 ▼6.48 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.06 | 90.52 ▲5.04 | 36.82 ▼5.30 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▼0.01 | 40.16 ▲2.26 | 35.39 ▼3.30 |
Add New Post /wp-admin/post-new.php | 1,533 ▲2 | 23.18 ▲0.23 | 637.27 ▼8.80 | 53.49 ▼10.68 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.16 ▼0.01 | 99.92 ▼7.36 | 43.43 ▼3.10 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 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 0% 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 items
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/assets/js/index.php
- > /wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/includes/index.php
- > /wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/assets/img/index.php
- > /wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/index.php
- > /wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/includes/lib/index.php
- > /wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/languages/index.php
- > /wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/assets/css/index.php
- > /wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/assets/index.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/boz-prod-woocommerce-hipaywallet-pro.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/includes/woohipaypro.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boz-prod-woocommerce-hipay-wallet-pro/includes/functions.php:37
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: hipay, subscription, payment, woocommerce, gateway...
boz-prod-woocommerce-hipay-wallet-pro/boz-prod-woocommerce-hipaywallet-pro.php 85% from 13 tests
"Boz Prod Woocommerce HiPay Wallet Pro" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("boz-prod-woocommerce-hipay-wallet-pro.php" instead of "boz-prod-woocommerce-hipaywallet-pro.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin2,974 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 1,039 | 274 | 1,813 |
CSS | 3 | 74 | 0 | 483 |
PO File | 1 | 202 | 203 | 419 |
JavaScript | 3 | 175 | 1 | 220 |
SVG | 1 | 0 | 1 | 39 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 31.33 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 6.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/hipay-logo-blue.png | 24.19KB | 7.44KB | ▼ 69.23% |
assets/img/hipay-logo-white.png | 16.59KB | 6.18KB | ▼ 62.76% |
assets/img/hipay-logo-black.png | 10.22KB | 6.02KB | ▼ 41.10% |