Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼0.33ms] Passed 4 tests
An overview of server-side resources used by Ultimate Custom ScrollBar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.12 | 42.74 ▼3.53 |
Dashboard /wp-admin | 3.61 ▲0.26 | 52.32 ▼0.80 |
Posts /wp-admin/edit.php | 3.66 ▲0.27 | 55.81 ▲4.20 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.18 | 91.06 ▲0.98 |
Media Library /wp-admin/upload.php | 3.45 ▲0.18 | 38.18 ▲2.04 |
Ultimate Custom ScrollBar /wp-admin/options-general.php?page=ultimate_scrollbar_settings | 3.45 | 37.67 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
ucs_options_tab |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Custom ScrollBar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲176 | 14.37 ▲0.17 | 3.94 ▲2.29 | 44.23 ▲1.17 |
Dashboard /wp-admin | 2,333 ▲153 | 6.16 ▲0.55 | 116.63 ▲28.78 | 37.53 ▼5.48 |
Posts /wp-admin/edit.php | 2,267 ▲167 | 3.28 ▲1.25 | 55.04 ▲18.92 | 35.24 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.39 ▲0.21 | 608.97 ▼84.61 | 36.44 ▼12.01 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.12 ▼0.08 | 80.25 ▼24.45 | 42.97 ▼1.29 |
Ultimate Custom ScrollBar /wp-admin/options-general.php?page=ultimate_scrollbar_settings | 1,559 | 3.85 | 64.58 | 34.01 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- ucs_options_tab
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
2 plugin tags: scrollbar, custom scrollbar
ultimate-custom-scrollbar/ultimate-custom-scrollbar.php 92% from 13 tests
The primary PHP file in "Ultimate Custom ScrollBar" version 1.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 226 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin766 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 127 | 187 | 654 |
JavaScript | 2 | 11 | 5 | 65 |
CSS | 2 | 1 | 0 | 47 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin