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.12MB] [CPU: ▼291.19ms] Passed 4 tests
A check of server-side resources used by Advanced scrollbar - Customize the scrollbar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.16 | 56.88 ▲6.77 |
Dashboard /wp-admin | 3.57 ▲0.16 | 36.11 ▲1.56 |
Posts /wp-admin/edit.php | 3.79 ▲0.15 | 40.97 ▲4.38 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.04 | 97.17 ▼1,165.66 |
Media Library /wp-admin/upload.php | 3.42 ▲0.12 | 23.70 ▼5.04 |
Advanced Scrollbar Settings /wp-admin/options-general.php?page=c_s_b_setting | 3.42 | 26.50 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 2 new options
New WordPress options |
---|
wedevs_advanced |
wedevs_basics |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced scrollbar - Customize the scrollbar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,184 ▲440 | 18.50 ▲2.45 | 17.60 ▲11.69 | 3.62 ▲1.57 |
Dashboard /wp-admin | 3,111 ▲250 | 8.32 ▲2.20 | 146.20 ▲13.35 | 162.22 ▲5.01 |
Posts /wp-admin/edit.php | 2,946 ▲261 | 5.39 ▲2.15 | 80.12 ▲18.68 | 140.26 ▲1.44 |
Add New Post /wp-admin/post-new.php | 1,690 ▼61 | 20.09 ▼1.48 | 367.88 ▼93.92 | 172.20 ▲14.25 |
Media Library /wp-admin/upload.php | 1,728 ▲30 | 5.65 ▲0.12 | 106.26 ▼30.13 | 185.70 ▼2.77 |
Advanced Scrollbar Settings /wp-admin/options-general.php?page=c_s_b_setting | 1,861 | 5.03 | 97.78 | 113.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 2 options in the database
- wedevs_basics
- wedevs_advanced
Smoke tests 75% 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 50% from 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
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-scrollbar/advanced-scrollbar.php:21
- > PHP Fatal error
Uncaught Error: Class 'WeDevs_Settings_API' not found in wp-content/plugins/advanced-scrollbar/inc/fields.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: custom scroll, nice scrollbar, customizer, color scrollbar, scrollbar
advanced-scrollbar/advanced-scrollbar.php Passed 13 tests
The entry point to "Advanced scrollbar - Customize the scrollbar" version 1.1 is a PHP file that has certain tags in its header comment area
86 characters long description:
Customize scrollbar of your website with unlimited styling and color using the plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin639 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 138 | 198 | 519 |
JavaScript | 1 | 0 | 0 | 120 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icn.png | 3.09KB | 0.40KB | ▼ 87.18% |