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.07MB] [CPU: ▼1.02ms] Passed 4 tests
Server-side resources used by Simple exit popup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.90 ▲1.85 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.30 ▲3.47 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 44.65 ▼1.51 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 80.58 ▼7.90 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.63 ▲4.78 |
Simple exit popup /wp-admin/options-general.php?page=simple-exit-popup | 3.31 | 41.20 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_sepopups |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
simple-exit-popup |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple exit popup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.38 ▼1.23 | 9.20 ▲7.50 | 45.48 ▲3.82 |
Dashboard /wp-admin | 2,199 ▲22 | 5.53 ▼0.13 | 84.91 ▼5.89 | 39.98 ▲1.26 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.02 | 32.88 ▼3.17 | 34.61 ▼5.97 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 23.09 ▼0.06 | 645.68 ▼22.13 | 54.26 ▲1.42 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.21 ▼0.03 | 108.85 ▲8.54 | 46.73 ▲2.73 |
Simple exit popup /wp-admin/options-general.php?page=simple-exit-popup | 893 | 2.00 | 25.34 | 28.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/simple-exit-popup/pages/image-management-add.php
- > /wp-content/plugins/simple-exit-popup/simple-exit-popup.php
- > /wp-content/plugins/simple-exit-popup/pages/image-management-edit.php
- > /wp-content/plugins/simple-exit-popup/pages/image-management-show.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: iframe, widget, plugin
simple-exit-popup/simple-exit-popup.php 92% from 13 tests
The main PHP script in "Simple exit popup" version 1.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 141 characters long)
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
No dangerous file extensions were detected1,277 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 141 | 34 | 847 |
JavaScript | 2 | 26 | 1 | 249 |
PO File | 1 | 42 | 70 | 98 |
CSS | 2 | 11 | 14 | 83 |
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.26 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 19 | 95.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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