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
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.93ms] Passed 4 tests
Server-side resources used by Pay with ATH Movil (WooCommerce payment gateway)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 43.35 ▲2.41 |
Dashboard /wp-admin | 3.40 ▲0.10 | 52.74 ▲0.41 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 54.41 ▼7.05 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 86.36 ▼20.72 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 35.78 ▼0.34 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Pay with ATH Movil (WooCommerce payment gateway)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.37 ▲0.14 | 1.78 ▲0.02 | 43.24 ▲2.34 |
Dashboard /wp-admin | 2,205 ▲28 | 5.64 ▼0.05 | 91.80 ▼0.30 | 41.02 ▼2.91 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.06 ▲0.04 | 39.87 ▼7.70 | 36.56 ▼4.51 |
Add New Post /wp-admin/post-new.php | 1,552 ▲21 | 23.19 ▼0.02 | 662.44 ▲29.12 | 60.61 ▲5.82 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.32 ▲0.05 | 99.52 ▼1.96 | 44.77 ▲0.58 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
pay-with-ath-movil-woocommerce-gateway/woocommerce-gateway-athmovil.php 92% from 13 tests
The main PHP script in "Pay with ATH Movil (WooCommerce payment gateway)" version 1.2.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("pay-with-ath-movil-woocommerce-gateway.php" instead of "woocommerce-gateway-athmovil.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin437 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 103 | 71 | 383 |
PO File | 1 | 22 | 21 | 50 |
JavaScript | 3 | 0 | 0 | 3 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 7 | |
▷ Global constants | 7 | 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
6 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/theme_light.png | 4.05KB | 2.26KB | ▼ 44.28% |
assets/images/icon.png | 17.05KB | 8.13KB | ▼ 52.30% |
assets/images/theme_dark.png | 4.17KB | 2.34KB | ▼ 43.86% |
assets/images/logo.png | 2.38KB | 1.74KB | ▼ 26.76% |
assets/images/theme_default.png | 4.24KB | 2.04KB | ▼ 52.00% |