Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/magic-scroller/inc/admin.php+48
Undefined index: magic_scroller_back_sc_color
Server metrics [RAM: ▼1.93MB] [CPU: ▼48.97ms] Passed 4 tests
Server-side resources used by magic scroller
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 5.28 ▼29.80 |
Dashboard /wp-admin | 2.08 ▼1.23 | 5.81 ▼40.26 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 6.80 ▼40.53 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.66 ▼85.30 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.40 ▼23.21 |
magic scroller /wp-admin/admin.php?page=magic_scroller | 2.08 | 6.00 |
learn use plugin /wp-admin/admin.php?page=magic_scroller_work | 2.08 | 6.46 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
magic scroller: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲67 | 13.16 ▼1.46 | 1.80 ▲0.11 | 38.52 ▼3.09 |
Dashboard /wp-admin | 2,238 ▲50 | 4.85 ▼1.01 | 107.06 ▼12.30 | 42.05 ▼7.68 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.16 ▲0.14 | 40.12 ▲2.03 | 37.79 ▲3.85 |
Add New Post /wp-admin/post-new.php | 1,393 ▼149 | 16.58 ▼1.72 | 540.49 ▼109.68 | 51.45 ▼7.67 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.19 ▼0.00 | 102.76 ▼1.38 | 39.77 ▼3.20 |
magic scroller /wp-admin/admin.php?page=magic_scroller | 881 | 2.06 | 25.36 | 25.74 |
learn use plugin /wp-admin/admin.php?page=magic_scroller_work | 814 | 2.05 | 23.76 | 26.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/magic-scroller/inc/admin.php+48
Undefined index: magic_scroller_back_sc_color
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=magic_scroller_work
- > Notice in wp-content/plugins/magic-scroller/magic-scroller.php+38
Undefined index: magic_scroller_back_sc_color
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=magic_scroller_work
- > Notice in wp-content/plugins/magic-scroller/magic-scroller.php+39
Undefined index: magic_scroller_sc_with
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=magic_scroller_work
- > Notice in wp-content/plugins/magic-scroller/magic-scroller.php+42
Undefined index: magic_scroller_sc_border
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=magic_scroller_work
- > Notice in wp-content/plugins/magic-scroller/magic-scroller.php+43
Undefined index: magic_scroller_sc_color
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=magic_scroller_work
- > Notice in wp-content/plugins/magic-scroller/inc/admin.php+56
Undefined index: magic_scrollerr_hover_back_sc_color
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=magic_scroller_work
- > Notice in wp-content/plugins/magic-scroller/magic-scroller.php+46
Undefined index: magic_scroller_hover_back_sc_color
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=magic_scroller_work
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
SRP 50% from 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
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/magic-scroller/tpl/admin/work.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/magic-scroller/tpl/admin/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/magic-scroller/inc/admin.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/magic-scroller/magic-scroller.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: scrollbar, scroll color, color scrollbar, change scrollbar color, custom scroll
magic-scroller/magic-scroller.php 85% from 13 tests
The primary PHP file in "magic scroller" version 1.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/scroll-color/")
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
There were no executable files found in this plugin161 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 31 | 13 | 161 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
There were not PNG files found in your plugin