Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼141.82ms] Passed 4 tests
Server-side resources used by Exit Popups
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 45.79 ▲23.55 |
Dashboard /wp-admin | 3.13 ▲0.07 | 61.38 ▲7.98 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 61.06 ▼0.50 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.05 | 113.22 ▼594.26 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 47.78 ▲19.50 |
Categories /wp-admin/edit-tags.php?taxonomy=exit_popups_categories&post_type=exit_popups | 3.07 | 42.75 |
All Exit Popups /wp-admin/edit.php?post_type=exit_popups | 3.10 | 51.56 |
Add New /wp-admin/post-new.php?post_type=exit_popups | 3.18 | 72.25 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Exit Popups
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,874 ▲278 | 16.70 ▲1.20 | 21.79 ▲10.25 | 51.03 ▼2.27 |
Dashboard /wp-admin | 3,007 ▲79 | 5.95 ▼0.09 | 156.65 ▼54.52 | 123.78 ▼0.62 |
Posts /wp-admin/edit.php | 2,779 ▲40 | 2.73 ▲0.00 | 66.78 ▼21.95 | 99.46 ▼16.02 |
Add New Post /wp-admin/post-new.php | 1,641 ▼42 | 21.45 ▲5.24 | 322.10 ▼86.34 | 116.34 ▼4.13 |
Media Library /wp-admin/upload.php | 1,847 ▲40 | 5.01 ▲0.02 | 167.63 ▼10.80 | 129.64 ▲2.61 |
Categories /wp-admin/edit-tags.php?taxonomy=exit_popups_categories&post_type=exit_popups | 1,779 | 2.41 | 70.64 | 82.21 |
All Exit Popups /wp-admin/edit.php?post_type=exit_popups | 1,448 | 2.62 | 75.34 | 80.55 |
Add New /wp-admin/post-new.php?post_type=exit_popups | 3,301 | 9.03 | 260.52 | 163.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Looking good! No server-side errors or output on direct access of PHP files
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tested up to: Invalid version format
- Requires at least: Invalid version format
exit-popups/exit-popup.php 85% from 13 tests
"Exit Popups" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("exit-popups.php" instead of "exit-popup.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin331 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 53 | 58 | 206 |
PHP | 1 | 27 | 10 | 97 |
CSS | 1 | 3 | 0 | 28 |
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.10 |
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 | 3 | |
▷ Named functions | 3 | 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
PNG images were not found in this plugin