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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.94ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce ePay.bg
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.71 ▼7.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.53 ▼3.53 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.97 ▼3.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.76 ▼13.18 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.41 ▼3.27 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce ePay.bg
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.72 ▲0.53 | 1.74 ▲0.03 | 42.17 ▼3.59 |
Dashboard /wp-admin | 2,201 ▲21 | 5.51 ▼0.17 | 85.23 ▼5.61 | 41.03 ▼5.03 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.01 | 34.50 ▼5.83 | 38.19 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.04 ▼0.03 | 637.46 ▼79.42 | 53.03 ▲0.83 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.21 ▲0.04 | 104.24 ▼6.03 | 43.80 ▼0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: gateway, epaybg, payment, woocommerce
woocommerce-epaybg/woocommerce-epaybg.php 92% from 13 tests
The primary PHP file in "WooCommerce ePay.bg" version 1.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 197 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
Good job! No executable or dangerous file extensions detected973 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 131 | 251 | 698 |
PO File | 1 | 59 | 67 | 275 |
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.29 |
Average class complexity | 16.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 1 | 3.23% |
▷ Public methods | 28 | 90.32% |
▷ Protected methods | 1 | 3.23% |
▷ Private methods | 2 | 6.45% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-epaybg_directpay@2x.png | 44.73KB | 13.95KB | ▼ 68.81% |
assets/icon-epaybg.png | 4.79KB | 1.66KB | ▼ 65.41% |
assets/icon-epaybg_easypay.png | 5.71KB | 1.95KB | ▼ 65.87% |
assets/icon-epaybg_directpay.png | 9.22KB | 2.86KB | ▼ 68.99% |
assets/icon-epaybg@2x.png | 20.89KB | 9.43KB | ▼ 54.83% |