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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.65ms] Passed 4 tests
Server-side resources used by IMMAGIT ePayco Payment Gateway for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.81 ▲0.75 |
Dashboard /wp-admin | 3.37 ▲0.06 | 43.93 ▼7.34 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.01 ▲0.95 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.10 ▼4.95 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.60 ▲2.16 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
IMMAGIT ePayco Payment Gateway for WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.17 ▼0.40 | 2.12 ▲0.55 | 41.51 ▲4.17 |
Dashboard /wp-admin | 2,202 ▲25 | 5.54 ▲0.01 | 85.48 ▼15.03 | 39.46 ▼5.83 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.97 ▲0.02 | 41.93 ▲5.07 | 47.18 ▲10.08 |
Add New Post /wp-admin/post-new.php | 1,535 ▲1 | 23.10 ▲0.42 | 661.13 ▲20.24 | 50.70 ▲2.25 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.23 ▲0.04 | 101.25 ▼3.53 | 44.83 ▼0.65 |
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 were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: epayco, gateways, immagit, ecommerce, colombia...
wc-epayco-payment-gateway/wc-epayco-payment-gateway.php 77% from 13 tests
The main PHP file in "IMMAGIT ePayco Payment Gateway for WooCommerce" ver. 1.1.6.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 182 characters long)
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.2" instead of "7.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected3,725 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 3 | 6,282 | 17,910 | 2,019 |
PHP | 7 | 133 | 94 | 1,706 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 70.80 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 6.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 2 | 3.08% |
▷ Public methods | 65 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 5 | |
▷ Global constants | 5 | 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
8 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/redirect-v1.png | 0.32KB | 0.28KB | ▼ 13.15% |
assets/images/logo_epayco_200px.png | 5.02KB | 3.41KB | ▼ 32.00% |
assets/images/logo_epayco_400px.png | 10.65KB | 6.07KB | ▼ 43.01% |
assets/images/pagos_procesados_por_epayco_260px_.png | 12.99KB | 5.11KB | ▼ 60.68% |
assets/images/epayco_pago_seguro.png | 16.60KB | 6.72KB | ▼ 59.49% |