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.00MB] [CPU: ▼12.04ms] Passed 4 tests
This is a short check of server-side resources used by Advanced Exit Popup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.70 ▼0.19 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.22 ▼17.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.15 ▼8.10 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.06 ▼22.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.92 ▲2.26 |
Server storage [IO: ▲0.37MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Exit Popup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲188 | 13.71 ▼1.02 | 8.90 ▲7.09 | 42.05 ▼0.96 |
Dashboard /wp-admin | 2,230 ▲50 | 5.84 ▲0.25 | 87.74 ▼1.66 | 41.10 ▲2.83 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 2.26 ▲0.26 | 38.66 ▼2.27 | 35.79 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,555 ▲28 | 23.12 ▲0.06 | 693.52 ▲59.04 | 37.45 ▼17.21 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.47 ▲0.29 | 112.46 ▼0.33 | 49.46 ▲3.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: There are too many tags (25 tag instead of maximum 10)
advanced-exit-popup/advanced-exit-popup.php 92% from 13 tests
The principal PHP file in "Advanced Exit Popup" v. 1.0.4 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 158 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
There were no executable files found in this plugin295 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 12 | 259 |
JavaScript | 2 | 0 | 7 | 24 |
CSS | 2 | 0 | 7 | 12 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.35MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 260.35KB | 132.90KB | ▼ 48.95% |
screenshot-1.png | 92.60KB | 31.43KB | ▼ 66.05% |
images/close.png | 0.84KB | 0.85KB | 0.00% |
images/wphostpk.png | 5.16KB | 2.73KB | ▼ 47.10% |