Benchmarks
Plugin footprint 65% from 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.95MB] [CPU: ▼31.91ms] Passed 4 tests
An overview of server-side resources used by Wordpress Exit Pop
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.94 ▼6.11 |
Dashboard /wp-admin | 2.99 ▼0.31 | 28.10 ▼19.31 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 24.18 ▼23.48 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 22.13 ▼75.05 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 20.39 ▼9.79 |
StoreYa Exit Pop /wp-admin/options-general.php?page=storeya-exit-pop | 3.00 | 24.98 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Wordpress Exit Pop
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲55 | 14.33 ▲0.08 | 1.64 ▼0.50 | 42.11 ▼13.75 |
Dashboard /wp-admin | 2,218 ▲33 | 5.84 ▲0.02 | 104.13 ▲0.99 | 39.74 ▼4.69 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.02 ▲0.02 | 39.44 ▼1.19 | 36.62 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,525 ▼21 | 17.67 ▼5.41 | 592.93 ▼13.70 | 48.53 ▼11.78 |
Media Library /wp-admin/upload.php | 1,400 ▲18 | 4.24 ▲0.05 | 99.35 ▲1.70 | 42.54 ▼1.21 |
StoreYa Exit Pop /wp-admin/options-general.php?page=storeya-exit-pop | 843 | 2.15 | 26.54 | 32.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/exit-pop/storeya-exit-pop.php+138
Undefined variable: sep_domain
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=storeya-exit-pop
- > Notice in wp-content/plugins/exit-pop/storeya-exit-pop.php+138
Undefined variable: sep_domain
- > GET request to /wp-admin/options-general.php?page=storeya-exit-pop
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=storeya-exit-pop
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/exit-pop/storeya-exit-pop.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (27 tag instead of maximum 10); only the first 5 tags are used in your directory listing
exit-pop/storeya-exit-pop.php 92% from 13 tests
The primary PHP file in "Wordpress Exit Pop" version 1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("exit-pop.php" instead of "storeya-exit-pop.php")
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
Good job! No executable or dangerous file extensions detected114 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 14 | 114 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lock.png | 0.73KB | 0.91KB | 0.00% |
storeya_exit_pop.png | 82.31KB | 31.07KB | ▼ 62.25% |