Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.29ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Cielo Boleto
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.26 ▼1.97 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.87 ▼4.00 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.58 ▲1.09 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 97.16 ▲4.69 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.62 ▼0.29 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
WooCommerce Cielo Boleto: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.71 ▼0.54 | 1.74 ▲0.15 | 40.94 ▲4.33 |
Dashboard /wp-admin | 2,237 ▲45 | 5.21 ▲0.28 | 101.42 ▼8.45 | 41.15 ▼0.71 |
Posts /wp-admin/edit.php | 2,124 ▲38 | 2.29 ▲0.28 | 39.50 ▲4.03 | 35.13 ▲3.90 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 18.75 ▼4.50 | 630.74 ▼27.66 | 56.79 ▼7.49 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.45 ▲0.24 | 97.98 ▼2.50 | 41.83 ▼2.82 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: gateway, cielo, pagamentos, api v3, checkout...
woo-cielo-boleto/woo-cielo-boleto.php 92% from 13 tests
The main file in "WooCommerce Cielo Boleto" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,795 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 824 | 2,430 | 1,478 |
PO File | 1 | 61 | 62 | 241 |
JavaScript | 2 | 6 | 19 | 33 |
SVG | 1 | 0 | 0 | 30 |
CSS | 2 | 3 | 5 | 12 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 1 | 4.55% |
▷ Concrete classes | 21 | 95.45% |
▷ Final classes | 0 | 0.00% |
Methods | 127 | |
▷ Static methods | 33 | 25.98% |
▷ Public methods | 121 | 95.28% |
▷ Protected methods | 3 | 2.36% |
▷ Private methods | 3 | 2.36% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected