Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.43MB] [CPU: ▼326.37ms] Passed 4 tests
This is a short check of server-side resources used by Easy Coming Soon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.12 ▼0.39 | 20.63 ▼29.81 |
Dashboard /wp-admin | 3.28 ▼0.14 | 23.12 ▼17.50 |
Posts /wp-admin/edit.php | 3.33 ▼0.31 | 25.44 ▼11.55 |
Add New Post /wp-admin/post-new.php | 6.07 ▼0.90 | 79.15 ▼1,246.62 |
Media Library /wp-admin/upload.php | 3.28 ▼0.02 | 20.91 ▼7.16 |
Server storage [IO: ▲6.74MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 199 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Easy Coming Soon
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,807 ▲53 | 15.86 ▲0.21 | 6.00 ▼0.33 | 2.29 ▼0.64 |
Dashboard /wp-admin | 2,924 ▲63 | 6.18 ▲0.02 | 128.65 ▼7.30 | 168.92 ▲4.49 |
Posts /wp-admin/edit.php | 2,723 ▲35 | 3.25 ▲0.02 | 64.23 ▼1.96 | 140.83 ▼2.99 |
Add New Post /wp-admin/post-new.php | 1,692 ▲24 | 19.53 ▲1.59 | 374.26 ▼52.97 | 156.79 ▲2.64 |
Media Library /wp-admin/upload.php | 1,727 ▲29 | 5.53 ▲0.00 | 137.56 ▼14.79 | 186.83 ▼3.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 12× 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 add_action() in wp-content/plugins/easy-coming-soon/coming-soon-plugin.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-coming-soon/theme_options/webriti_option_pannel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-coming-soon/theme_options/pages/live_preview_settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/easy-coming-soon/theme_options/pages/notification_page_setting.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-coming-soon/theme_options/pages/aboutpro_version_settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-coming-soon/theme_options/pages/pricing_settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/easy-coming-soon/theme_options/pages/design_page_settings.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/easy-coming-soon/theme_options/pages/header_page_settings.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-coming-soon/theme_options/pages/pro_features_settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-coming-soon/template/coming_soon_display.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: Version not formatted correctly
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Coming soon page image background example 1), #2 (Coming soon page image background example 2), #3 (Coming soon page image background example 3), #4 (Coming soon page image background example 4), #5 (Coming soon page color background example 1), #6 (Coming soon page color background example 2), #7 (Responsive Design), #8 (General setting page), #9 (Design setting page)
- Tags: There are too many tags (29 tag instead of maximum 10)
easy-coming-soon/coming-soon-plugin.php 85% from 13 tests
The main PHP file in "Easy Coming Soon" ver. 2.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 164 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-coming-soon.php" instead of "coming-soon-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin19,559 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 2,206 | 393 | 16,051 |
PHP | 12 | 733 | 98 | 2,096 |
JavaScript | 7 | 181 | 181 | 1,412 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
144 PNG files occupy 2.18MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
theme_options/pages/images/black_px.png | 0.11KB | 0.08KB | ▼ 24.07% |
theme_options/pages/images/logo_dark.png | 2.96KB | 2.21KB | ▼ 25.23% |
theme_options/pages/images/under_construction-1.png | 1.99KB | 1.47KB | ▼ 26.29% |
theme_options/images/option-icon-sidebar.png | 0.26KB | 0.30KB | 0.00% |
theme_options/images/ico-docs.png | 0.32KB | 0.38KB | 0.00% |