Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.73ms] Passed 4 tests
An overview of server-side resources used by Dewdrop Custom Scrollbar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.90 ▼4.22 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.90 ▼6.26 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.81 ▲5.58 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.21 ▼10.21 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.13 ▲1.79 |
Dewdrop Scrollbar Options /wp-admin/options-general.php?page=dewdrop-settings | 3.25 | 31.91 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dewdrop Custom Scrollbar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,050 ▲315 | 13.98 ▼0.30 | 14.32 ▲12.57 | 38.59 ▼5.63 |
Dashboard /wp-admin | 2,229 ▲41 | 5.11 ▲0.22 | 108.97 ▼3.24 | 39.42 ▼8.54 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.35 ▲0.29 | 43.40 ▲2.51 | 33.76 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.34 ▲0.29 | 649.24 ▼34.88 | 37.81 ▼21.02 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.53 ▲0.26 | 95.00 ▼16.79 | 42.03 ▼7.95 |
Dewdrop Scrollbar Options /wp-admin/options-general.php?page=dewdrop-settings | 1,784 | 2.37 | 50.44 | 64.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- 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 | 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dewdrop-custom-scrollbar/dewdrop-scrollbar.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tested up to: The plugin version is formatted incorrectly
dewdrop-custom-scrollbar/dewdrop-scrollbar.php 85% from 13 tests
The primary PHP file in "Dewdrop Custom Scrollbar" version 1.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("dewdrop-custom-scrollbar.php" instead of "dewdrop-scrollbar.php")
- Description: Keep the plugin description shorter than 140 characters (currently 223 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin592 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 84 | 18 | 436 |
JavaScript | 2 | 2 | 0 | 140 |
CSS | 1 | 6 | 5 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
20 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ready-styles/style13.png | 1.24KB | 0.32KB | ▼ 74.39% |
ready-styles/style11.png | 1.38KB | 0.44KB | ▼ 67.97% |
ready-styles/style5.png | 1.10KB | 0.19KB | ▼ 82.44% |
ready-styles/style8.png | 1.59KB | 0.60KB | ▼ 62.24% |
ready-styles/style3.png | 1.06KB | 0.23KB | ▼ 77.86% |