Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.20ms] Passed 4 tests
This is a short check of server-side resources used by Tilopay
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 42.86 ▼3.08 |
Dashboard /wp-admin | 3.45 ▲0.14 | 47.82 ▼0.66 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 46.93 ▼3.75 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 89.79 ▼9.32 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.54 ▲3.04 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 78 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Tilopay: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.25 ▼0.46 | 1.63 ▼0.23 | 37.47 ▼7.49 |
Dashboard /wp-admin | 2,198 ▲21 | 5.60 ▼0.06 | 93.03 ▼0.78 | 41.57 ▼1.42 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.00 | 39.34 ▲2.16 | 37.35 ▲3.94 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.27 ▲0.18 | 621.91 ▲25.65 | 61.39 ▲9.65 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.33 ▲0.18 | 95.42 ▼0.92 | 41.01 ▼1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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)
Everything seems fine, however 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Modal Payment), #2 (Settings Payment)
tilopay/tilopay.php Passed 13 tests
"Tilopay" version 2.0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
55 characters long description:
Accept credit and debit cards on your WooCommerce Store
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
Success! There were no dangerous files found in this plugin6,014 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 542 | 753 | 2,428 |
PO File | 13 | 997 | 993 | 2,213 |
JavaScript | 4 | 153 | 174 | 826 |
CSS | 5 | 51 | 69 | 320 |
SVG | 6 | 0 | 3 | 155 |
Markdown | 1 | 17 | 0 | 48 |
JSON | 2 | 0 | 0 | 24 |
PHP code Passed 2 tests
An overview 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.50 |
Average class complexity | 56.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 306.00 |
Average method complexity | 6.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 18 | 20.45% |
▷ Public methods | 86 | 97.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.27% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.17MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/tilopay_color.png | 15.06KB | 15.03KB | 0.19% |
assets/images/flat_icon_tilopay.png | 3.19KB | 3.16KB | ▼ 0.71% |
assets/images/no_image.png | 6.75KB | 2.56KB | ▼ 62.11% |
assets/images/iconoplugin.png | 22.84KB | 8.48KB | ▼ 62.87% |
assets/images/minicuotas.png | 57.69KB | 3.70KB | ▼ 93.59% |