Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.42MB] [CPU: ▲291.54ms] 50% from 4 tests
Analyzing server-side resources used by Smart Coming Soon Mode
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 642.59ms on /wp-admin/admin.php?page=smart-coming-soon-mode&tab=10)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 291.54ms on /wp-admin/admin.php?page=smart-coming-soon-mode&tab=10)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.67 ▲5.12 | 72.12 ▲15.58 |
Dashboard /wp-admin | 5.11 ▲1.67 | 778.44 ▲743.59 |
Posts /wp-admin/edit.php | 5.00 ▲1.32 | 619.24 ▲569.80 |
Add New Post /wp-admin/post-new.php | 8.30 ▲1.30 | 1,207.93 ▼70.09 |
Media Library /wp-admin/upload.php | 4.72 ▲1.38 | 683.46 ▲650.87 |
General Settings /wp-admin/admin.php?page=smart-coming-soon-mode&tab=1 | 9.53 | 1,187.61 |
Contact Info Settings /wp-admin/admin.php?page=smart-coming-soon-mode&tab=9 | 9.52 | 1,081.14 |
More Features /wp-admin/admin.php?page=smart-coming-soon-mode&tab=12 | 9.52 | 977.38 |
Advanced Settings /wp-admin/admin.php?page=smart-coming-soon-mode&tab=4 | 9.52 | 609.94 |
Options Object /wp-admin/admin.php?page=smart-coming-soon-mode&tab=13 | 9.52 | 634.93 |
Social Icons Settings /wp-admin/admin.php?page=smart-coming-soon-mode&tab=8 | 9.52 | 657.45 |
Redux Framework /wp-admin/tools.php?page=redux-about | 4.70 | 601.76 |
Preview /wp-admin/admin.php?page=smart-coming-soon-mode&tab=11 | 9.52 | 613.59 |
Help /wp-admin/admin.php?page=smart-coming-soon-mode&tab=10 | 9.52 | 642.59 |
Server storage [IO: ▲5.33MB] [DB: ▲0.06MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 435 new files
Database: no new tables, 3 new options
New WordPress options |
---|
smart_csm_option-transients |
smart_csm_option |
redux_version_upgraded_from |
Browser metrics Passed 4 tests
Checking browser requirements for Smart Coming Soon Mode
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,027 ▲273 | 16.05 ▲0.31 | 6.98 ▲0.56 | 2.95 ▲0.04 |
Dashboard /wp-admin | 3,115 ▲254 | 6.42 ▲0.24 | 122.43 ▼11.84 | 156.32 ▼6.22 |
Posts /wp-admin/edit.php | 2,824 ▲130 | 3.29 ▲0.05 | 68.64 ▲3.80 | 140.95 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,753 ▲36 | 22.09 ▲0.83 | 410.24 ▼16.80 | 163.55 ▲0.18 |
Media Library /wp-admin/upload.php | 1,836 ▲141 | 5.61 ▲0.07 | 141.22 ▼4.33 | 179.72 ▼10.09 |
General Settings /wp-admin/admin.php?page=smart-coming-soon-mode&tab=1 | 2,943 | 7.36 | 114.58 | 194.75 |
Contact Info Settings /wp-admin/admin.php?page=smart-coming-soon-mode&tab=9 | 2,926 | 7.21 | 112.70 | 180.77 |
More Features /wp-admin/admin.php?page=smart-coming-soon-mode&tab=12 | 2,944 | 7.06 | 112.01 | 212.04 |
Advanced Settings /wp-admin/admin.php?page=smart-coming-soon-mode&tab=4 | 3,202 | 7.65 | 133.85 | 183.04 |
Options Object /wp-admin/admin.php?page=smart-coming-soon-mode&tab=13 | 2,931 | 6.95 | 109.63 | 174.56 |
Social Icons Settings /wp-admin/admin.php?page=smart-coming-soon-mode&tab=8 | 2,932 | 6.85 | 108.39 | 180.03 |
Redux Framework /wp-admin/tools.php?page=redux-about | 1,477 | 4.37 | 106.09 | 227.98 |
Preview /wp-admin/admin.php?page=smart-coming-soon-mode&tab=11 | 2,920 | 7.07 | 107.65 | 149.78 |
Help /wp-admin/admin.php?page=smart-coming-soon-mode&tab=10 | 2,924 | 7.11 | 110.41 | 139.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 75% 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 does not fully uninstall, leaving 2 options in the database
- smart_csm_option-transients
- redux_version_upgraded_from
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/inc/themecheck/checks/embedded.php:3
- > PHP Fatal error
Uncaught Error: Class 'Redux_Customizer_Control' not found in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/inc/extensions/customizer/inc/customizer_fields.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/inc/welcome/views/changelog.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/templates/panel/menu_container.tpl.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/inc/fields/select/elusive-icons.php:312
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/smart-coming-soon-mode/inc/help.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/inc/extensions/customizer/inc/customizer_devs.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/templates/panel/footer.tpl.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/inc/extensions/customizer/inc/customizer_control.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/smart-coming-soon-mode/admin/ReduxCore/templates/panel/header.tpl.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=smart-coming-soon-mode&tab=1
- > Security (severe) in unknown
/wp-admin/admin.php?page=smart-coming-soon-mode&tab=1 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=83eb516c71&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D83eb516c71%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=smart-coming-soon-mode&tab=9
- > Security (severe) in unknown
/wp-admin/admin.php?page=smart-coming-soon-mode&tab=9 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=83eb516c71&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D83eb516c71%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=smart-coming-soon-mode&tab=12
- > Security (severe) in unknown
/wp-admin/admin.php?page=smart-coming-soon-mode&tab=12 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=83eb516c71&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D83eb516c71%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=smart-coming-soon-mode&tab=4
- > Security (severe) in unknown
/wp-admin/admin.php?page=smart-coming-soon-mode&tab=4 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=83eb516c71&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D83eb516c71%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=smart-coming-soon-mode&tab=13
- > Security (severe) in unknown
/wp-admin/admin.php?page=smart-coming-soon-mode&tab=13 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=83eb516c71&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D83eb516c71%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=smart-coming-soon-mode&tab=8
- > Security (severe) in unknown
/wp-admin/admin.php?page=smart-coming-soon-mode&tab=8 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=83eb516c71&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D83eb516c71%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=smart-coming-soon-mode&tab=11
- > Security (severe) in unknown
/wp-admin/admin.php?page=smart-coming-soon-mode&tab=11 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=83eb516c71&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D83eb516c71%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=smart-coming-soon-mode&tab=10
- > Security (severe) in unknown
/wp-admin/admin.php?page=smart-coming-soon-mode&tab=10 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=83eb516c71&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D83eb516c71%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
smart-coming-soon-mode/smart-coming-soon-mode.php 92% from 13 tests
The entry point to "Smart Coming Soon Mode" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 273 characters long)
Code Analysis 97% from 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 plugin54,438 lines of code in 307 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 109 | 3,821 | 5,431 | 16,315 |
JavaScript | 89 | 3,446 | 2,256 | 15,370 |
CSS | 51 | 1,258 | 96 | 10,606 |
Sass | 54 | 1,187 | 60 | 7,580 |
SVG | 2 | 0 | 0 | 3,605 |
JSON | 1 | 184 | 0 | 909 |
LESS | 1 | 0 | 0 | 53 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 32.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 882.00 |
Average method complexity | 6.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 102 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 578 | |
▷ Static methods | 101 | 17.47% |
▷ Public methods | 437 | 75.61% |
▷ Protected methods | 91 | 15.74% |
▷ Private methods | 50 | 8.65% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
Constants | 60 | |
▷ Global constants | 3 | 5.00% |
▷ Class constants | 57 | 95.00% |
▷ Public constants | 57 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
34 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/ReduxCore/assets/img/1col.png | 2.83KB | 0.14KB | ▼ 95.13% |
admin/ReduxCore/assets/img/3cl.png | 3.08KB | 0.33KB | ▼ 89.13% |
admin/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
admin/ReduxCore/assets/img/menu_icon.png | 1.41KB | 0.50KB | ▼ 64.62% |
admin/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |