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
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.15ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Pagadito Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 35.12 ▼6.50 |
Dashboard /wp-admin | 3.48 ▲0.17 | 48.52 ▼1.18 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 48.31 ▲0.44 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 83.60 ▼9.36 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.40 ▲1.66 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Pagadito Payment Gateway
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.16 ▼1.43 | 1.79 ▼0.01 | 41.72 ▼3.10 |
Dashboard /wp-admin | 2,214 ▲26 | 5.84 ▲0.94 | 101.48 ▼12.93 | 39.87 ▼5.59 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▲0.04 | 39.91 ▲2.12 | 36.66 ▲3.63 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 18.55 ▼4.58 | 598.10 ▼110.71 | 60.09 ▼4.06 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.22 ▲0.02 | 95.14 ▼3.18 | 41.46 ▼2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
woo-pagadito-payment-gateway/woo-pagadito-payment-gateway.php 92% from 13 tests
The main PHP script in "WooCommerce Pagadito Payment Gateway" version 5.1.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.9" instead of "3.7")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin877 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 168 | 297 | 877 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 51.50 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.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 | 47 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 80.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 19.15% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/default.png | 2.71KB | 2.76KB | 0.00% |
assets/images/light.png | 1.67KB | 1.72KB | 0.00% |
assets/images/dark.png | 1.62KB | 1.68KB | 0.00% |