Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.67ms] Passed 4 tests
An overview of server-side resources used by WP Scroll Depth
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 47.56 ▲7.24 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.79 ▼18.15 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 53.69 ▲4.33 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 92.77 ▼0.97 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.28 ▲0.11 |
ScrollDepth /wp-admin/options-general.php?page=wp-scrolldepth-admin-m1 | 3.26 | 33.90 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Scroll Depth
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.71 ▼0.67 | 5.89 ▲3.95 | 38.11 ▼6.01 |
Dashboard /wp-admin | 2,210 ▲25 | 4.96 ▼0.94 | 105.07 ▼15.29 | 41.91 ▼2.20 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.07 | 39.94 ▲1.68 | 33.37 ▼3.31 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.02 ▲0.08 | 625.76 ▼39.57 | 58.32 ▼3.33 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.09 | 93.22 ▼12.72 | 42.88 ▼1.66 |
ScrollDepth /wp-admin/options-general.php?page=wp-scrolldepth-admin-m1 | 976 | 2.02 | 22.26 | 31.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-scroll-depth/privacy.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-scroll-depth/admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-scroll-depth/wp-scroll-depth.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #2, #3 in wp-scroll-depth/assets to your readme.txt
wp-scroll-depth/wp-scroll-depth.php 92% from 13 tests
The main file in "WP Scroll Depth" v. 1.5.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,143 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 3 | 152 | 0 | 612 |
PHP | 3 | 69 | 83 | 237 |
JavaScript | 2 | 74 | 62 | 215 |
HTML | 1 | 6 | 0 | 50 |
JSON | 1 | 0 | 0 | 27 |
Bourne Shell | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 11 | |
▷ Named functions | 11 | 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
5 PNG files occupy 0.25MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/wp-scroll-depth_320.png | 8.91KB | 6.46KB | ▼ 27.46% |
assets/banner-772x250.png | 30.56KB | 13.46KB | ▼ 55.96% |
assets/screenshot-3.png | 56.49KB | 19.67KB | ▼ 65.19% |
assets/screenshot-2.png | 56.94KB | 19.59KB | ▼ 65.60% |
assets/screenshot-1.png | 98.07KB | 31.51KB | ▼ 67.87% |