Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.88ms] Passed 4 tests
A check of server-side resources used by Brazilian Market on WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.34 ▼2.60 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.00 ▼3.41 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.12 ▲7.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.55 ▼5.69 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.19 ▼3.82 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Brazilian Market on WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.28 ▼0.43 | 1.75 ▲0.07 | 43.56 ▼0.90 |
Dashboard /wp-admin | 2,195 ▲21 | 5.51 ▼0.14 | 89.32 ▼7.35 | 38.69 ▼5.15 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▼0.02 | 39.48 ▲4.21 | 35.98 ▲2.73 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.01 ▼0.20 | 657.27 ▲31.99 | 49.43 ▼7.55 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.20 ▲0.00 | 97.28 ▼1.77 | 41.64 ▲0.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The SRP test was a success
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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: cpnj, checkout, cpf, woocommerce, brazil
woocommerce-extra-checkout-fields-for-brazil/woocommerce-extra-checkout-fields-for-brazil.php Passed 13 tests
The primary PHP file in "Brazilian Market on WooCommerce" version 4.0.0 is used by WordPress to initiate all plugin functionality
109 characters long description:
Adds new checkout fields, field masks and other things necessary to properly work with WooCommerce on Brazil.
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
Success! There were no dangerous files found in this plugin2,901 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 329 | 607 | 1,632 |
JavaScript | 10 | 160 | 115 | 1,016 |
PO File | 1 | 99 | 164 | 250 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 21.44 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 4 | 6.06% |
▷ Public methods | 58 | 87.88% |
▷ Protected methods | 4 | 6.06% |
▷ Private methods | 4 | 6.06% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.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
There are no PNG files in this plugin