Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.24ms] Passed 4 tests
Server-side resources used by Scroll Top Fader
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 44.88 ▲3.91 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.63 ▼13.84 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.26 ▼1.85 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.63 ▼21.35 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.86 ▲0.07 |
ScrollTop Fader /wp-admin/options-general.php?page=scrolltop-fader | 3.36 | 34.71 |
Server storage [IO: ▲0.64MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 157 new files
Database: no new tables, 32 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
dme_scroll_to_top_fader_background_color_in |
dme_scroll_to_top_fader_is_color_one_mouse_over_transparent |
dme_scroll_to_top_fader_image_right_position |
dme_scroll_to_top_fader_box_shadow_blur_position |
dme_scroll_to_top_fader_fadein |
dme_scroll_to_top_fader_compress_js_files |
dme_scroll_to_top_fader_box_shadow_horizontal_position |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Scroll Top Fader
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲173 | 13.61 ▼0.91 | 11.92 ▲9.93 | 42.05 ▲0.59 |
Dashboard /wp-admin | 2,187 ▲13 | 5.51 ▼0.09 | 84.27 ▼8.30 | 79.38 ▲37.70 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 1.98 ▲0.00 | 39.17 ▲2.08 | 34.40 ▼5.92 |
Add New Post /wp-admin/post-new.php | 1,556 ▲28 | 23.13 ▲0.01 | 728.03 ▲63.42 | 52.26 ▲2.37 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.19 ▼0.02 | 99.95 ▼4.38 | 70.95 ▲27.02 |
ScrollTop Fader /wp-admin/options-general.php?page=scrolltop-fader | 2,371 | 2.56 | 43.77 | 47.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scrolltop-fader/include/settings.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/scrolltop-fader/include/functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/scrolltop-fader/include/admin-help.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/scrolltop-fader/include/functions.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser 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 is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: back to top, jquery top, smooth scroll top, scroll top, scroll to top...
scrolltop-fader/scrolltop-fader.php 92% from 13 tests
The main file in "Scroll Top Fader" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 270 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
Everything looks great! No dangerous files found in this plugin7,014 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 683 | 428 | 3,511 |
PHP | 5 | 9 | 186 | 2,015 |
CSS | 6 | 44 | 59 | 1,488 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 108 | |
▷ Named functions | 108 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
133 compressed PNG files occupy 0.20MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/up-30-f-gray.png | 0.35KB | 0.44KB | 0.00% |
images/up-45-c-black.png | 0.42KB | 0.58KB | 0.00% |
images/up-40-a-gray.png | 0.48KB | 0.57KB | 0.00% |
images/up-50-b-black.png | 0.67KB | 0.64KB | ▼ 3.96% |
images/up-50-e-gray.png | 0.57KB | 0.66KB | 0.00% |