Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.67ms] Passed 4 tests
A check of server-side resources used by Itau Shopline for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 37.44 ▼8.35 |
Dashboard /wp-admin | 3.42 ▲0.12 | 56.80 ▲5.31 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 55.18 ▲6.85 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 87.46 ▼21.02 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 42.35 ▲5.40 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Itau Shopline for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲14 | 14.21 ▼0.41 | 1.67 ▼0.65 | 41.12 ▼1.93 |
Dashboard /wp-admin | 2,203 ▲23 | 5.62 ▼0.05 | 92.62 ▼7.14 | 39.74 ▼1.34 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.99 ▼0.04 | 39.85 ▲4.51 | 36.93 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.40 ▼0.07 | 696.04 ▲86.69 | 62.99 ▲7.54 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.22 ▲0.03 | 111.45 ▲12.33 | 48.50 ▲3.73 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: itau, shopline, woocommerce, payment
wc-itau-shopline/wc-itau-shopline.php 92% from 13 tests
The main PHP script in "Itau Shopline for WooCommerce" version 1.1.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected883 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 242 | 532 | 883 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 18.80 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 8 | 15.09% |
▷ Public methods | 35 | 66.04% |
▷ Protected methods | 10 | 18.87% |
▷ Private methods | 8 | 15.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/banking-billet.png | 1.33KB | 0.45KB | ▼ 66.25% |
assets/images/itau.png | 1.96KB | 1.11KB | ▼ 43.46% |