Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.73ms] Passed 4 tests
This is a short check of server-side resources used by Easy ProgressBar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.35 ▲0.07 |
Dashboard /wp-admin | 3.35 ▼0.00 | 48.47 ▼13.70 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.87 ▼0.17 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 81.23 ▼17.77 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 34.62 ▼7.26 |
Easy ProgressBar /wp-admin/options-general.php?page=easy-progressbar-settings | 3.21 | 29.02 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy ProgressBar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲158 | 13.51 ▼0.85 | 10.41 ▲8.61 | 45.63 ▲3.89 |
Dashboard /wp-admin | 2,220 ▲42 | 5.81 ▲0.20 | 97.43 ▼1.16 | 41.54 ▼3.13 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.48 ▲0.52 | 34.53 ▼2.27 | 34.49 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.39 ▲0.30 | 654.32 ▼8.30 | 35.66 ▼21.87 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.22 ▼0.02 | 91.71 ▼24.22 | 41.14 ▼5.89 |
Easy ProgressBar /wp-admin/options-general.php?page=easy-progressbar-settings | 1,070 | 2.58 | 46.31 | 26.56 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=easy-progressbar-settings
- > Notice in wp-content/plugins/easy-progressbar/easy-progressbar.php+119
Trying to access array offset on value of type bool
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: scroll, easy, progress, read, progressbar
easy-progressbar/easy-progressbar.php 85% from 13 tests
The principal PHP file in "Easy ProgressBar" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Git Repository: An alternative Git repository was detected
- Description: The description should be shorter than 140 characters (currently 178 characters long)
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 detected196 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 23 | 116 |
JavaScript | 3 | 4 | 9 | 51 |
CSS | 2 | 0 | 0 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin