Benchmarks
Plugin footprint 65% 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.49MB] [CPU: ▼32.68ms] Passed 4 tests
Server-side resources used by BSPB ProgressBar by pierre gagliardi
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 25.05 ▼19.87 |
Dashboard /wp-admin | 3.45 ▲0.15 | 27.36 ▼17.68 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 27.77 ▼18.57 |
Add New Post /wp-admin/post-new.php | 3.45 ▼2.43 | 26.65 ▼74.59 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 28.65 ▼7.66 |
BSPB Plugin /wp-admin/options-general.php?page=bspb-plugin | 3.45 | 27.54 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
bspb_plugin_version |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for BSPB ProgressBar by pierre gagliardi
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 13.62 ▼0.68 | 10.55 ▲8.45 | 39.15 ▼3.19 |
Dashboard /wp-admin | 2,216 ▲42 | 4.90 ▼1.01 | 111.33 ▲3.48 | 39.17 ▼3.32 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.05 | 35.95 ▼6.58 | 35.63 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,526 ▼7 | 23.55 ▲0.39 | 677.72 ▼10.21 | 69.20 ▲9.16 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.15 ▼0.09 | 97.85 ▼2.11 | 43.02 ▲2.09 |
BSPB Plugin /wp-admin/options-general.php?page=bspb-plugin | 1,204 | 2.56 | 61.07 | 38.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/bspb-progressbar/includes/class-settings.php+716
Undefined index: not_animate_on_mobile
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- bspb_plugin_version
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bspb-plugin
- > Notice in wp-content/plugins/bspb-progressbar/includes/class-settings.php+717
Undefined index: not_animate_on_mobile
- > GET request to /wp-admin/options-general.php?page=bspb-plugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=bspb-plugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function BSPB_Plugin() in wp-content/plugins/bspb-progressbar/css/custom-css.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: bar, circular, vertical, horizontal, progress...
bspb-progressbar/bspb_progressbar_animated.php 85% from 13 tests
The entry point to "BSPB ProgressBar by pierre gagliardi" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bspb-progressbar.php" instead of "bspb_progressbar_animated.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,073 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 360 | 357 | 1,622 |
CSS | 4 | 48 | 64 | 806 |
PO File | 1 | 145 | 162 | 348 |
JavaScript | 6 | 115 | 57 | 297 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 63.67 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 7.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 26 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 13.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
6 PNG files occupy 0.41MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-5.png | 3.20KB | 1.19KB | ▼ 62.86% |
assets/screenshot-3.png | 103.99KB | 33.72KB | ▼ 67.57% |
assets/screenshot-1.png | 75.90KB | 24.21KB | ▼ 68.10% |
images/logo-white.png | 10.13KB | 4.88KB | ▼ 51.88% |
assets/screenshot-4.png | 144.60KB | 43.39KB | ▼ 69.99% |