Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼13.29ms] Passed 4 tests
Server-side resources used by WP Exit Page Redirect
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.87 ▼5.25 |
Dashboard /wp-admin | 3.34 ▼0.01 | 44.52 ▼19.78 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.77 ▼6.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.08 ▼21.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.18 ▲1.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
lgr_exitpage_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Exit Page Redirect: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.31 ▼1.09 | 1.82 ▲0.23 | 41.85 ▲2.48 |
Dashboard /wp-admin | 2,210 ▲18 | 4.85 ▼0.10 | 95.66 ▼16.17 | 38.67 ▼4.10 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.16 ▲0.15 | 35.00 ▲0.39 | 30.07 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.53 ▼5.53 | 684.77 ▲21.94 | 57.42 ▲5.99 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.25 ▲0.04 | 102.21 ▼3.47 | 45.33 ▲0.47 |
Exit Page Options /wp-admin/wp-exit-page-redirect.php | 26 | 0.44 | 0.10 | 14.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× 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/wp-exit-page-redirect/wp-exit-page-redirect.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/wp-exit-page-redirect.php
- > Network (severe)
wp-admin/wp-exit-page-redirect.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: redirect, short code, exit page, meta redirect, shortcode
wp-exit-page-redirect/wp-exit-page-redirect.php 92% from 13 tests
The primary PHP file in "WP Exit Page Redirect" version 1.2.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 189 characters long)
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
Everything looks great! No dangerous files found in this plugin162 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 24 | 32 | 162 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 7 | |
▷ Named functions | 7 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin