Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.76ms] Passed 4 tests
Server-side resources used by Scroll Popup Ads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.35 ▲0.48 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.02 ▼0.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.00 ▲0.39 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 97.91 ▼7.70 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.73 ▲4.27 |
Scroll Popup /wp-admin/admin.php?page=theme-options | 3.21 | 32.86 |
Support /wp-admin/admin.php?page=theme-op-settings | 3.21 | 31.43 |
Server storage [IO: ▲0.33MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Scroll Popup Ads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,128 ▲393 | 13.81 ▼0.85 | 12.92 ▲11.29 | 77.16 ▲33.09 |
Dashboard /wp-admin | 2,252 ▲64 | 5.14 ▲0.26 | 113.60 ▲6.70 | 41.26 ▼4.91 |
Posts /wp-admin/edit.php | 2,140 ▲48 | 2.28 ▲0.29 | 39.36 ▲0.68 | 37.62 ▲4.14 |
Add New Post /wp-admin/post-new.php | 1,569 ▲27 | 23.30 ▲5.30 | 585.03 ▼21.91 | 29.55 ▼22.06 |
Media Library /wp-admin/upload.php | 1,434 ▲52 | 4.43 ▲0.25 | 99.60 ▲3.46 | 41.62 ▼1.50 |
Scroll Popup /wp-admin/admin.php?page=theme-options | 1,378 | 2.53 | 49.27 | 27.34 |
Support /wp-admin/admin.php?page=theme-op-settings | 844 | 1.96 | 25.72 | 23.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/scroll-popup/tp-scroll-popup.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: manage advertisements, popup ads management, publish popup advertisement, manage ads, html popup...
scroll-popup/tp-scroll-popup.php 85% from 13 tests
The principal PHP file in "Scroll Popup Ads" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 210 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("scroll-popup.php" instead of "tp-scroll-popup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin3,508 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 530 | 14 | 2,836 |
PHP | 1 | 76 | 67 | 520 |
JavaScript | 2 | 61 | 54 | 152 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin