Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.56ms] Passed 4 tests
An overview of server-side resources used by Claudio Sanches - Checkout Cielo for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.25 ▼2.44 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.99 ▼4.32 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.00 ▲2.57 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.13 ▼12.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 37.36 ▲0.93 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Claudio Sanches - Checkout Cielo for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.61 ▼0.76 | 1.69 ▼0.38 | 43.08 ▼0.52 |
Dashboard /wp-admin | 2,217 ▲29 | 5.86 ▼0.05 | 101.30 ▼14.69 | 39.46 ▼4.52 |
Posts /wp-admin/edit.php | 2,097 ▲11 | 2.01 ▼0.00 | 39.20 ▲1.61 | 38.29 ▲3.83 |
Add New Post /wp-admin/post-new.php | 1,559 ▲24 | 18.54 ▼4.71 | 605.97 ▼58.08 | 64.18 ▲8.36 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.30 ▲0.10 | 93.47 ▼6.93 | 40.76 ▼0.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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 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 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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: cielo, woocommerce, payment
woocommerce-checkout-cielo/woocommerce-checkout-cielo.php 77% from 13 tests
This is the main PHP file of "Claudio Sanches - Checkout Cielo for WooCommerce" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: Please prefix the domain path with a forward slash character ("/languages/")
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "3.0")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected853 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 133 | 288 | 628 |
PO File | 1 | 82 | 88 | 225 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for 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 | 28.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 23 | 69.70% |
▷ Protected methods | 9 | 27.27% |
▷ Private methods | 1 | 3.03% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/cielo.png | 1.19KB | 1.71KB | 0.00% |