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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.29ms] Passed 4 tests
An overview of server-side resources used by Progress Bar & Skill Bar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.03 ▼1.05 |
Dashboard /wp-admin | 3.34 ▼0.00 | 44.47 ▼12.71 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.20 ▲5.56 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 94.06 ▼2.02 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 30.89 ▼5.39 |
Add New ProgressBar /wp-admin/post-new.php?post_type=progressbar_wp_r | 3.40 | 43.03 |
All ProgressBar /wp-admin/edit.php?post_type=progressbar_wp_r | 3.31 | 34.55 |
Server storage [IO: ▲1.99MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 88 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
dazz_pb_b_review |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Progress Bar & Skill Bar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲178 | 13.52 ▼1.20 | 11.72 ▲9.94 | 39.63 ▼0.20 |
Dashboard /wp-admin | 2,219 ▲45 | 5.61 ▲0.00 | 94.06 ▲1.25 | 40.81 ▼2.10 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.02 ▼0.01 | 39.51 ▲2.20 | 35.33 ▲4.03 |
Add New Post /wp-admin/post-new.php | 1,551 ▲13 | 23.32 ▼0.02 | 661.53 ▼12.06 | 60.74 ▲3.90 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.24 ▲0.08 | 96.76 ▼3.36 | 41.48 ▼0.59 |
Add New ProgressBar /wp-admin/post-new.php?post_type=progressbar_wp_r | 3,530 | 4.60 | 130.73 | 183.23 |
All ProgressBar /wp-admin/edit.php?post_type=progressbar_wp_r | 1,088 | 1.90 | 32.20 | 26.84 |
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
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- dazz_pb_b_review
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 task of outputting text when accessed with GET requests:
- > /wp-content/plugins/progress-bar-wp/ink/admin/customRange-js.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/progress-bar-wp/ink/admin/designs.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/progress-bar-wp/ink/admin/custom-css.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-bar-wp/template/designs/design1/mystyle.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-bar-wp/template/designs/design2/mystyle.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/progress-bar-wp/ink/admin/admin-scripts.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: skill bar, skill-bars, chart bar, progress bar, graph bar...
progress-bar-wp/progress-bar-wp.php Passed 13 tests
The principal PHP file in "Progress Bar & Skill Bar" v. 1.4.7 is loaded by WordPress automatically on each request
91 characters long description:
Progress bar plugin will help you to add skill bar graph or percentage bar on your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected17,780 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 960 | 1,024 | 8,400 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 12 | 215 | 73 | 1,812 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 19 | 215 | 91 | 1,371 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/button_check.png | 4.66KB | 1.57KB | ▼ 66.23% |
assets/images/design/progress-2.png | 6.98KB | 2.38KB | ▼ 65.90% |
assets/images/pb-template.png | 19.73KB | 6.06KB | ▼ 69.31% |
assets/images/design/progress-3.png | 9.19KB | 2.70KB | ▼ 70.57% |
assets/images/design/progress-1.png | 8.17KB | 2.79KB | ▼ 65.87% |