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.02MB] [CPU: ▼5.55ms] Passed 4 tests
This is a short check of server-side resources used by Claudio Sanches - Correios for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.05 ▼0.29 |
Dashboard /wp-admin | 3.34 ▼0.01 | 43.77 ▼17.42 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.78 ▼0.37 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.03 ▼4.13 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.96 ▲2.94 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 67 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Claudio Sanches - Correios for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲55 | 14.29 ▲0.01 | 1.59 ▼0.10 | 36.32 ▼6.22 |
Dashboard /wp-admin | 2,207 ▲27 | 5.59 ▼0.01 | 92.35 ▼8.22 | 42.81 ▼1.01 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.03 ▲0.05 | 40.19 ▲5.44 | 35.84 ▼5.13 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.06 ▼0.58 | 675.73 ▼10.12 | 79.78 ▲11.37 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.20 ▼0.01 | 105.74 ▼2.58 | 44.72 ▲0.07 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
4 plugin tags: woocommerce, shipping, delivery, correios
woocommerce-correios/woocommerce-correios.php 92% from 13 tests
The main file in "Claudio Sanches - Correios for WooCommerce" v. 4.2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Requires at least: Required version must be the same as 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 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin5,758 lines of code in 63 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 1,002 | 2,889 | 4,906 |
PO File | 1 | 213 | 411 | 555 |
JavaScript | 8 | 44 | 97 | 295 |
CSS | 2 | 0 | 0 | 2 |
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.28 |
Average class complexity | 9.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 4 | 10.26% |
▷ Concrete classes | 35 | 89.74% |
▷ Final classes | 0 | 0.00% |
Methods | 278 | |
▷ Static methods | 28 | 10.07% |
▷ Public methods | 204 | 73.38% |
▷ Protected methods | 67 | 24.10% |
▷ Private methods | 7 | 2.52% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG files were detected