Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲1.13ms] Passed 4 tests
A check of server-side resources used by FAT Cooming Soon
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.16 | 45.35 ▲1.64 |
Dashboard /wp-admin | 3.53 ▲0.18 | 55.08 ▲3.26 |
Posts /wp-admin/edit.php | 3.64 ▲0.24 | 52.33 ▲5.66 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.20 | 87.84 ▼2.40 |
Media Library /wp-admin/upload.php | 3.45 ▲0.18 | 41.33 ▲2.01 |
Coming soon setting /wp-admin/admin.php?page=fat-coming-soon-setting | 3.58 | 36.63 |
Coming soon /wp-admin/admin.php?page=fat-coming-soon | 3.58 | 35.86 |
Server storage [IO: ▲3.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 100 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FAT Cooming Soon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.39 ▲0.04 | 1.78 ▼0.16 | 44.30 ▲2.83 |
Dashboard /wp-admin | 2,236 ▲56 | 5.62 ▼0.05 | 94.48 ▲0.77 | 38.45 ▼2.76 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.12 ▲0.14 | 37.43 ▼0.16 | 33.76 ▼4.67 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 23.31 ▲0.15 | 689.16 ▲13.05 | 51.98 ▼13.28 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.31 ▲0.03 | 99.50 ▼13.27 | 49.12 ▲0.57 |
Coming soon setting /wp-admin/admin.php?page=fat-coming-soon-setting | 12,265 | 7.01 | 282.54 | 42.49 |
Coming soon /wp-admin/admin.php?page=fat-coming-soon | 12,223 | 6.97 | 232.11 | 32.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fat-coming-soon
- > Warning in wp-content/plugins/fat-coming-soon/library/fat-cmb/fields/fat_cmb_select.php+99
Illegal offset type in isset or empty
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/fat-coming-soon/library/fat-cmb/fat-cmb.php
- > /wp-content/plugins/fat-coming-soon/library/fat-cmb/templates/init-field.php
- > /wp-content/plugins/fat-coming-soon/fat-coming-soon.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/fat-coming-soon/assets/css/frontend/custom-css.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fat-coming-soon/templates/header.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/fat-coming-soon/page-templates/coming-soon-template.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/fat-coming-soon/library/fat-cmb/templates/option-page.php:8
- > PHP Notice
Undefined variable: fields in wp-content/plugins/fat-coming-soon/library/fat-cmb/templates/init-field.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/fat-coming-soon/page-templates/coming-soon-mailchimp-template.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fat-coming-soon/templates/footer.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fat-coming-soon/templates/header-icon.php:9
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/fat-coming-soon/library/fat-cmb/templates/init-field.php on line 12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fat-coming-soon
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fat-coming-soon
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fat-coming-soon
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fat-coming-soon
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clearAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: youtube, vimeo, pinterest, twitter, editor...
fat-coming-soon/fat-coming-soon.php Passed 13 tests
The main file in "FAT Cooming Soon" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
55 characters long description:
Easy create coming soon and maintain mode for your site
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
Good job! No executable or dangerous file extensions detected27,045 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 16,894 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 25 | 280 | 201 | 2,651 |
CSS | 15 | 248 | 85 | 2,480 |
JavaScript | 29 | 385 | 276 | 2,322 |
HTML | 2 | 0 | 0 | 23 |
Markdown | 1 | 2 | 0 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 30.24 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 142.00 |
Average method complexity | 8.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 2 | 3.12% |
▷ Public methods | 52 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 18.75% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/vegas/overlays/09.png | 0.13KB | 0.12KB | ▼ 13.87% |
assets/js/vegas/overlays/07.png | 0.21KB | 0.10KB | ▼ 51.63% |
assets/js/vegas/overlays/02.png | 0.21KB | 0.10KB | ▼ 53.05% |
assets/js/vegas/overlays/05.png | 0.21KB | 0.10KB | ▼ 52.11% |
assets/images/dot.png | 2.74KB | 0.10KB | ▼ 96.40% |