Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▲0.64ms] Passed 4 tests
A check of server-side resources used by Progress Skill Bar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 36.69 ▼3.10 |
Dashboard /wp-admin | 3.46 ▲0.16 | 45.25 ▼4.22 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 47.61 ▲3.46 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 109.24 ▲14.52 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.34 ▲6.44 |
Template 11-20 /wp-admin/admin.php?page=pbar-6310-template-11-20 | 3.44 | 31.24 |
How to use /wp-admin/admin.php?page=pbar-6310-progress-bar-use | 3.36 | 39.91 |
All Progress bar /wp-admin/admin.php?page=pbar-6310-progress-bar | 3.37 | 44.98 |
License /wp-admin/admin.php?page=pbar-6310-progress-bar-license | 3.36 | 46.51 |
Manage progress bar /wp-admin/admin.php?page=pbar-6310-progress-bar-manage-items | 3.38 | 46.23 |
Import/Export Plugin /wp-admin/admin.php?page=pbar-6310-progress-bar-import-export | 3.38 | 35.93 |
Template 01-10 /wp-admin/admin.php?page=pbar-6310-template-01-10 | 3.45 | 33.44 |
Template 21-30 /wp-admin/admin.php?page=pbar-6310-template-21-30 | 3.44 | 36.19 |
WpMart Plugins /wp-admin/admin.php?page=pbar-6310-wpmart-plugins | 3.36 | 35.93 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 172 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_pbar_6310_item |
wp_pbar_6310_style |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
pbar_6310_version_info |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Progress Skill Bar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲105 | 13.25 ▼1.31 | 1.69 ▲0.17 | 39.87 ▼1.96 |
Dashboard /wp-admin | 2,257 ▲72 | 4.82 ▼1.06 | 107.76 ▲5.10 | 40.60 ▼0.95 |
Posts /wp-admin/edit.php | 2,140 ▲54 | 2.05 ▲0.06 | 40.22 ▲2.69 | 35.04 ▲1.26 |
Add New Post /wp-admin/post-new.php | 1,573 ▲31 | 23.20 ▲4.79 | 640.02 ▲17.07 | 52.77 ▼2.57 |
Media Library /wp-admin/upload.php | 1,439 ▲51 | 4.23 ▲0.04 | 94.97 ▼3.79 | 41.30 ▼2.40 |
Template 11-20 /wp-admin/admin.php?page=pbar-6310-template-11-20 | 2,014 | 11.98 | 328.57 | 182.46 |
How to use /wp-admin/admin.php?page=pbar-6310-progress-bar-use | 3,332 | 31.02 | 936.45 | 51.04 |
All Progress bar /wp-admin/admin.php?page=pbar-6310-progress-bar | 945 | 2.69 | 45.03 | 38.83 |
License /wp-admin/admin.php?page=pbar-6310-progress-bar-license | 970 | 2.73 | 44.92 | 39.36 |
Manage progress bar /wp-admin/admin.php?page=pbar-6310-progress-bar-manage-items | 1,206 | 4.00 | 97.90 | 37.57 |
Import/Export Plugin /wp-admin/admin.php?page=pbar-6310-progress-bar-import-export | 1,185 | 3.97 | 52.25 | 28.44 |
Template 01-10 /wp-admin/admin.php?page=pbar-6310-template-01-10 | 2,250 | 8.47 | 178.35 | 160.74 |
Template 21-30 /wp-admin/admin.php?page=pbar-6310-template-21-30 | 2,225 | 8.33 | 170.88 | 128.05 |
WpMart Plugins /wp-admin/admin.php?page=pbar-6310-wpmart-plugins | 1,030 | 2.74 | 40.36 | 32.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure failed, leaving 2 tables in the database
- wp_pbar_6310_style
- wp_pbar_6310_item
- Zombie WordPress options were found after uninstall: 7 options
- pbar_6310_version_info
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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× PHP files output text when accessed directly:
- > /wp-content/plugins/progress-skill-bar/settings/helper/tab-menu.php
- 147× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/settings/helper/_helper-14.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/settings/templates/template-16.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/settings/templates/template-30.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/settings/css/_css-02.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/output/css/_css-02.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/progress-skill-bar/settings/form/_form-13.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/settings/css/_css-01.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/settings/helper/_helper-13.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/settings/templates/template-04.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/progress-skill-bar/settings/helper/_helper-15.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=pbar-6310-template-11-20
- > Network (severe)
https://files.wallpaperpass.com/2019/09/8k%20wallpaper%20041%20-%205120x2880.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
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 to be fixed:
- Screenshots: These screenshots require images: #1 (Progress Bar Template 01-10), #2 (Progress Bar Template 11-20), #3 (Progress Bar Template 21-30)
progress-skill-bar/index.php 92% from 13 tests
The main PHP script in "Progress Skill Bar" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("progress-skill-bar.php" instead of "index.php")
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
Success! There were no dangerous files found in this plugin18,169 lines of code in 157 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 145 | 852 | 416 | 13,133 |
CSS | 6 | 166 | 48 | 4,381 |
JavaScript | 6 | 45 | 28 | 655 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/fs-sprite.png | 1.07KB | 0.18KB | ▼ 82.82% |
assets/css/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
assets/css/hover.png | 1.27KB | 0.66KB | ▼ 48.23% |