Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼37.02ms] Passed 4 tests
This is a short check of server-side resources used by BMI adult&kid calculator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.26 ▲2.49 |
Dashboard /wp-admin | 3.00 ▼0.34 | 26.63 ▼37.23 |
Posts /wp-admin/edit.php | 3.00 ▼0.35 | 23.57 ▼27.60 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.88 | 27.58 ▼71.08 |
Media Library /wp-admin/upload.php | 3.00 ▼0.22 | 23.58 ▼12.18 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BMI adult&kid calculator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 14.40 ▼0.03 | 1.79 ▲0.09 | 45.99 ▲4.85 |
Dashboard /wp-admin | 2,216 ▲39 | 5.68 ▲0.08 | 93.82 ▼3.86 | 42.13 ▼1.86 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.05 ▲0.03 | 34.31 ▼3.88 | 35.47 ▲2.21 |
Add New Post /wp-admin/post-new.php | 1,555 ▲21 | 23.38 ▼0.07 | 665.48 ▲4.80 | 53.78 ▲2.28 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.18 ▼0.06 | 115.49 ▲15.54 | 50.30 ▲0.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bmi-adultkid-calculator/uninstall.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in bmi-adultkid-calculator/assets to your readme.txt
bmi-adultkid-calculator/bmi-adultkid-calculator.php Passed 13 tests
"BMI adult&kid calculator" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
109 characters long description:
We have developed a free Wordpress plugin with our BMI Calculator that you can use completely free of charge.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected4,397 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 678 | 44 | 3,570 |
CSS | 2 | 85 | 15 | 827 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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 | 10 | |
▷ Named functions | 10 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 0.61MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/boys02.png | 112.79KB | 37.29KB | ▼ 66.94% |
images/girls519.png | 97.35KB | 32.48KB | ▼ 66.63% |
images/Vector Smart Object.png | 0.41KB | 0.58KB | 0.00% |
images/bmiberegner.png | 12.93KB | 5.36KB | ▼ 58.54% |
images/girls25.png | 100.36KB | 33.59KB | ▼ 66.53% |