Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/wizpay-gateway-for-woocommerce/wizardpay-gateway.php+415
Undefined offset: 1
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.61ms] Passed 4 tests
This is a short check of server-side resources used by Wizpay Gateway for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.97 ▼4.94 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.90 ▼8.02 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.77 ▼4.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.37 ▼13.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.33 ▲2.08 |
Server storage [IO: ▲2.78MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Wizpay Gateway for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.16 ▼1.19 | 1.73 ▼0.01 | 43.95 ▲2.25 |
Dashboard /wp-admin | 2,209 ▲21 | 5.83 ▼0.07 | 103.30 ▼4.62 | 40.75 ▼4.75 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.04 | 33.86 ▼2.11 | 32.63 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,533 ▲16 | 23.08 ▲5.59 | 672.40 ▲49.26 | 57.95 ▲3.20 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.16 ▼0.06 | 108.94 ▲2.44 | 43.62 ▼0.81 |
Uninstaller [IO: ▲2.78MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attentionThis plugin did not uninstall successfully, leaving 7 options in the database
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wizpay-gateway-for-woocommerce/wizardpay-gateway.php+415
Undefined offset: 1
- This plugin has failed uninstalling correctly, leaving 39 files (2.78MB) in the plugin directory
- (new file) assets/css/checkout.css
- (new file) assets/css/custom-popup.css
- (new file) assets/js/capture-payment.js
- (new file) assets/js/custom-popup.js
- (new file) assets/css/admin.css
- (new file) assets/js/checkout-chart.js
- (new file) GPL-3.0.txt
- (new file) assets/js/admin.js
- (new file) README.md
- (new file) assets/js/chart-loader.js
- ...
- db_upgraded
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wizpay-gateway-for-woocommerce/wizpay/access.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_editor() in wp-content/plugins/wizpay-gateway-for-woocommerce/wizpay/wysiwyg.html.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (This screen shot description corresponds to screenshot-1.png.), #2 (This screen shot description corresponds to screenshot-2.png.), #3 (This screen shot description corresponds to screenshot-3.png.)
wizpay-gateway-for-woocommerce/wizardpay-gateway.php 85% from 13 tests
The main file in "Wizpay Gateway for WooCommerce" v. 1.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wizpay-gateway-for-woocommerce.php" instead of "wizardpay-gateway.php")
- Requires at least: The required version number must match the one declared in readme.txt ("4.8.3" instead of "3.5")
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
Success! There were no dangerous files found in this plugin47,751 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 651 | 203 | 44,074 |
PHP | 8 | 680 | 493 | 2,579 |
JavaScript | 9 | 122 | 49 | 811 |
HTML | 1 | 10 | 0 | 285 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 59.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 4.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 76 | |
▷ Static methods | 14 | 18.42% |
▷ Public methods | 69 | 90.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 9.21% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
6 PNG files occupy 0.23MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/popup/img/wizpay-logo-popup.png | 5.08KB | 3.00KB | ▼ 40.95% |
images/Group_old.png | 40.00KB | 14.09KB | ▼ 64.78% |
images/Group.png | 8.58KB | 2.75KB | ▼ 67.96% |
assets/popup/img/lightning-bolt-popup.png | 63.77KB | 16.52KB | ▼ 74.10% |
assets/popup/img/swoosh-popup.png | 67.35KB | 18.78KB | ▼ 72.11% |