Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼137.65ms] Passed 4 tests
This is a short check of server-side resources used by DL Ultimate Custom ScrollBar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 27.82 ▲6.70 |
Dashboard /wp-admin | 3.39 ▲0.34 | 47.20 ▲0.28 |
Posts /wp-admin/edit.php | 3.44 ▲0.33 | 46.94 ▼1.27 |
Add New Post /wp-admin/post-new.php | 5.69 ▲0.25 | 91.20 ▼552.82 |
Media Library /wp-admin/upload.php | 3.27 ▲0.27 | 36.84 ▲3.21 |
DL ScrollBar Options /wp-admin/options-general.php?page=dl-scrollbar-options | 3.24 | 31.93 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 2 new options
New WordPress options |
---|
dlucs_installed |
dlucs_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DL Ultimate Custom ScrollBar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,954 ▲358 | 16.49 ▲0.57 | 20.53 ▲11.23 | 46.88 ▼0.06 |
Dashboard /wp-admin | 2,972 ▲38 | 5.88 ▼0.09 | 136.57 ▼4.61 | 114.39 ▲3.40 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.69 ▼0.00 | 68.38 ▼1.35 | 94.19 ▲2.02 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.55 ▲0.11 | 383.51 ▼9.71 | 102.39 ▼11.43 |
Media Library /wp-admin/upload.php | 1,812 ▲64 | 4.99 ▼0.02 | 151.50 ▼19.81 | 120.70 ▼1.98 |
DL ScrollBar Options /wp-admin/options-general.php?page=dl-scrollbar-options | 1,300 | 2.08 | 61.79 | 82.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 2 options
- dlucs_version
- dlucs_installed
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: scrollbar, custom scrollbar
dl-ultimate-custom-scrollbar/dl-ultimate-custom-scrollbar.php Passed 13 tests
Analyzing the main PHP file in "DL Ultimate Custom ScrollBar" version 1.0.0
73 characters long description:
This will enable custom nice looking scrollbar on your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,375 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 195 | 441 | 1,296 |
JavaScript | 2 | 0 | 0 | 32 |
CSS | 1 | 0 | 0 | 26 |
JSON | 2 | 0 | 0 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 27.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 58 | |
▷ Static methods | 4 | 6.90% |
▷ Public methods | 46 | 79.31% |
▷ Protected methods | 10 | 17.24% |
▷ Private methods | 2 | 3.45% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin