Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.76ms] Passed 4 tests
This is a short check of server-side resources used by HelpfulnessMeter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 50.32 ▲0.68 |
Dashboard /wp-admin | 3.36 ▲0.06 | 51.34 ▼1.57 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.97 ▲1.13 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.24 ▼15.26 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.55 ▲4.21 |
HelpfulnessMeter /wp-admin/options-general.php?page=hfnm | 3.25 | 31.49 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 11 new options
New WordPress options |
---|
hfnm_types |
can_compress_scripts |
hfnm_no_text |
hfnm_yes_text |
theysaidso_admin_options |
hfnm_thank_text |
widget_theysaidso_widget |
widget_recent-comments |
hfnm_question_text |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for HelpfulnessMeter
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 14.24 ▼0.28 | 1.76 ▼0.04 | 44.05 ▲1.20 |
Dashboard /wp-admin | 2,199 ▲28 | 5.68 ▲0.16 | 88.86 ▼2.04 | 37.81 ▼3.77 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.08 | 39.62 ▼1.77 | 36.31 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.15 ▲4.80 | 647.49 ▼20.58 | 62.77 ▼12.63 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.17 ▼0.03 | 97.46 ▼4.73 | 43.95 ▼3.78 |
HelpfulnessMeter /wp-admin/options-general.php?page=hfnm | 865 | 2.00 | 26.32 | 30.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
helpfulnessmeter/helpfulnessmeter.php Passed 13 tests
"HelpfulnessMeter" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
80 characters long description:
Improve your WordPress content by easily collecting feedback from your visitors.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin332 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 60 | 238 |
CSS | 1 | 12 | 0 | 61 |
JavaScript | 1 | 0 | 7 | 33 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 13 | |
▷ Named functions | 13 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin