Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-mm.php+253
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.12MB] [CPU: ▼291.43ms] Passed 4 tests
Analyzing server-side resources used by EZP Maintenance Mode
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.18 | 56.50 ▲5.52 |
Dashboard /wp-admin | 3.56 ▲0.15 | 34.48 ▲0.63 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 39.11 ▼2.95 |
Add New Post /wp-admin/post-new.php | 7.02 ▲0.05 | 94.47 ▼1,164.06 |
Media Library /wp-admin/upload.php | 3.44 ▲0.14 | 26.16 ▲0.67 |
Maintenance Mode /wp-admin/options-general.php?page=easy-pie-maintenance-mode | 3.46 | 25.27 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/easy-pie-maintenance-mode/" and "wp-content/uploads/"
- (new file) wp-content/easy-pie-maintenance-mode/mini-themes/.empty
Filesystem: 48 new files
Database: no new tables, 1 new option
New WordPress options |
---|
easy-pie-mm-options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EZP Maintenance Mode
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 15.86 ▲0.08 | 6.88 ▲0.32 | 3.13 ▲0.66 |
Dashboard /wp-admin | 2,897 ▲36 | 6.06 ▼0.15 | 116.24 ▼19.16 | 157.71 ▼5.50 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.24 ▲0.02 | 67.44 ▲4.74 | 142.51 ▲2.97 |
Add New Post /wp-admin/post-new.php | 1,714 ▼38 | 20.84 ▼0.79 | 431.45 ▼22.47 | 162.80 ▲7.01 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.56 ▲0.11 | 139.63 ▼0.02 | 189.33 ▲3.76 |
Maintenance Mode /wp-admin/options-general.php?page=easy-pie-maintenance-mode | 2,050 | 4.83 | 85.43 | 172.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=easy-pie-maintenance-mode
- > User deprecated in wp-includes/functions.php+5326
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=easy-pie-maintenance-mode
- > User deprecated in wp-includes/functions.php+5326
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-utility.php:50
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-mm-utility.php on line 48
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-mm-utility.php on line 48
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-mm-utility.php on line 48
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-mm-utility.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-mm-utility.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/easy-pie-maintenance-mode/classes/class-easy-pie-mm-utility.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #3 (Site in maintenance mode when using the 'Plain Jane' mini-theme.), #4 (Site in maintenance mode when using the 'Black Sawhorse' mini-theme.)
easy-pie-maintenance-mode/easy-pie-maintenance-mode.php Passed 13 tests
"EZP Maintenance Mode" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
52 characters long description:
Lets people know that your site is temporarily down.
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 plugin1,720 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 293 | 238 | 711 |
CSS | 7 | 155 | 61 | 575 |
HTML | 4 | 69 | 24 | 183 |
JavaScript | 2 | 46 | 33 | 123 |
JSON | 4 | 0 | 0 | 64 |
PO File | 1 | 34 | 44 | 64 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 10.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 15 | 30.00% |
▷ Public methods | 43 | 86.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 14.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 PNG files occupy 0.33MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
mini-themes/sawhorse-black/images/pattern.png | 14.82KB | 0.95KB | ▼ 93.61% |
mini-themes/sawhorse-yellow/images/logo.png | 22.53KB | 8.58KB | ▼ 61.94% |
mini-themes/sawhorse-yellow/images/alert.png | 15.82KB | 6.68KB | ▼ 57.80% |
mini-themes/plain/images/screenshot.png | 6.29KB | 2.84KB | ▼ 54.87% |
images/easy-pie-mm-logo32.png | 1.52KB | 1.46KB | ▼ 3.99% |