Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.30MB] [CPU: ▼16.54ms] Passed 4 tests
A check of server-side resources used by Easy Maintenance Mode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▼0.60 | 18.52 ▼23.42 |
Dashboard /wp-admin | 3.22 ▼0.09 | 40.18 ▼13.81 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 39.74 ▼8.96 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 75.30 ▼19.95 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 34.19 ▼4.62 |
Server storage [IO: ▲6.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 334 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Maintenance Mode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.53 ▲0.18 | 2.08 ▼0.07 | 45.44 ▲1.44 |
Dashboard /wp-admin | 2,213 ▲33 | 5.55 ▼0.12 | 87.37 ▼0.68 | 43.99 ▲3.43 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.03 ▲0.00 | 39.70 ▲4.67 | 39.29 ▲4.68 |
Add New Post /wp-admin/post-new.php | 1,541 ▼1 | 23.14 ▲4.96 | 665.25 ▲18.32 | 64.54 ▼2.52 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.12 ▼0.09 | 107.25 ▲10.66 | 47.11 ▲4.75 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-maintenance-mode-coming-soon/includes/templates.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easy-maintenance-mode-coming-soon/easy-maintenance-mode-plugin.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/easy-maintenance-mode-coming-soon/theme_options/pages/header_page_settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/easy-maintenance-mode-coming-soon/themes/index.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-maintenance-mode-coming-soon/redirect.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-maintenance-mode-coming-soon/includes/pro.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-maintenance-mode-coming-soon/theme_options/pages/pricing_settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-maintenance-mode-coming-soon/theme_options/pages/about_pro_version.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-maintenance-mode-coming-soon/theme_options/webriti_option_pannel.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-maintenance-mode-coming-soon/theme_options/pages/live_preview_settings.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Create Maintenance Mode page like this), #2 (Maintenance Mode page preview 2), #3 (Maintenance Mode page example 3), #4 (Responsive Design), #5 (General settings page), #6 (Background settings page), #7 (text and color settings page)
- Requires at least: The plugin version is formatted incorrectly
easy-maintenance-mode-coming-soon/easy-maintenance-mode-plugin.php 85% from 13 tests
The primary PHP file in "Easy Maintenance Mode" version 1.4.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 190 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("easy-maintenance-mode-coming-soon.php" instead of "easy-maintenance-mode-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin18,753 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 1,012 | 306 | 16,011 |
PHP | 19 | 686 | 91 | 2,305 |
JavaScript | 10 | 118 | 60 | 437 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
258 PNG files occupy 3.74MB with 1.80MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
theme_options/images/option-icon-box.png | 0.68KB | 0.82KB | 0.00% |
images/tabs_bg.png | 0.12KB | 0.09KB | ▼ 24.19% |
images/trash.png | 2.96KB | 0.81KB | ▼ 72.54% |
css/images/button_check.png | 4.66KB | 1.57KB | ▼ 66.23% |
images/social-media.png | 3.75KB | 0.84KB | ▼ 77.60% |