Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.92MB] [CPU: ▼35.32ms] Passed 4 tests
An overview of server-side resources used by Scroll Highlight - catch the eye of your visitors while they scroll
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 34.24 ▼5.63 |
Dashboard /wp-admin | 3.03 ▼0.28 | 22.15 ▼26.79 |
Posts /wp-admin/edit.php | 3.03 ▼0.33 | 23.87 ▼24.63 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 25.57 ▼77.02 |
Media Library /wp-admin/upload.php | 3.03 ▼0.21 | 22.48 ▼12.82 |
Scroll Highlighter /wp-admin/options-general.php?page=scroll-highlighter/scrollhighlight.php | 3.03 | 28.65 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Scroll Highlight - catch the eye of your visitors while they scroll
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.30 ▼1.08 | 1.95 ▼0.11 | 37.78 ▼13.89 |
Dashboard /wp-admin | 2,210 ▲22 | 5.89 ▲1.03 | 106.35 ▼3.50 | 41.92 ▼0.59 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▼0.11 | 38.95 ▼2.48 | 33.31 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,517 ▼13 | 17.52 ▼0.49 | 635.56 ▲5.90 | 62.68 ▲1.77 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.07 | 94.95 ▼7.98 | 41.94 ▼0.76 |
Scroll Highlighter /wp-admin/options-general.php?page=scroll-highlighter/scrollhighlight.php | 897 | 2.02 | 23.78 | 28.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=scroll-highlighter/scrollhighlight.php
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scroll-highlighter/scrollhighlight.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=scroll-highlighter/scrollhighlight.php
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=scroll-highlighter%2Fscrollhighlight.php 149 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=scroll-highlighter/scrollhighlight.php
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=scroll-highlighter%2Fscrollhighlight.php 153 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 96% 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
3 plugin tags: scroll, ads highlight, hightlight
scroll-highlighter/scrollhighlight.php 92% from 13 tests
"Scroll Highlight - catch the eye of your visitors while they scroll" version 0.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("scroll-highlighter.php" instead of "scrollhighlight.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected252 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 7 | 252 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
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 | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin