Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.75ms] Passed 4 tests
A check of server-side resources used by Scroll popup html content ads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.36 ▼3.70 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.17 ▲1.51 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.78 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 110.12 ▲13.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.30 ▲0.21 |
Scrolling Popup /wp-admin/options-general.php?page=scroll-popup-html-content-ads | 3.29 | 31.04 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 16 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_scroll_popup_html_content_ads |
New WordPress options |
---|
sphca_On_Search |
sphca_On_Posts |
can_compress_scripts |
sphca_On_Homepage |
widget_recent-comments |
db_upgraded |
sphca_On_Pages |
sphca_On_Archives |
sphca_option |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Scroll popup html content ads: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.21 ▼0.50 | 1.83 ▲0.08 | 40.27 ▼9.35 |
Dashboard /wp-admin | 2,199 ▲19 | 5.55 ▼0.12 | 90.71 ▲0.61 | 40.39 ▲1.17 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.02 ▼0.00 | 39.26 ▼4.70 | 35.56 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.13 ▼0.09 | 661.56 ▼0.09 | 52.88 ▼5.99 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.24 ▲0.15 | 99.04 ▼9.90 | 44.77 ▲2.76 |
Scrolling Popup /wp-admin/options-general.php?page=scroll-popup-html-content-ads | 965 | 2.00 | 24.49 | 26.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/scroll-popup-html-content-ads/scroll-popup-html-content-ads.php
- > /wp-content/plugins/scroll-popup-html-content-ads/pages/content-show.php
- > /wp-content/plugins/scroll-popup-html-content-ads/pages/content-setting.php
- > /wp-content/plugins/scroll-popup-html-content-ads/pages/content-add.php
- > /wp-content/plugins/scroll-popup-html-content-ads/pages/content-edit.php
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)
There were no browser issues found
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
3 plugin tags: plugin, scrolling, popup
scroll-popup-html-content-ads/scroll-popup-html-content-ads.php 85% from 13 tests
The main file in "Scroll popup html content ads" v. 8.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 404 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin1,465 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 155 | 47 | 1,041 |
JavaScript | 3 | 43 | 55 | 239 |
PO File | 1 | 60 | 72 | 136 |
CSS | 1 | 0 | 0 | 49 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 3.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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 | 0.67KB | 0.67KB | ▼ 0.73% |