Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.54ms] Passed 4 tests
An overview of server-side resources used by Responsive BMI Calculator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.10 ▼5.70 |
Dashboard /wp-admin | 3.37 ▲0.06 | 49.83 ▼0.34 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.71 ▲5.81 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.33 ▲2.62 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.04 ▲1.25 |
BMI Calculator /wp-admin/options-general.php?page=responsive-bmi-calculator/responsive-bmi-calculator.php | 3.25 | 32.90 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 16 new options
New WordPress options |
---|
pageId_RBMIC |
widget_rbmic |
texto_RBMIC |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
texto_boton__RBMIC |
widget_recent-posts |
colorBorde_RBMIC |
boton1_RBMIC |
... |
Browser metrics Passed 4 tests
Responsive BMI Calculator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 14.44 ▼0.15 | 1.59 ▼0.26 | 39.64 ▼5.54 |
Dashboard /wp-admin | 2,210 ▲36 | 4.84 ▼0.03 | 109.47 ▼17.93 | 42.01 ▲0.98 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 41.68 ▲5.99 | 35.92 ▲4.26 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.01 ▲5.33 | 589.28 ▼103.36 | 53.32 ▲1.38 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.18 ▲0.01 | 94.41 ▲0.35 | 41.23 ▼4.93 |
BMI Calculator /wp-admin/options-general.php?page=responsive-bmi-calculator/responsive-bmi-calculator.php | 848 | 2.03 | 26.92 | 26.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- texto_RBMIC
- widget_rbmic
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: bmi calculator, calculator, health, bmi
responsive-bmi-calculator/responsive-bmi-calculator.php 85% from 13 tests
The primary PHP file in "Responsive BMI Calculator" version 2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: Keep the plugin description shorter than 140 characters (currently 302 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected667 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 39 | 53 | 425 |
PO File | 1 | 45 | 46 | 145 |
CSS | 1 | 3 | 0 | 97 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/calcular.png | 2.33KB | 1.78KB | ▼ 23.47% |