Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼16.34ms] Passed 4 tests
This is a short check of server-side resources used by Scrolling down popup plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.78 ▼2.81 |
Dashboard /wp-admin | 3.36 ▲0.02 | 45.62 ▼14.57 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 50.71 ▼3.05 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.61 ▼44.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.06 ▲5.50 |
Scrolling down popup /wp-admin/options-general.php?page=scrolling-down-popup-plugin | 3.27 | 33.42 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_scrolling_down_popup |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
sdp_On_Homepage |
widget_recent-comments |
widget_theysaidso_widget |
sdp_On_Search |
sdp_On_Pages |
widget_recent-posts |
sdp_On_Archives |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Scrolling down popup plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.48 ▲0.11 | 1.67 ▼0.11 | 39.04 ▼3.10 |
Dashboard /wp-admin | 2,196 ▲19 | 5.64 ▲0.05 | 89.17 ▼16.23 | 37.36 ▼11.08 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.02 ▼0.01 | 39.46 ▼6.58 | 35.45 ▼4.02 |
Add New Post /wp-admin/post-new.php | 1,531 ▼8 | 23.00 ▲4.85 | 649.50 ▲18.54 | 49.98 ▲1.33 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.22 ▼0.05 | 98.38 ▲0.20 | 41.16 ▼2.74 |
Scrolling down popup /wp-admin/options-general.php?page=scrolling-down-popup-plugin | 953 | 2.00 | 24.26 | 27.50 |
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: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/scrolling-down-popup-plugin/pages/content-management-show.php
- > /wp-content/plugins/scrolling-down-popup-plugin/scrolling-down-popup-plugin.php
- > /wp-content/plugins/scrolling-down-popup-plugin/pages/content-setting.php
- > /wp-content/plugins/scrolling-down-popup-plugin/pages/content-management-edit.php
- > /wp-content/plugins/scrolling-down-popup-plugin/pages/content-management-add.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: popup, scrolling, plugin
scrolling-down-popup-plugin/scrolling-down-popup-plugin.php 92% from 13 tests
The principal PHP file in "Scrolling down popup plugin" v. 8.9 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
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
Good job! No executable or dangerous file extensions detected1,302 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 115 | 53 | 877 |
PO File | 2 | 138 | 223 | 314 |
JavaScript | 2 | 11 | 18 | 110 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 5 | 100.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gopiplus.com-popup.png | 1.41KB | 1.31KB | ▼ 7.34% |