Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.72ms] Passed 4 tests
Server-side resources used by Payment Gateway for Cielo API on WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.16 ▼4.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.26 ▼5.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.48 ▲1.57 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.13 ▲3.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.42 ▲1.83 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Payment Gateway for Cielo API on WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.37 ▼0.02 | 2.12 ▲0.35 | 43.30 ▼1.95 |
Dashboard /wp-admin | 2,195 ▲21 | 5.56 ▲0.02 | 89.22 ▼10.13 | 41.50 ▼3.59 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.08 ▲0.07 | 39.47 ▲0.90 | 36.63 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,534 ▼1 | 25.38 ▲0.17 | 581.40 ▼17.99 | 73.51 ▲6.90 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.01 | 94.99 ▼2.00 | 42.35 ▲1.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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 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
Congratulations! This plugin passed the SRP test
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Credit card configuration of payment method;), #2 (Debit card configuration of payment method;), #3 (Credit card front page with payment fields;), #4 (Debit card front page with payment fields.)
lkn-wc-gateway-cielo/lkn-wc-gateway-cielo.php Passed 13 tests
The primary PHP file in "Payment Gateway for Cielo API on WooCommerce" version 1.6.0 is used by WordPress to initiate all plugin functionality
68 characters long description:
Adds the Cielo API 3.0 Payments gateway to your WooCommerce website.
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
Good job! No executable or dangerous file extensions detected2,451 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 293 | 391 | 1,400 |
JavaScript | 7 | 138 | 80 | 792 |
PO File | 1 | 88 | 1 | 178 |
CSS | 3 | 9 | 1 | 51 |
JSON | 1 | 0 | 0 | 30 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 58.67 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 5.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 3 | 100.00% |
Methods | 40 | |
▷ Static methods | 13 | 32.50% |
▷ Public methods | 29 | 72.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 27.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin