Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.34ms] Passed 4 tests
Analyzing server-side resources used by Aplazo Payment Gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 32.28 ▼3.96 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.59 ▼3.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.24 ▼5.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.24 ▼19.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.55 ▲0.34 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Aplazo Payment Gateway: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.67 ▲0.33 | 1.75 ▼0.11 | 39.01 ▼0.45 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▼0.02 | 90.90 ▼6.03 | 38.42 ▼6.57 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▲0.05 | 40.39 ▼0.17 | 36.66 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 22.97 ▼0.16 | 579.68 ▼134.73 | 47.95 ▼16.65 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.02 | 94.86 ▼17.56 | 42.57 ▼0.78 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (This is what the Checkout looks like in your store.), #2 (Once you install the Aplazo Plugin, you have to add the keys given by your aplazo account.), #3 (When user select Aplazo payment method, the checkout will load the aplazo checkout to finish the order.)
aplazo-payment-gateway/woocommerce-aplazo-gateway.php 92% from 13 tests
"Aplazo Payment Gateway" version 1.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("aplazo-payment-gateway.php" instead of "woocommerce-aplazo-gateway.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,091 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 133 | 236 | 960 |
JavaScript | 3 | 139 | 29 | 896 |
PO File | 1 | 59 | 84 | 140 |
Markdown | 2 | 8 | 0 | 95 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 16.17 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 7 | 13.46% |
▷ Public methods | 51 | 98.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.92% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.70MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/step-1.png | 1.38KB | 0.82KB | ▼ 40.48% |
assets/images/logo-raw.png | 29.82KB | 11.78KB | ▼ 60.50% |
assets/images/step-3.png | 1.43KB | 0.84KB | ▼ 41.17% |
assets/images/aplazo-desc-movil.png | 267.04KB | 101.17KB | ▼ 62.12% |
assets/images/aplazo-description.png | 418.30KB | 169.96KB | ▼ 59.37% |