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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼12.02ms] Passed 4 tests
A check of server-side resources used by TCBD Custom Scrollbar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.29 ▼3.23 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.45 ▼10.13 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.95 ▼1.72 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 80.64 ▼24.56 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.52 ▼10.14 |
TCBD Custom Scrollbar /wp-admin/options-general.php?page=tcbd-custom-scrollbar-settings | 3.25 | 30.79 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 15 new options
New WordPress options |
---|
tcbd_custom_scrollbar_show |
theysaidso_admin_options |
widget_recent-posts |
tcbd_custom_scrollbar_autohide |
tcbd_custom_scrollbar_hidecursordelay |
can_compress_scripts |
tcbd_custom_scrollbar_speed |
tcbd_custom_scrollbar_border_color |
tcbd_custom_scrollbar_opacity |
tcbd_custom_scrollbar_bgcolor |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TCBD Custom Scrollbar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,021 ▲260 | 13.97 ▼0.58 | 16.69 ▲14.82 | 42.79 ▲1.21 |
Dashboard /wp-admin | 2,230 ▲53 | 5.79 ▲0.05 | 86.87 ▼0.91 | 37.83 ▼1.46 |
Posts /wp-admin/edit.php | 2,137 ▲34 | 2.30 ▲0.27 | 37.13 ▼5.53 | 32.89 ▼4.96 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.32 ▲0.36 | 614.45 ▲10.61 | 34.69 ▼23.29 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.44 ▲0.32 | 98.65 ▼22.47 | 41.13 ▼5.05 |
TCBD Custom Scrollbar /wp-admin/options-general.php?page=tcbd-custom-scrollbar-settings | 1,267 | 2.34 | 52.68 | 28.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
tcbd-custom-scrollbar/plugins-hook.php 85% from 13 tests
The main file in "TCBD Custom Scrollbar" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 237 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tcbd-custom-scrollbar.php" instead of "plugins-hook.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected431 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 39 | 19 | 197 |
JavaScript | 3 | 2 | 3 | 131 |
CSS | 1 | 9 | 0 | 103 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 9 | |
▷ Named functions | 9 | 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
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