Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼17.04ms] Passed 4 tests
An overview of server-side resources used by Maintenance Mode with 'coming soon' page or redirect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.84 ▼0.50 |
Dashboard /wp-admin | 3.34 ▼0.01 | 55.06 ▼13.30 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.64 ▼15.77 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.19 ▼37.35 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.27 ▼1.75 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Maintenance Mode with 'coming soon' page or redirect
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.37 | 1.83 ▲0.20 | 43.54 ▲0.89 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▲0.09 | 87.51 ▼11.06 | 37.35 ▼2.26 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.95 ▼0.09 | 36.65 ▼5.44 | 33.81 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.97 ▼0.26 | 678.77 ▲16.84 | 60.76 ▲7.60 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.19 ▲0.06 | 98.11 ▼13.90 | 45.42 ▼1.74 |
Maintenance mode /wp-admin/opts.php | 26 | 0.42 | 0.08 | 14.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wpsimpletools-maintenance-mode/comingsoon/preview.php
- > /wp-content/plugins/wpsimpletools-maintenance-mode/wpsimpletools-maintenance.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpsimpletools-maintenance-mode/wpsimpletools-maintenance-admin.php:141
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/wpsimpletools-maintenance-mode/comingsoon/comingsoon.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/opts.php
- > Network (severe)
wp-admin/opts.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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: maintenance, maintenance mode
wpsimpletools-maintenance-mode/wpsimpletools-maintenance.php 92% from 13 tests
The entry point to "Maintenance Mode with 'coming soon' page or redirect" version 1.2.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wpsimpletools-maintenance-mode.php" instead of "wpsimpletools-maintenance.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
There were no executable files found in this plugin190 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 49 | 15 | 161 |
CSS | 1 | 5 | 0 | 29 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
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 | 6 | |
▷ Named functions | 6 | 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
No PNG images were found in this plugin