Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.03ms] Passed 4 tests
Analyzing server-side resources used by WP Link Scroller
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.95 ▲3.66 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.65 ▲1.75 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.69 ▲0.38 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.73 ▼11.81 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.89 ▼2.44 |
WP Link Scroller /wp-admin/options-general.php?page=wpls_settings_page | 3.24 | 30.86 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Link Scroller
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 14.76 ▲0.35 | 2.10 ▲0.47 | 40.13 ▼0.52 |
Dashboard /wp-admin | 2,210 ▲18 | 4.88 ▼0.07 | 101.05 ▼9.62 | 38.91 ▲0.29 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.06 ▲0.00 | 38.82 ▼0.16 | 33.21 ▼2.59 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.29 ▼5.14 | 607.51 ▼56.29 | 50.67 ▼2.66 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.23 ▲0.05 | 95.58 ▼8.87 | 41.04 ▼4.28 |
WP Link Scroller /wp-admin/options-general.php?page=wpls_settings_page | 807 | 2.06 | 33.68 | 31.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wpls_settings_page
- > Notice in wp-content/plugins/wp-link-scroller/inc/settings.php+88
Trying to access array offset on value of type bool
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wpls_settings_page
- > Notice in wp-content/plugins/wp-link-scroller/inc/settings.php+88
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wpls_settings_page
- > Notice in wp-content/plugins/wp-link-scroller/inc/settings.php+206
ob_end_clean(): failed to delete buffer. No buffer to delete
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-link-scroller/inc/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-link-scroller/inc/fields.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-link-scroller/wp-link-scroller.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: link slide, anchor scrolling, scroll link, anchor slide, link scrolling...
wp-link-scroller/wp-link-scroller.php Passed 13 tests
The entry point to "WP Link Scroller" version 1.3.2 is a PHP file that has certain tags in its header comment area
53 characters long description:
Plugin creates slow scrolling for your #anchor links.
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
Good job! No executable or dangerous file extensions detected255 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 12 | 255 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin