Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.16ms] Passed 4 tests
This is a short check of server-side resources used by Mythic Smooth Scroll
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.90 ▼6.65 |
Dashboard /wp-admin | 3.32 ▲0.02 | 41.91 ▼11.14 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.68 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 90.63 ▲3.18 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.19 ▲2.53 |
Mythic Smooth Scroll /wp-admin/options-general.php?page=mythic-smooth-scroll | 3.21 | 30.48 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
mythic_ss_offset_amount |
can_compress_scripts |
mythic_ss_header_id |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Mythic Smooth Scroll
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.58 ▼0.79 | 9.26 ▲7.40 | 39.03 ▼9.36 |
Dashboard /wp-admin | 2,207 ▲19 | 5.82 ▼0.07 | 97.21 ▼18.42 | 40.45 ▼3.13 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.05 ▲0.04 | 36.83 ▲0.72 | 32.96 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.25 ▲5.62 | 710.35 ▼6.92 | 60.99 ▲4.69 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.02 | 96.04 ▼10.43 | 43.31 ▲0.80 |
Mythic Smooth Scroll /wp-admin/options-general.php?page=mythic-smooth-scroll | 793 | 2.03 | 24.30 | 26.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- mythic_ss_offset_amount
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- mythic_ss_header_id
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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 items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/mythic-smooth-scroll/mythic-smooth-scroll.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: smooth, scroll, anchors, jquery
mythic-smooth-scroll/mythic-smooth-scroll.php Passed 13 tests
The main PHP script in "Mythic Smooth Scroll" version 1.0.4 is automatically included on every request by WordPress
74 characters long description:
Simple jQuery smooth scroll plugin with optional offset for fixed headers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin79 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 27 | 50 |
JavaScript | 1 | 9 | 1 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin