Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.37MB] [CPU: ▲0.83ms] Passed 4 tests
Analyzing server-side resources used by Healthcare Review Master
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 40.16 ▼2.77 |
Dashboard /wp-admin | 3.70 ▲0.40 | 53.89 ▲4.95 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 52.58 ▲5.36 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 95.42 ▲1.19 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 39.94 ▼0.06 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
hrm_num_show_zocdoc_review |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
hrm_zocdoc_review_interval |
widget_recent-posts |
hrm_zocdoc_review_speed |
Browser metrics Passed 4 tests
Checking browser requirements for Healthcare Review Master
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲138 | 13.49 ▼0.78 | 9.60 ▲7.75 | 40.03 ▼7.60 |
Dashboard /wp-admin | 2,202 ▲25 | 5.54 ▼0.07 | 95.08 ▲3.88 | 75.35 ▲33.80 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 2.00 ▲0.03 | 38.01 ▼0.11 | 34.21 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 22.91 ▼0.09 | 686.85 ▼10.43 | 60.69 ▲7.63 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.13 ▼0.10 | 98.78 ▼7.36 | 69.49 ▲22.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/healthcare-review-master/public/partials/healthcare-review-master-public-display.php
- > /wp-content/plugins/healthcare-review-master/admin/partials/settings-section-general.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/healthcare-review-master/admin/partials/menu-hrm-main-settings.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
healthcare-review-master/healthcare-review-master.php 92% from 13 tests
The main file in "Healthcare Review Master" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 357 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,853 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 336 | 815 | 1,748 |
CSS | 2 | 16 | 2 | 76 |
JavaScript | 3 | 3 | 1 | 29 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 38.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 3 | 2.40% |
▷ Public methods | 104 | 83.20% |
▷ Protected methods | 16 | 12.80% |
▷ Private methods | 5 | 4.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.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
10 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/2_0.png | 7.37KB | 2.04KB | ▼ 72.26% |
public/assets/1_0.png | 7.31KB | 2.02KB | ▼ 72.37% |
public/assets/5_0.png | 7.38KB | 2.08KB | ▼ 71.90% |
public/assets/2_5.png | 7.58KB | 2.08KB | ▼ 72.53% |
public/assets/4_5.png | 7.47KB | 2.09KB | ▼ 72.02% |