Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.68MB] [CPU: ▼20.08ms] Passed 4 tests
Analyzing server-side resources used by Boost360 for Doctors
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.15 ▼2.94 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.38 ▼8.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.13 ▼4.00 |
Add New Post /wp-admin/post-new.php | 3.11 ▼2.78 | 35.47 ▼65.05 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.10 ▲2.77 |
Boost360 for Doctors /wp-admin/options-general.php?page=boost360-for-doctors | 3.27 | 29.96 |
Server storage [IO: ▲0.87MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Boost360 for Doctors: 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 / | 2,891 ▲156 | 13.51 ▼0.79 | 7.70 ▲5.90 | 36.90 ▼3.54 |
Dashboard /wp-admin | 2,211 ▲26 | 4.85 ▼1.03 | 104.54 ▼2.06 | 39.28 ▼3.96 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.00 ▼0.00 | 35.45 ▼5.68 | 35.65 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,530 ▼12 | 18.36 ▼0.13 | 649.59 ▲49.81 | 57.13 ▲4.42 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.20 ▼0.01 | 95.85 ▼4.10 | 43.06 ▼2.25 |
Boost360 for Doctors /wp-admin/options-general.php?page=boost360-for-doctors | 909 | 2.01 | 29.75 | 49.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=boost360-for-doctors
- > Notice in wp-content/plugins/boost360-for-doctors/admin/partials/boost360-for-doctors-admin-display.php+27
Trying to access array offset on value of type bool
SRP 0% from 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 following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/boost360-for-doctors/public/partials/boost360-for-doctors-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/boost360-for-doctors/admin/partials/boost360-for-doctors-admin-display.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== boost360-for-doctors ===
)
boost360-for-doctors/boost360-for-doctors.php 92% from 13 tests
The main file in "Boost360 for Doctors" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 315 characters long)
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 plugin450 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 142 | 584 | 408 |
SVG | 1 | 0 | 0 | 20 |
CSS | 2 | 1 | 8 | 16 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 26 | 76.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 23.53% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.67MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 7.17KB | 4.55KB | ▼ 36.64% |
assets/screenshot-1.png | 275.34KB | 77.23KB | ▼ 71.95% |
assets/banner-1544x500.png | 282.32KB | 144.15KB | ▼ 48.94% |
assets/banner-772x250.png | 103.41KB | 44.33KB | ▼ 57.13% |
assets/icon-256x256.png | 21.80KB | 12.04KB | ▼ 44.75% |