Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.01ms] Passed 4 tests
Analyzing server-side resources used by Rut Chileno con Validación para WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.49 ▲2.71 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.26 ▼4.44 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 52.24 ▲3.93 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.87 ▼12.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 38.06 ▲2.45 |
Rut Chileno para WooCommerce /wp-admin/tools.php?page=wc_chilean_bundle | 3.23 | 31.83 |
Server storage [IO: ▲0.06MB] [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: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
wc_chilean_bundle_about_us_options |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
wc_chilean_bundle_configuration_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rut Chileno con Validación para WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲120 | 13.56 ▼0.96 | 5.94 ▲3.89 | 42.12 ▼4.70 |
Dashboard /wp-admin | 2,217 ▲26 | 4.83 ▼1.22 | 97.63 ▼13.61 | 39.54 ▼3.62 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.06 | 35.15 ▼2.31 | 35.14 ▲0.57 |
Add New Post /wp-admin/post-new.php | 1,521 ▲2 | 23.21 ▲0.08 | 681.66 ▼24.65 | 66.68 ▲13.20 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.31 ▲0.18 | 94.59 ▼14.38 | 39.87 ▼7.00 |
Rut Chileno para WooCommerce /wp-admin/tools.php?page=wc_chilean_bundle | 800 | 2.03 | 25.38 | 28.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- wc_chilean_bundle_configuration_options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- wc_chilean_bundle_about_us_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/rut-chileno-con-validacion/public/partials/wc-chilean-bundle-public-display.php
- > /wp-content/plugins/rut-chileno-con-validacion/admin/partials/wc-chilean-bundle-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: comments, spam
rut-chileno-con-validacion/wc-chilean-bundle.php 85% from 13 tests
"Rut Chileno con Validación para WooCommerce" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("rut-chileno-con-validacion.php" instead of "wc-chilean-bundle.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected460 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 213 | 641 | 445 |
CSS | 2 | 0 | 4 | 9 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 46 | |
▷ Static methods | 2 | 4.35% |
▷ Public methods | 40 | 86.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 13.04% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 images were found in this plugin