Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-includes/plugin.php+1001
Undefined offset: 0
Server metrics [RAM: ▼1.96MB] [CPU: ▼48.75ms] Passed 4 tests
An overview of server-side resources used by WP LocalScroll
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 6.28 ▼29.10 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.64 ▼51.54 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.29 ▼38.31 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.59 ▼76.03 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.59 ▼27.03 |
Rabbett Designs /wp-admin/plugins.php?page=rabbett_designs | 2.05 | 7.18 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
wp_localscroll_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for WP LocalScroll
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.40 ▼0.89 | 9.08 ▲7.49 | 38.71 ▼3.07 |
Dashboard /wp-admin | 2,199 ▲19 | 5.58 ▼0.04 | 90.91 ▼10.17 | 40.05 ▼4.07 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.02 ▲0.08 | 39.77 ▼1.94 | 36.48 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,532 ▲1 | 23.19 ▲0.07 | 674.51 ▲14.54 | 54.00 ▼1.40 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.25 ▲0.05 | 97.17 ▲1.52 | 40.61 ▲0.21 |
Rabbett Designs /wp-admin/plugins.php?page=rabbett_designs | 1,061 | 2.25 | 35.97 | 25.26 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-includes/plugin.php+1001
Undefined offset: 0
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- wp_localscroll_settings
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=rabbett_designs
- > Notice in wp-includes/plugin.php+1004
Undefined offset: 0
- > GET request to /wp-admin/plugins.php?page=rabbett_designs
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, no array or string given
- 15 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=rabbett_designs
- > Notice in wp-content/plugins/wp-localscroll/wp-localscroll.php+201
Undefined variable: html
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 fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-localscroll/inc/class-rd-plugin-settings.php:138
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-localscroll/wp-localscroll.php:32
- > 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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
10 plugin tags: navigation, scroll, link, anchor, links...
wp-localscroll/wp-localscroll.php 92% from 13 tests
The main file in "WP LocalScroll" 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 don't use more than 140 characters for the plugin description (currently 262 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin289 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 61 | 117 | 287 |
JavaScript | 2 | 0 | 14 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
There were not PNG files found in your plugin