Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼4.96ms] Passed 4 tests
A check of server-side resources used by WooCommerce Envio Fácil
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.93 ▲0.93 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.33 ▼18.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.74 ▲4.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.85 ▼2.16 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 37.52 ▼0.31 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Envio Fácil
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.38 ▲0.03 | 1.68 ▼0.08 | 46.06 ▲3.78 |
Dashboard /wp-admin | 2,183 ▲6 | 5.53 ▼0.12 | 82.45 ▼9.66 | 42.41 ▲0.99 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.03 | 41.23 ▲6.78 | 40.81 ▼0.81 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.53 ▲0.29 | 665.05 ▲4.57 | 50.54 ▲0.38 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.15 ▲0.01 | 100.56 ▼0.39 | 42.67 ▼4.53 |
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 does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
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)
No browser errors were detected
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
5 plugin tags: shipping, delivery, enviofacil, woocommerce, envio fcil
woo-enviofacil/woo-enviofacil.php 92% from 13 tests
"WooCommerce Envio Fácil" version 0.1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "4.6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin690 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 96 | 119 | 500 |
PO File | 2 | 46 | 48 | 135 |
Markdown | 1 | 26 | 0 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 4 | 11.43% |
▷ Public methods | 24 | 68.57% |
▷ Protected methods | 4 | 11.43% |
▷ Private methods | 7 | 20.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected