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.93MB] [CPU: ▼33.82ms] Passed 4 tests
A check of server-side resources used by Child Height Predictor by Ostheimer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.37 ▲4.54 |
Dashboard /wp-admin | 3.02 ▼0.29 | 27.47 ▼23.41 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 23.87 ▼28.76 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 24.49 ▼73.97 |
Media Library /wp-admin/upload.php | 3.02 ▼0.22 | 26.21 ▼9.14 |
Child Height Configuration /wp-admin/plugins.php?page=child-height-predictor/childheight.php | 3.12 | 22.75 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Child Height Predictor by Ostheimer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.79 ▼0.16 | 7.92 ▲6.14 | 45.92 ▼0.22 |
Dashboard /wp-admin | 2,201 ▲24 | 5.59 ▼0.05 | 83.48 ▼7.43 | 40.30 ▼4.35 |
Posts /wp-admin/edit.php | 2,109 ▲12 | 2.00 ▲0.03 | 36.33 ▼1.63 | 34.54 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.66 ▲0.40 | 689.32 ▲33.77 | 53.42 ▲1.29 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.01 | 97.35 ▼20.06 | 44.71 ▼3.29 |
Child Height Configuration /wp-admin/plugins.php?page=child-height-predictor/childheight.php | 802 | 2.01 | 24.57 | 27.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > 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 does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=child-height-predictor/childheight.php
- > 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.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/child-height-predictor/childheight.php:159
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/child-height-predictor/tpl/options-layout.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/child-height-predictor/tpl/script.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/child-height-predictor/tpl/script.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/child-height-predictor/tpl/widget-control.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/child-height-predictor/tpl/script.php:30
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (Child Height Predictor admin settings.), #2 (Child Height Predictor widget settings.), #3 (Child Height Predictor front end.)
child-height-predictor/childheight.php 92% from 13 tests
The principal PHP file in "Child Height Predictor by Ostheimer" v. 1.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("child-height-predictor.php" instead of "childheight.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected580 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 63 | 20 | 363 |
PO File | 2 | 48 | 136 | 128 |
CSS | 1 | 28 | 15 | 89 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 8.82KB | 4.82KB | ▼ 45.30% |
images/schritt-eins.png | 2.65KB | 2.03KB | ▼ 23.36% |
images/schritt-zwei.png | 2.93KB | 2.12KB | ▼ 27.70% |
screenshot-1.png | 20.83KB | 10.56KB | ▼ 49.30% |
images/schritt-drei.png | 3.04KB | 2.15KB | ▼ 29.18% |