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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.10ms] Passed 4 tests
A check of server-side resources used by IBEXPay Woocommerce Payment Gateway
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.00 ▼3.27 |
Dashboard /wp-admin | 3.31 ▲0.00 | 52.73 ▼5.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.44 ▲3.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.18 ▼15.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.87 ▼4.23 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for IBEXPay Woocommerce Payment Gateway
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.67 ▼0.71 | 1.82 ▼0.14 | 40.89 ▼2.10 |
Dashboard /wp-admin | 2,224 ▲27 | 4.90 ▼0.97 | 97.85 ▼21.80 | 39.02 ▼7.11 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.02 ▲0.03 | 39.32 ▲2.39 | 35.81 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,531 ▼7 | 23.24 ▲0.13 | 634.19 ▼12.51 | 53.61 ▼1.00 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.31 ▲0.06 | 97.35 ▼12.35 | 47.24 ▼5.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in ibexpay-payment-gateway/assets to your readme.txt
ibexpay-payment-gateway/ibexpay-woocommerce.php 92% from 13 tests
Analyzing the main PHP file in "IBEXPay Woocommerce Payment Gateway" version 1.1.2
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ibexpay-payment-gateway.php" instead of "ibexpay-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin187 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 8 | 184 |
Markdown | 1 | 2 | 0 | 3 |
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.37 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 5.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 1.88MB with 1.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/ibex-logo.png | 90.16KB | 32.31KB | ▼ 64.17% |
assets/banner-772x250-rtl.png | 19.76KB | 7.80KB | ▼ 60.53% |
assets/screenshot-3.png | 77.78KB | 10.29KB | ▼ 86.77% |
assets/bitcoin-logo.png | 90.16KB | 32.31KB | ▼ 64.17% |
assets/banner-772x250.png | 19.78KB | 7.91KB | ▼ 60.02% |