Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.27ms] Passed 4 tests
Analyzing server-side resources used by WP Smoother - Smooth Scroll, Anchor Scroll, Fade Animations
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 26.59 ▼12.57 |
Dashboard /wp-admin | 3.37 ▲0.03 | 46.32 ▼13.51 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.39 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.93 ▼7.82 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.49 ▲2.46 |
WP Smoother /wp-admin/options-general.php?page=wp-smoother | 3.29 | 30.16 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
wp-smoother |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Smoother - Smooth Scroll, Anchor Scroll, Fade Animations: 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,891 ▲156 | 13.61 ▼0.77 | 10.49 ▲8.59 | 44.45 ▼7.26 |
Dashboard /wp-admin | 2,211 ▲26 | 5.80 ▼0.11 | 94.78 ▼5.87 | 36.29 ▼6.73 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 2.01 ▲0.00 | 35.78 ▼4.69 | 29.96 ▼5.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 18.32 ▼4.81 | 611.12 ▼83.33 | 52.42 ▼6.13 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.19 ▲0.02 | 95.05 ▼4.88 | 39.20 ▼4.72 |
WP Smoother /wp-admin/options-general.php?page=wp-smoother | 952 | 2.02 | 22.63 | 30.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-smoother
- > Notice in wp-content/plugins/wp-smoother/admin/partials/wp-smoother-admin-display.php+30
Undefined index: wpsmoother_fade_home
SRP 0% 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-smoother/public/css/wp-smoother-public.php
- > /wp-content/plugins/wp-smoother/public/js/wp-smoother-public.php
- > /wp-content/plugins/wp-smoother/public/partials/wp-smoother-public-display.php
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: wpsmoother_anchor_speed in wp-content/plugins/wp-smoother/public/js/wp-smoother-public.php on line 97
- > PHP Notice
Undefined index: wpsmoother_mouse_distance in wp-content/plugins/wp-smoother/public/js/wp-smoother-public.php on line 69
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-smoother/admin/partials/wp-smoother-admin-display.php:19
- > PHP Notice
Undefined index: wpsmoother_fade_duration in wp-content/plugins/wp-smoother/public/css/wp-smoother-public.php on line 4
- > PHP Notice
Undefined index: wpsmoother_fade_duration in wp-content/plugins/wp-smoother/public/css/wp-smoother-public.php on line 5
- > PHP Notice
Undefined index: wpsmoother_mouse_speed in wp-content/plugins/wp-smoother/public/js/wp-smoother-public.php on line 69
- > PHP Notice
Undefined index: wpsmoother_fade_duration in wp-content/plugins/wp-smoother/public/css/wp-smoother-public.php on line 6
- > PHP Notice
Undefined index: activate_mouse_scroll in wp-content/plugins/wp-smoother/public/js/wp-smoother-public.php on line 5
- > PHP Notice
Undefined index: wpsmoother_fade_duration in wp-content/plugins/wp-smoother/public/css/wp-smoother-public.php on line 7
- > PHP Notice
Undefined index: activate_click_scroll in wp-content/plugins/wp-smoother/public/js/wp-smoother-public.php on line 77
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: page load animations, anchor scroll, scrolling animations, page fade, smooth site...
wp-smoother/wp-smoother.php 92% from 13 tests
The main PHP file in "WP Smoother - Smooth Scroll, Anchor Scroll, Fade Animations" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin421 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 254 | 583 | 418 |
JavaScript | 1 | 2 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 5.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 4 | |
▷ Named functions | 4 | 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