Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.67ms] Passed 4 tests
An overview of server-side resources used by Progress Bars
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.07 ▲0.35 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.31 ▼12.96 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.87 ▲0.38 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 81.67 ▼22.43 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.87 ▲2.29 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Progress Bars
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.32 ▼1.43 | 4.36 ▲2.58 | 42.50 ▼4.58 |
Dashboard /wp-admin | 2,203 ▲12 | 5.84 ▲0.96 | 95.12 ▼4.14 | 38.68 ▼4.98 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.03 | 39.47 ▲1.59 | 34.34 ▲5.33 |
Add New Post /wp-admin/post-new.php | 1,661 ▲142 | 23.26 ▼0.09 | 573.23 ▼104.23 | 35.72 ▼15.08 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.17 ▼0.16 | 95.07 ▼4.04 | 42.71 ▼2.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
progress-bars/progress-bars.php Passed 13 tests
The main PHP script in "Progress Bars" version 1.2.6 is automatically included on every request by WordPress
56 characters long description:
Make your website interactive with stunning progress bar
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected771 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 105 | 164 | 693 |
JavaScript | 5 | 11 | 4 | 66 |
JSON | 1 | 0 | 0 | 9 |
CSS | 3 | 1 | 6 | 3 |
PHP code Passed 2 tests
Analyzing 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.62 |
Average class complexity | 32.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 5.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 33 | |
▷ Static methods | 12 | 36.36% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.12% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected