Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼7.26ms] Passed 4 tests
This is a short check of server-side resources used by WP Help Popup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 42.20 ▼0.10 |
Dashboard /wp-admin | 3.45 ▲0.10 | 58.82 ▼10.15 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 54.45 ▲0.05 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 90.91 ▼18.82 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 39.36 ▲1.19 |
WP Help Popup /wp-admin/admin.php?page=wp_help_overview | 3.38 | 35.02 |
Our Plugins /wp-admin/admin.php?page=wp_our_plugins | 3.37 | 32.28 |
Settings /wp-admin/admin.php?page=wp_help_settings | 3.44 | 40.83 |
Server storage [IO: ▲2.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 48 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
wphp_options_group |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Help Popup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,050 ▲264 | 13.52 ▼1.04 | 9.24 ▲7.43 | 37.04 ▼8.20 |
Dashboard /wp-admin | 2,228 ▲59 | 5.55 ▼0.03 | 96.45 ▼1.14 | 86.28 ▲38.48 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 1.99 ▼0.01 | 36.24 ▼5.80 | 33.11 ▼3.52 |
Add New Post /wp-admin/post-new.php | 1,588 ▲62 | 23.14 ▼0.13 | 662.10 ▲14.68 | 62.93 ▲10.68 |
Media Library /wp-admin/upload.php | 1,448 ▲54 | 4.13 ▼0.00 | 103.55 ▲3.80 | 66.44 ▲23.45 |
WP Help Popup /wp-admin/admin.php?page=wp_help_overview | 1,021 | 1.81 | 25.66 | 50.29 |
Our Plugins /wp-admin/admin.php?page=wp_our_plugins | 1,138 | 2.02 | 34.39 | 22.21 |
Settings /wp-admin/admin.php?page=wp_help_settings | 1,533 | 2.21 | 36.38 | 51.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- wphp_options_group
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-help-popup/include/class-wphp-form-fields.php
- > /wp-content/plugins/wp-help-popup/view/ourplugins.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant WPHP_IMAGE - assumed 'WPHP_IMAGE' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-help-popup/view/welcome.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wp-help-popup/view/welcome.php:14
- > PHP Warning
Use of undefined constant WPHP_IMAGE - assumed 'WPHP_IMAGE' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-help-popup/view/welcome.php on line 6
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_help_settings
- > Network (severe)
wp-content/plugins/wp-help-popup/assets/images/setting_pop_icon.PNG - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: feedback submission, live chat, recent posts, help box search, help box ajax search...
wp-help-popup/wp-help-popup.php Passed 13 tests
The primary PHP file in "WP Help Popup" version 1.0.9 is used by WordPress to initiate all plugin functionality
94 characters long description:
A Wordpress Extension to show quick help using What's app chat and site search using a widget.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected10,487 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,503 | 434 | 5,706 |
CSS | 5 | 228 | 170 | 3,316 |
PHP | 4 | 341 | 86 | 1,465 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 124.00 |
▷ Minimum class complexity | 121.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 8.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 33 | 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 | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
28 PNG files occupy 1.50MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/31297.png | 6.11KB | 6.65KB | 0.00% |
assets/screenshot-2.png | 41.77KB | 12.04KB | ▼ 71.18% |
assets/banner-772x250.png | 48.47KB | 11.97KB | ▼ 75.31% |
assets/images/help_icon.png | 0.33KB | 0.50KB | 0.00% |
assets/images/help_circled_icon.png | 1.12KB | 1.32KB | 0.00% |