Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.77MB] [CPU: ▼30.36ms] Passed 4 tests
Server-side resources used by Maintenance Mode | Coming soon & Under Construction
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.37 ▲0.63 |
Dashboard /wp-admin | 3.18 ▼0.13 | 30.55 ▼22.59 |
Posts /wp-admin/edit.php | 3.18 ▼0.18 | 29.75 ▼23.11 |
Add New Post /wp-admin/post-new.php | 3.18 ▼2.71 | 29.13 ▼76.35 |
Media Library /wp-admin/upload.php | 3.18 ▼0.05 | 43.69 ▲7.51 |
Server storage [IO: ▲3.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 90 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wp_notification_alert |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Maintenance Mode | Coming soon & Under Construction: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲195 | 15.47 ▲0.82 | 1.71 ▼0.28 | 45.39 ▲0.85 |
Dashboard /wp-admin | 2,362 ▲182 | 7.20 ▲1.46 | 134.20 ▲41.68 | 41.88 ▼0.13 |
Posts /wp-admin/edit.php | 2,287 ▲184 | 3.92 ▲1.87 | 56.29 ▲18.09 | 36.04 ▲3.65 |
Add New Post /wp-admin/post-new.php | 1,560 ▲18 | 24.02 ▲0.63 | 670.23 ▼3.79 | 37.35 ▼25.18 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 5.31 ▲1.05 | 102.24 ▼15.06 | 43.46 ▼4.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-settings-page-by-arrow.php+131
Undefined index: append_text
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-support-page-by-arrow.php
- > /wp-content/plugins/maintenance-mode-arrowplugins/themes/default/mmba-wp-default-by-arrow.php
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: type in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-field-types-by-arrow.php on line 109
- > PHP Notice
Undefined variable: type in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-field-types-by-arrow.php on line 4
- > PHP Notice
Undefined variable: type in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-field-types-by-arrow.php on line 37
- > PHP Notice
Undefined variable: type in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-field-types-by-arrow.php on line 76
- > PHP Notice
Undefined variable: type in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-field-types-by-arrow.php on line 12
- > PHP Notice
Undefined variable: type in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-field-types-by-arrow.php on line 46
- > PHP Notice
Undefined variable: type in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-field-types-by-arrow.php on line 60
- > PHP Warning
require_once(wordpress/wp-config.php): failed to open stream: No such file or directory in wp-content/plugins/maintenance-mode-arrowplugins/themes/default/mmba-wp-notification-alert-by-arrow.php on line 2
- > PHP Notice
Undefined variable: type in wp-content/plugins/maintenance-mode-arrowplugins/includes/mmba-wp-field-types-by-arrow.php on line 68
- > PHP Fatal error
require_once(): Failed opening required 'wordpress/wp-config.php' (include_path='.:/usr/share/php') in wp-content/plugins/maintenance-mode-arrowplugins/themes/default/mmba-wp-notification-alert-by-arrow.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #2, #4, #6 in maintenance-mode-arrowplugins/assets to your readme.txt
- Donate link: Please fix this invalid URI: ""
maintenance-mode-arrowplugins/wp-maintenance-by-arrow.php 92% from 13 tests
The main file in "Maintenance Mode | Coming soon & Under Construction" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("maintenance-mode-arrowplugins.php" instead of "wp-maintenance-by-arrow.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected7,068 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 479 | 105 | 3,931 |
JavaScript | 7 | 360 | 78 | 2,472 |
CSS | 5 | 107 | 46 | 665 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 40.50 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 6.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 19 | 76.00% |
▷ Anonymous functions | 6 | 24.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
53 PNG files occupy 0.66MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/templates/6/images/pinterest.png | 15.56KB | 1.68KB | ▼ 89.23% |
themes/templates/8/images/twitter.png | 6.75KB | 3.45KB | ▼ 48.86% |
themes/socialicon/1/pinterest.png | 6.87KB | 3.55KB | ▼ 48.34% |
themes/socialicon/4/facebook.png | 3.44KB | 2.09KB | ▼ 39.30% |
themes/templates/8/images/pinterest.png | 6.28KB | 3.59KB | ▼ 42.82% |