Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▼5.68ms] Passed 4 tests
A check of server-side resources used by Coming Soon & Maintenance Mode by Colorlib
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 40.65 ▲0.66 |
Dashboard /wp-admin | 3.53 ▲0.23 | 45.00 ▼4.92 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 46.86 ▲1.11 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 83.12 ▼16.84 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 36.82 ▼1.61 |
Server storage [IO: ▲6.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 137 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
ccsm_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Coming Soon & Maintenance Mode by Colorlib
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 14.63 ▲0.26 | 1.76 ▼0.01 | 43.44 ▼1.22 |
Dashboard /wp-admin | 2,228 ▲43 | 4.86 ▼1.00 | 104.98 ▼2.64 | 37.38 ▼11.59 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.02 ▲0.05 | 42.49 ▲4.86 | 35.24 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,549 ▲9 | 23.35 ▲0.05 | 615.54 ▼43.44 | 54.47 ▲6.13 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.20 ▲0.03 | 97.42 ▼2.60 | 45.34 ▲2.80 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- ccsm_settings
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_03/template_03.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_08/template_08.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_10/template_10.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_02/template_02.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_04/template_04.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_01/template_01.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/colorlib-coming-soon-maintenance/includes/class-ccsm-customizer.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_07/template_07.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_11/template_11.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/colorlib-coming-soon-maintenance/templates/template_12/template_12.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Screenshots are located under /assets/screenshots/) image missing
- Contributors: Contributors not specified
colorlib-coming-soon-maintenance/colorlib-coming-soon-and-maintenance-mode.php 85% from 13 tests
The principal PHP file in "Coming Soon & Maintenance Mode by Colorlib" v. 1.0.99 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 248 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("colorlib-coming-soon-maintenance.php" instead of "colorlib-coming-soon-and-maintenance-mode.php")
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 plugin42,424 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 31 | 4,261 | 1,469 | 25,128 |
JavaScript | 24 | 3,285 | 2,828 | 11,042 |
PHP | 25 | 496 | 280 | 3,810 |
SVG | 1 | 0 | 3 | 2,227 |
PO File | 1 | 89 | 177 | 217 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 3.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 23 | 85.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 14.81% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/favicon.png | 0.10KB | 0.08KB | ▼ 17.65% |