Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.23MB] [CPU: ▼18.84ms] Passed 4 tests
A check of server-side resources used by VF Exit Popup your Fast & Secure Exit Popup for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 32.62 ▼13.02 |
Dashboard /wp-admin | 3.07 ▼0.23 | 26.38 ▼19.02 |
Posts /wp-admin/edit.php | 3.21 ▼0.14 | 31.37 ▼20.81 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 67.67 ▼22.51 |
Media Library /wp-admin/upload.php | 3.14 ▼0.09 | 26.36 ▼6.84 |
Exit Popup /wp-admin/admin.php?page=vfexitpopup | 3.06 | 23.78 |
More /wp-admin/admin.php?page=vfexitpopup-more | 3.06 | 29.80 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_vfep_data |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for VF Exit Popup your Fast & Secure Exit Popup for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲154 | 14.11 ▼0.27 | 11.45 ▲8.61 | 44.74 ▲1.03 |
Dashboard /wp-admin | 2,242 ▲51 | 4.88 ▼0.03 | 115.11 ▲2.91 | 42.83 ▼1.75 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.06 ▲0.02 | 35.94 ▲0.51 | 33.03 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 23.42 ▲0.18 | 669.39 ▼28.93 | 59.15 ▲1.11 |
Media Library /wp-admin/upload.php | 1,427 ▲39 | 4.22 ▼0.02 | 101.90 ▼7.18 | 44.88 ▼1.03 |
Exit Popup /wp-admin/admin.php?page=vfexitpopup | 1,957 | 6.83 | 127.56 | 101.26 |
More /wp-admin/admin.php?page=vfexitpopup-more | 830 | 1.69 | 26.00 | 37.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vfexitpopup-more
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
SRP 0% 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 fix the following
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/exit-popup-advanced/uninstall.php
- > /wp-content/plugins/exit-popup-advanced/inc/vfexitpopupstructure.php
- > /wp-content/plugins/exit-popup-advanced/inc/vfexitpopupcomingsoon.php
- > /wp-content/plugins/exit-popup-advanced/inc/db.php
- > /wp-content/plugins/exit-popup-advanced/vfexitpopup.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant VFEXITPOPUP_PLUGIN_URL - assumed 'VFEXITPOPUP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/exit-popup-advanced/inc/vfexitpopupcomingsoon.php on line 9
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
- Tags: Too many tags (28 tag instead of maximum 10); only the first 5 tags are used in your directory listing
exit-popup-advanced/vfexitpopup.php 85% from 13 tests
The primary PHP file in "VF Exit Popup your Fast & Secure Exit Popup for WordPress" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("exit-popup-advanced.php" instead of "vfexitpopup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected4,237 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 1,552 | 20 | 3,551 |
PHP | 6 | 112 | 24 | 434 |
JavaScript | 2 | 101 | 15 | 252 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected