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: ▼3.54ms] Passed 4 tests
Analyzing server-side resources used by Smoothscroll
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.46 ▼0.29 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.50 ▼0.34 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.44 ▲0.60 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.59 ▼14.13 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.99 ▲3.62 |
Smoothscroll /wp-admin/options-general.php?page=smoothscroll | 3.26 | 32.30 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smoothscroll
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.53 ▼0.52 | 1.94 ▲0.17 | 38.61 ▼6.90 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼1.07 | 99.07 ▼18.77 | 39.99 ▲1.55 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.02 | 41.09 ▲4.89 | 34.28 ▲0.96 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.01 ▼0.16 | 592.34 ▼70.88 | 69.05 ▼7.12 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.26 ▲0.06 | 95.57 ▼8.85 | 42.68 ▼2.58 |
Smoothscroll /wp-admin/options-general.php?page=smoothscroll | 832 | 2.03 | 24.24 | 25.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: smoothscrolling, smooth scroll, frontend, smooth, backend...
smoothscroll/smoothscroll.php 85% from 13 tests
The main file in "Smoothscroll" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("")
- Domain Path: Prefix the domain path with a forward slash character ("/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected633 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 98 | 11 | 392 |
PHP | 2 | 29 | 27 | 241 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 10 | |
▷ Named functions | 3 | 30.00% |
▷ Anonymous functions | 7 | 70.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG images were found in this plugin