Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.59MB] [CPU: ▼2.72ms] Passed 4 tests
Server-side resources used by Nicescrollr
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.59 | 45.49 ▲2.43 |
Dashboard /wp-admin | 3.90 ▲0.59 | 53.50 ▼1.06 |
Posts /wp-admin/edit.php | 3.95 ▲0.59 | 49.04 ▼10.84 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.61 | 88.56 ▼1.42 |
Media Library /wp-admin/upload.php | 3.82 ▲0.59 | 43.41 ▲8.83 |
Nicescrollr /wp-admin/options-general.php?page=nicescrollr_settings | 3.87 | 37.13 |
Server storage [IO: ▲0.59MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 52 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
nicescrollr_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Nicescrollr
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,100 ▲343 | 14.20 ▼0.18 | 18.58 ▲16.75 | 44.60 ▲5.00 |
Dashboard /wp-admin | 2,246 ▲58 | 5.40 ▲0.49 | 113.57 ▲13.99 | 39.95 ▼3.00 |
Posts /wp-admin/edit.php | 2,148 ▲56 | 2.57 ▲0.51 | 41.26 ▼0.04 | 31.56 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 23.46 ▲5.88 | 703.66 ▲20.91 | 40.14 ▼23.80 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.54 ▲0.23 | 105.12 ▲2.49 | 43.01 ▼0.45 |
Nicescrollr /wp-admin/options-general.php?page=nicescrollr_settings | 3,618 | 3.63 | 180.67 | 65.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- nicescrollr_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=nicescrollr_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=nicescrollr_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=nicescrollr_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=nicescrollr_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clearAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Requires php: The plugin version is formatted incorrectly
- Contributors: The plugin contributors field is missing
nicescrollr/nicescrollr.php 92% from 13 tests
The main file in "Nicescrollr" v. 0.9.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 469 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected7,830 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 716 | 155 | 3,501 |
PHP | 21 | 787 | 1,920 | 2,522 |
PO File | 1 | 332 | 945 | 609 |
Markdown | 5 | 142 | 0 | 601 |
CSS | 4 | 99 | 53 | 597 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 16.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 132 | |
▷ Static methods | 2 | 1.52% |
▷ Public methods | 87 | 65.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 45 | 34.09% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
shared/icon-128x128.png | 12.79KB | 6.72KB | ▼ 47.43% |