Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼307.29ms] Passed 4 tests
Analyzing server-side resources used by Advanced Exit Popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 56.42 ▼1.20 |
Dashboard /wp-admin | 3.46 ▲0.05 | 46.72 ▲10.01 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 43.32 ▲2.11 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.05 | 103.07 ▼1,226.54 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 26.03 ▼3.54 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Advanced Exit Popup: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,983 ▲229 | 16.82 ▲0.82 | 9.70 ▲2.86 | 1.91 ▼0.50 |
Dashboard /wp-admin | 2,940 ▲82 | 6.79 ▲0.58 | 119.49 ▼16.76 | 156.88 ▼4.70 |
Posts /wp-admin/edit.php | 2,742 ▲48 | 3.54 ▲0.29 | 67.17 ▼0.03 | 157.96 ▲19.61 |
Add New Post /wp-admin/post-new.php | 1,695 ▼16 | 16.10 ▼4.65 | 422.98 ▼37.28 | 153.24 ▼8.18 |
Media Library /wp-admin/upload.php | 1,746 ▲48 | 5.89 ▲0.34 | 126.14 ▼17.42 | 195.42 ▲8.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
advanced-exit-popup/advanced-exit-popup.php 92% from 13 tests
This is the main PHP file of "Advanced Exit Popup" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous 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
This plugin has no cyclomatic complexity issues
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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% |
images/wphostpk.png | 5.16KB | 2.73KB | ▼ 47.10% |
screenshot-1.png | 92.60KB | 31.43KB | ▼ 66.05% |
images/close.png | 0.84KB | 0.85KB | 0.00% |