Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.42MB] [CPU: ▼1.47ms] Passed 4 tests
An overview of server-side resources used by Maintenance & Coming Soon Redirect Animation
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 48.36 ▲3.86 |
Dashboard /wp-admin | 3.73 ▲0.42 | 55.75 ▼3.00 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 53.12 ▲3.37 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 89.23 ▼10.12 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 44.58 ▲9.46 |
All settings /wp-admin/admin.php?page=wploti-settings | 3.68 | 45.20 |
Maintenance /wp-admin/options-general.php?page=wploti-settings | 3.68 | 48.76 |
Server storage [IO: ▲9.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 56 new files
Database: 2 new tables, 14 new options
New tables |
---|
wp_wploti_mr_unrestricted_ips |
wp_wploti_mr_access_keys |
New WordPress options |
---|
widget_theysaidso_widget |
wploti_status |
wploti_animation |
widget_recent-comments |
wploti_whitelisted_roles |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
wploti_activation_notice |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Maintenance & Coming Soon Redirect Animation
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,550 ▲789 | 20.30 ▲5.94 | 25.21 ▲23.05 | 46.71 ▼0.47 |
Dashboard /wp-admin | 2,856 ▲679 | 11.61 ▲5.92 | 143.12 ▲41.33 | 69.57 ▲20.21 |
Posts /wp-admin/edit.php | 2,770 ▲670 | 8.50 ▲6.49 | 109.21 ▲72.33 | 80.90 ▲45.13 |
Add New Post /wp-admin/post-new.php | 1,900 ▲355 | 21.95 ▼1.42 | 635.41 ▼32.00 | 32.05 ▼19.11 |
Media Library /wp-admin/upload.php | 2,057 ▲654 | 9.82 ▲5.52 | 166.77 ▲69.86 | 60.34 ▲16.15 |
Access Keys /wp-admin/admin.php?page=wploti-settings#keys | 6,902 | 65.13 | 1,098.57 | 94.06 |
Animation /wp-admin/admin.php?page=wploti-settings#animation | 7,010 | 69.46 | 1,142.21 | 145.56 |
Extra /wp-admin/admin.php?page=wploti-settings#extra | 6,995 | 67.04 | 1,065.23 | 138.60 |
All settings /wp-admin/admin.php?page=wploti-settings | 6,904 | 64.95 | 1,059.54 | 145.92 |
Maintenance /wp-admin/options-general.php?page=wploti-settings | 6,955 | 67.01 | 1,078.32 | 76.18 |
Header Type /wp-admin/admin.php?page=wploti-settings#header | 7,406 | 71.72 | 1,081.73 | 119.85 |
IP addresses /wp-admin/admin.php?page=wploti-settings#ip | 7,013 | 70.54 | 1,107.80 | 136.75 |
Message /wp-admin/admin.php?page=wploti-settings#message | 6,905 | 66.11 | 1,160.51 | 135.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- wploti_whitelisted_users
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- wploti_whitelisted_roles
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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wploti-settings#message
- > Console-api (warning) in wp-admin/admin.php?page=wploti-settings+0:16
%c Best used for when the site is under development." "margin: 20px auto;font-family: cursive;font-size: 30px; font-weight: bold;color: #CFC547; text-align: center;letter-spacing: 5px;text-shadow: 3px 0px 2px rgba(81,67,21,0.8), -3px 0px 2px rgba(81,67,21,0.8),0px 4px 2px rgba(81,67,21,0.8);
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wploti-settings#message
- > Console-api (warning) in unknown
console-api 0:8 "%c Best used for when the site is under development." "margin: 20px auto;font-family: cursive;font-size: 30px; font-weight: bold;color: #CFC547; text-align: center;letter-spacing: 5px;text-shadow: 3px 0px 2px rgba(81,67,21,0.8), -3px 0px 2px rgba(81,67,21,0.8),0px 4px 2px rgba(81,67,21,0.8);"
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
maintenance-coming-soon-redirect-animation/wploti_maintenance_redirect.php 85% from 13 tests
"Maintenance & Coming Soon Redirect Animation" version 2.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 157 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("maintenance-coming-soon-redirect-animation.php" instead of "wploti_maintenance_redirect.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
No dangerous file extensions were detected12,649 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 9,519 |
PHP | 3 | 557 | 564 | 1,580 |
CSS | 4 | 142 | 25 | 903 |
JavaScript | 3 | 106 | 152 | 375 |
PO File | 1 | 81 | 83 | 242 |
JSON | 30 | 0 | 0 | 30 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 106.00 |
▷ Minimum class complexity | 106.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 57 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
2 compressed PNG files occupy 0.03MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/main-logo.png | 6.40KB | 6.84KB | 0.00% |
images/alert-icon.png | 27.76KB | 28.83KB | 0.00% |