Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.86ms] Passed 4 tests
An overview of server-side resources used by MasterBip Regiones Comunas y Pesos de Chile
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.80 ▼1.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.84 ▼2.36 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.88 ▼4.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.19 ▼7.62 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.52 ▼0.77 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
MasterBip Regiones Comunas y Pesos de Chile: 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 ▲54 | 13.22 ▼1.15 | 1.61 ▲0.04 | 40.05 ▼2.78 |
Dashboard /wp-admin | 2,209 ▲38 | 4.83 ▼1.03 | 101.11 ▲0.53 | 36.13 ▼14.39 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.06 | 39.30 ▼1.88 | 34.27 ▼3.88 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.53 ▼4.64 | 601.13 ▼16.88 | 55.50 ▼11.98 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▲0.00 | 93.23 ▼5.01 | 42.72 ▼2.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/masterbip-woocommerce-regiones-pesos-y-comunas-de-chile/masterbip-woocommerce-regiones-pesos-comunas-chile.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
masterbip-woocommerce-regiones-pesos-y-comunas-de-chile/masterbip-woocommerce-regiones-pesos-comunas-chile.php 77% from 13 tests
Analyzing the main PHP file in "MasterBip Regiones Comunas y Pesos de Chile" version 1.2
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("masterbip-woocommerce-regiones-pesos-y-comunas-de-chile.php" instead of "masterbip-woocommerce-regiones-pesos-comunas-chile.php")
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "4.0+")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin448 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 35 | 427 |
Markdown | 1 | 10 | 0 | 21 |
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.03 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin