Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼7.24ms] Passed 4 tests
A check of server-side resources used by Responsive Progress Bar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.16 ▼7.36 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.29 ▼1.45 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.03 ▲0.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.80 ▼18.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.02 ▼2.05 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Responsive Progress Bar: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲162 | 13.59 ▼0.79 | 5.58 ▲3.74 | 43.22 ▼1.08 |
Dashboard /wp-admin | 2,224 ▲24 | 5.86 ▼0.17 | 99.32 ▼1.82 | 38.09 ▼3.12 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▼0.02 | 40.46 ▲4.75 | 34.15 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 18.17 ▲0.46 | 611.80 ▼30.71 | 53.87 ▼0.63 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.25 ▲0.02 | 100.64 ▼2.40 | 43.63 ▼0.87 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Responsive Progress Bar in action), #2 (Using the shortcode in WordPress editor)
responsive-progress-bar/responsive-progress-bar.php Passed 13 tests
This is the main PHP file of "Responsive Progress Bar" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
64 characters long description:
Shortcode for displaying a responsive configurable progress bar.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected75 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 25 | 35 |
CSS | 1 | 4 | 1 | 23 |
JavaScript | 1 | 9 | 1 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 27.17KB | 10.10KB | ▼ 62.84% |
screenshot-2.png | 27.70KB | 10.94KB | ▼ 60.49% |