Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.85MB] [CPU: ▼33.04ms] Passed 4 tests
A check of server-side resources used by Healomax Stress Assessment Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 43.66 ▼0.70 |
Dashboard /wp-admin | 3.10 ▼0.21 | 30.74 ▼22.43 |
Posts /wp-admin/edit.php | 3.10 ▼0.26 | 25.44 ▼23.96 |
Add New Post /wp-admin/post-new.php | 3.10 ▼2.79 | 26.97 ▼71.90 |
Media Library /wp-admin/upload.php | 3.10 ▼0.13 | 23.19 ▼13.88 |
Stress Assessment /wp-admin/options-general.php?page=healomax_stress_assessment_options | 3.11 | 23.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_healomax_stress |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Healomax Stress Assessment Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.67 ▲0.42 | 1.58 ▼0.24 | 38.16 ▼4.88 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▲0.01 | 92.42 ▼0.30 | 41.21 ▼1.49 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.05 | 39.10 ▲1.91 | 34.91 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.08 ▼0.18 | 589.31 ▼86.15 | 57.02 ▲4.48 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.18 ▲0.06 | 97.01 ▲0.03 | 41.93 ▼0.59 |
Stress Assessment /wp-admin/options-general.php?page=healomax_stress_assessment_options | 911 | 2.00 | 23.36 | 27.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'healomax_stress_assessment_settings_page' not found or invalid function name
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_healomax_stress
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=healomax_stress_assessment_options
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'healomax_stress_assessment_settings_page' not found or invalid function name
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/healomax-stress-assessment/uninstall.php
- > /wp-content/plugins/healomax-stress-assessment/option/options.php
- > /wp-content/plugins/healomax-stress-assessment/scripts/scripts.php
- > /wp-content/plugins/healomax-stress-assessment/stress-assessment.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #5, #6 in healomax-stress-assessment/assets to your readme.txt
healomax-stress-assessment/stress-assessment.php 92% from 13 tests
"Healomax Stress Assessment Plugin" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("healomax-stress-assessment.php" instead of "stress-assessment.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
There were no executable files found in this plugin589 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 33 | 41 | 547 |
CSS | 1 | 7 | 0 | 42 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 18 | |
▷ Named functions | 18 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin