Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.09ms] Passed 4 tests
Analyzing server-side resources used by Optimum Exit Popup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.03 | 39.44 ▼9.92 |
Dashboard /wp-admin | 3.37 ▼0.01 | 46.66 ▼10.17 |
Posts /wp-admin/edit.php | 3.42 ▲0.03 | 50.72 ▲6.08 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.03 | 94.90 ▼10.60 |
Media Library /wp-admin/upload.php | 3.29 ▲0.03 | 35.02 ▼1.68 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Optimum Exit Popup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 13.96 ▼0.44 | 5.22 ▲3.32 | 42.49 ▲0.23 |
Dashboard /wp-admin | 2,225 ▲34 | 5.83 ▼0.05 | 104.61 ▲6.29 | 47.19 ▲10.46 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.03 ▼0.01 | 41.11 ▼0.01 | 34.27 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.15 ▲5.19 | 603.07 ▼24.53 | 54.22 ▲0.82 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.22 ▼0.03 | 101.23 ▼2.59 | 43.11 ▲1.19 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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 fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/optimum-exit-popup/inc/popup.php:73
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/optimum-exit-popup/inc/popup-settings.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: popup, exit popup, lighweight popup, easy exit popup
optimum-exit-popup/optimum-exit-popup.php 92% from 13 tests
Analyzing the main PHP file in "Optimum Exit Popup" version 1.1.2
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 278 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected416 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 37 | 21 | 226 |
CSS | 1 | 7 | 0 | 190 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 12 | |
▷ Named functions | 12 | 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
No PNG images were found in this plugin