Benchmarks
Plugin footprint 65% 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.28MB] [CPU: ▲5.00ms] Passed 4 tests
This is a short check of server-side resources used by HealthLynked Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.44 | 52.64 ▲9.00 |
Dashboard /wp-admin | 3.63 ▲0.32 | 374.31 ▲326.28 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 56.13 ▲7.77 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 96.12 ▼7.35 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 46.08 ▲10.58 |
/wp-admin/admin.php?page=doctor_details | 3.41 | 38.25 |
Login /wp-admin/admin.php?page=settings | 3.41 | 41.86 |
Preferences /wp-admin/admin.php?page=preferences | 3.44 | 40.69 |
/wp-admin/admin.php?page=get_timeslots | 3.41 | 35.10 |
Appointments /wp-admin/admin.php?page=appointments | 3.41 | 37.74 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_hld_preferences |
wp_hld_settings |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
HealthLynked Plugin: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,004 ▲258 | 16.27 ▲1.97 | 9.15 ▲7.33 | 51.64 ▲9.30 |
Dashboard /wp-admin | 2,285 ▲82 | 6.91 ▲1.86 | 120.22 ▲7.75 | 43.08 ▼5.18 |
Posts /wp-admin/edit.php | 2,164 ▲64 | 3.98 ▲1.96 | 52.78 ▲12.73 | 37.77 ▼1.04 |
Add New Post /wp-admin/post-new.php | 1,735 ▲209 | 26.37 ▲8.74 | 598.32 ▼20.68 | 36.45 ▼26.95 |
Media Library /wp-admin/upload.php | 1,464 ▲64 | 5.90 ▲1.70 | 113.52 ▲15.29 | 54.66 ▲8.87 |
/wp-admin/admin.php?page=doctor_details | 728 | 3.34 | 23.18 | 22.23 |
Login /wp-admin/admin.php?page=settings | 916 | 3.58 | 43.35 | 29.83 |
Preferences /wp-admin/admin.php?page=preferences | 947 | 3.80 | 52.98 | 29.34 |
/wp-admin/admin.php?page=get_timeslots | 820 | 3.92 | 37.78 | 22.02 |
Appointments /wp-admin/admin.php?page=appointments | 737 | 3.34 | 23.88 | 22.57 |
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
The following items require your attention
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_hld_settings
- wp_hld_preferences
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=settings
- > Notice in wp-content/plugins/healthlynked/settings.php+234
Undefined index: id
- > GET request to /wp-admin/admin.php?page=get_timeslots
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'twhl_get_timeslots_page_handler' not found or invalid function name
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/healthlynked/healthlynked.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/healthlynked/preferences.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/healthlynked/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/healthlynked/doctors.php:196
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/healthlynked/settings.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Screenshot #8 (`/screenshot-8.png` : Defines the slots available for the clicked date) image missing
healthlynked/healthlynked.php 85% from 13 tests
"HealthLynked Plugin" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
No dangerous file extensions were detected20,440 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,025 | 689 | 16,564 |
CSS | 6 | 461 | 135 | 2,591 |
PHP | 6 | 176 | 116 | 1,285 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 16 | 50.00% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected