Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
Server metrics [RAM: ▼0.15MB] [CPU: ▼14.66ms] Passed 4 tests
This is a short check of server-side resources used by Logo Page Redirect
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▼0.64 | 21.16 ▼21.63 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.14 ▼1.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.21 ▼7.49 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.55 ▼27.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.22 ▼0.86 |
Logo Page Redirect /wp-admin/options-general.php?page=logo-page-redirect | 3.18 | 30.21 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Logo Page Redirect: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 8 ▼2,753 | 0.42 ▼14.08 | 0.06 ▼2.03 | 0.18 ▼42.91 |
Dashboard /wp-admin | 2,198 ▲18 | 5.56 ▼0.11 | 82.37 ▼9.30 | 40.86 ▼0.02 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▲0.04 | 37.62 ▲2.74 | 33.14 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,534 ▲4 | 23.34 ▲0.22 | 631.79 ▼42.90 | 65.82 ▲10.11 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▼0.04 | 96.20 ▼22.43 | 44.97 ▼4.26 |
Logo Page Redirect /wp-admin/options-general.php?page=logo-page-redirect | 844 | 2.03 | 25.52 | 25.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=logo-page-redirect
- > Notice in wp-content/plugins/logo-page-redirect/logo-page-redirect.php+78
Undefined index: submit
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 register_activation_hook() in wp-content/plugins/logo-page-redirect/logo-page-redirect.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: logo page, redirect, cookie, settings
logo-page-redirect/logo-page-redirect.php Passed 13 tests
Analyzing the main PHP file in "Logo Page Redirect" version 1.0.1
53 characters long description:
Plugin for redirection to the logo page using cookies
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
Everything looks great! No dangerous files found in this plugin110 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 39 | 107 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon16.png | 0.65KB | 0.64KB | ▼ 1.95% |
icon.png | 1.46KB | 1.43KB | ▼ 2.33% |
screenshot-1.png | 11.97KB | 5.13KB | ▼ 57.14% |