Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.21ms] Passed 4 tests
An overview of server-side resources used by Advanced scrollbar - Customize the scrollbar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 41.65 ▼0.01 |
Dashboard /wp-admin | 3.46 ▲0.15 | 54.32 ▲2.39 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.92 ▼5.23 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 89.11 ▼1.99 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 38.32 ▲2.76 |
Advanced Scrollbar Settings /wp-admin/options-general.php?page=c_s_b_setting | 3.35 | 37.54 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
wedevs_basics |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
wedevs_advanced |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced scrollbar - Customize the scrollbar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,203 ▲442 | 15.62 ▲0.97 | 15.86 ▲13.85 | 37.91 ▼0.04 |
Dashboard /wp-admin | 2,353 ▲173 | 6.33 ▲0.74 | 118.14 ▲28.97 | 39.67 ▼5.55 |
Posts /wp-admin/edit.php | 2,284 ▲181 | 3.49 ▲1.50 | 54.17 ▲14.27 | 31.21 ▼8.35 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.20 ▲0.15 | 636.38 ▲16.07 | 37.21 ▼17.40 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.33 ▲0.15 | 83.55 ▼24.83 | 43.54 ▼4.07 |
Advanced Scrollbar Settings /wp-admin/options-general.php?page=c_s_b_setting | 1,378 | 3.63 | 76.06 | 28.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- theysaidso_admin_options
- wedevs_advanced
- widget_recent-comments
- widget_theysaidso_widget
- wedevs_basics
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > 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 smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: customizer, scrollbar, color scrollbar, nice scrollbar, custom scroll
advanced-scrollbar/advanced-scrollbar.php Passed 13 tests
The entry point to "Advanced scrollbar - Customize the scrollbar" version 1.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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected643 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 137 | 199 | 523 |
JavaScript | 1 | 0 | 0 | 120 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued 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
It is recommended to compress PNG files in your plugin to 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% |