Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.61MB] [CPU: ▼1.12ms] Passed 4 tests
An overview of server-side resources used by ScrollTick
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 47.31 ▲8.43 |
Dashboard /wp-admin | 4.00 ▲0.66 | 56.98 ▼6.15 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 61.91 ▲14.52 |
Add New Post /wp-admin/post-new.php | 6.57 ▲0.69 | 88.32 ▼12.88 |
Media Library /wp-admin/upload.php | 3.89 ▲0.66 | 43.27 ▲6.14 |
Settings /wp-admin/edit.php?post_type=scrolltick&page=scrolltick-settings | 3.94 | 47.46 |
Add New /wp-admin/post-new.php?post_type=scrolltick | 4.01 | 52.87 |
All Items /wp-admin/edit.php?post_type=scrolltick | 3.96 | 47.70 |
Group /wp-admin/edit-tags.php?taxonomy=scrolltick_group&post_type=scrolltick | 3.91 | 43.40 |
Server storage [IO: ▲5.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 286 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
_wpsf_registered_settings |
_scrolltick_options-transient |
db_upgraded |
widget_theysaidso_widget |
widget_scrolltick |
_scrolltick_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for ScrollTick
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,135 ▲389 | 16.06 ▲1.71 | 5.29 ▲3.74 | 38.17 ▼5.76 |
Dashboard /wp-admin | 2,461 ▲284 | 7.43 ▲1.76 | 121.69 ▲27.29 | 38.73 ▼2.47 |
Posts /wp-admin/edit.php | 2,397 ▲297 | 4.14 ▲2.17 | 61.68 ▲16.86 | 32.38 ▼7.14 |
Add New Post /wp-admin/post-new.php | 1,640 ▲102 | 21.91 ▲3.70 | 647.73 ▼10.41 | 35.68 ▼34.23 |
Media Library /wp-admin/upload.php | 1,527 ▲124 | 5.46 ▲1.26 | 90.25 ▼11.95 | 41.05 ▼2.50 |
Settings /wp-admin/edit.php?post_type=scrolltick&page=scrolltick-settings | 1,388 | 4.18 | 64.81 | 43.83 |
Add New /wp-admin/post-new.php?post_type=scrolltick | 2,616 | 8.24 | 197.09 | 82.76 |
All Items /wp-admin/edit.php?post_type=scrolltick | 1,373 | 4.16 | 51.89 | 27.36 |
Group /wp-admin/edit-tags.php?taxonomy=scrolltick_group&post_type=scrolltick | 1,570 | 3.96 | 54.32 | 31.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 10 options
- widget_recent-posts
- db_upgraded
- widget_scrolltick
- _scrolltick_options
- _wpsf_registered_settings
- _scrolltick_options-transient
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=scrolltick
- > Notice in wp-content/plugins/scrolltick/includes/wpsf/classes/metabox.php+107
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/scrolltick/includes/wpsf/templates/settings/global/header.php
- > /wp-content/plugins/scrolltick/includes/wpsf/templates/settings/global/footer.php
- > /wp-content/plugins/scrolltick/includes/wpsf/templates/settings/modern/footer.php
- 51× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scrolltick/includes/functions.php:12
- > PHP Warning
Use of undefined constant WPSF_VERSION - assumed 'WPSF_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/scrolltick/includes/wpsf/templates/settings/modern/footer.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scrolltick/includes/class-register-cpt.php:13
- > PHP Notice
Undefined variable: is_single_page in wp-content/plugins/scrolltick/includes/wpsf/templates/settings/global/header.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WPSFramework_Options' not found in wp-content/plugins/scrolltick/includes/wpsf/fields/typography_advanced/typography_advanced.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/scrolltick/includes/class-admin.php:13
- > PHP Fatal error
Uncaught Error: Class 'WPSFramework_Widget' not found in wp-content/plugins/scrolltick/includes/widgets/scrolltick_widgets.php:9
- > PHP Notice
Undefined variable: theme in wp-content/plugins/scrolltick/includes/wpsf/templates/settings/global/header.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'WPSFramework_Options' not found in wp-content/plugins/scrolltick/includes/wpsf/fields/tab/tab.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/scrolltick/includes/wpsf/config/settings.php:70
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tested up to: Version not formatted correctly
scrolltick/scrolltick.php 77% from 13 tests
The main PHP script in "ScrollTick" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Description: The description should be shorter than 140 characters (currently 141 characters long)
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
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
No dangerous file extensions were detected81,084 lines of code in 262 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 21 | 3,766 | 861 | 21,022 |
JSON | 2 | 0 | 0 | 17,729 |
JavaScript | 83 | 2,126 | 757 | 16,589 |
PHP | 93 | 1,526 | 2,927 | 11,228 |
Sass | 55 | 957 | 0 | 11,139 |
SVG | 1 | 0 | 0 | 2,672 |
PO File | 7 | 306 | 334 | 705 |
PHP code Passed 2 tests
A short review of 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.50 |
Average class complexity | 16.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 64 | |
▷ Abstract classes | 2 | 3.12% |
▷ Concrete classes | 62 | 96.88% |
▷ Final classes | 11 | 17.74% |
Methods | 334 | |
▷ Static methods | 25 | 7.49% |
▷ Public methods | 286 | 85.63% |
▷ Protected methods | 16 | 4.79% |
▷ Private methods | 32 | 9.58% |
Functions | 53 | |
▷ Named functions | 53 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/wpsf/assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
includes/wpsf/assets/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
includes/wpsf/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |