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.00MB] [CPU: ▼7.75ms] Passed 4 tests
A check of server-side resources used by Paguelofacil Checkout for Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.09 ▼3.29 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.41 ▼7.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 56.02 ▲3.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.99 ▼13.84 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.79 ▼6.54 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Paguelofacil Checkout for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.59 ▼0.79 | 4.61 ▲2.73 | 46.85 ▼1.97 |
Dashboard /wp-admin | 2,224 ▲21 | 4.81 ▼0.03 | 103.19 ▼14.68 | 39.25 ▼8.69 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.01 | 41.64 ▲4.49 | 32.78 ▼7.72 |
Add New Post /wp-admin/post-new.php | 1,549 ▲4 | 23.18 ▼0.00 | 626.61 ▼59.64 | 51.86 ▼29.31 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.30 ▲0.08 | 101.33 ▼7.57 | 43.20 ▼7.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/paguelofacil/gateway-paguelofacil.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
paguelofacil/gateway-paguelofacil.php 92% from 13 tests
The entry point to "Paguelofacil Checkout for Woocommerce" version 3.7 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("paguelofacil.php" instead of "gateway-paguelofacil.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin592 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 214 | 123 | 438 |
PO File | 1 | 55 | 59 | 154 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 96.00 |
▷ Minimum class complexity | 96.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 6.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/pc-esp-desktop.png | 22.30KB | 8.50KB | ▼ 61.91% |