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.00MB] [CPU: ▼5.23ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Pure EFT Gateway
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 43.42 ▼0.81 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.33 ▼1.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.97 ▼7.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.22 ▼11.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.73 ▲1.55 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Pure EFT Gateway
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.56 ▼0.69 | 4.35 ▲2.60 | 43.32 ▲3.33 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼1.01 | 115.32 ▲12.48 | 42.48 ▼7.45 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.07 | 35.47 ▼2.34 | 32.76 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.86 ▼5.43 | 681.54 ▲31.77 | 52.36 ▲9.27 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.25 ▲0.11 | 97.34 ▼4.08 | 45.26 ▼2.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-pure-eft/pure-eft-gateway.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
8 plugin tags: ecommerce, woocommerce, gateway, electronic, bank...
woocommerce-pure-eft/pure-eft-gateway.php 92% from 13 tests
This is the main PHP file of "WooCommerce Pure EFT Gateway" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woocommerce-pure-eft.php" instead of "pure-eft-gateway.php")
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
No dangerous file extensions were detected4,811 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 2 | 2 | 4,612 |
PHP | 2 | 47 | 66 | 199 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.14MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 5.45KB | 2.88KB | ▼ 47.20% |
assets/screenshot-2.png | 35.45KB | 16.67KB | ▼ 52.99% |
assets/icon.png | 1.24KB | 1.16KB | ▼ 6.54% |
assets/logo-icon.png | 1.24KB | 1.16KB | ▼ 6.54% |
assets/check-instructions.png | 36.97KB | 15.15KB | ▼ 59.02% |