74% wp-coming-soon-booster

Code Review | Coming Soon Pages for WordPress - Coming Soon Booster

WordPress plugin Coming Soon Pages for WordPress - Coming Soon Booster scored74%from 54 tests.

About plugin

  • Plugin page: wp-coming-soon-bo...
  • Plugin version: 3.0.33
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.3
  • WordPress version: 6.3.1
  • First release: Oct 17, 2016
  • Latest release: Nov 18, 2019
  • Number of updates: 276
  • Update frequency: every 4.4 days
  • Top authors: contact-banker (78.62%)wordpress-empire (21.74%)

Code review

54 tests

User reviews

33 reviews

Install metrics

200+ active /39,767 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.48MB] [CPU: ▲5.90ms] Passed 4 tests

Analyzing server-side resources used by Coming Soon Pages for WordPress - Coming Soon Booster
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.91 ▲0.4145.63 ▲4.30
Dashboard /wp-admin3.91 ▲0.5656.69 ▲5.50
Posts /wp-admin/edit.php3.97 ▲0.5762.14 ▲11.83
Add New Post /wp-admin/post-new.php6.29 ▲0.36100.54 ▲2.14
Media Library /wp-admin/upload.php3.91 ▲0.6451.32 ▲11.64
/wp-admin/admin.php?page=csb_layout_custom_css3.9247.57
/wp-admin/admin.php?page=csb_contact_heading_settings3.9246.02
/wp-admin/admin.php?page=csb_favicon_settings3.9245.41
Layout Design /wp-admin/admin.php?page=csb_loader_settings3.9245.46
/wp-admin/admin.php?page=csb_subscription_email_templates3.9246.12
/wp-admin/admin.php?page=csb_description_settings3.9243.41
/wp-admin/admin.php?page=csb_message_settings3.9244.18
Countdown Timer /wp-admin/admin.php?page=csb_countdown3.9245.70
Plugin Mode /wp-admin/admin.php?page=csb_coming_soon_booster3.9245.24
/wp-admin/admin.php?page=csb_wizard_coming_soon_booster3.9242.59

Server storage [IO: ▲4.28MB] [DB: ▲0.02MB] Passed 3 tests

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 161 new files
Database: 3 new tables, 8 new options
New tables
wp_coming_soon_booster_meta
wp_coming_soon_booster_ip_locations
wp_coming_soon_booster
New WordPress options
theysaidso_admin_options
coming_soon_booster_versions_number
widget_recent-comments
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
csb_admin_notice

Browser metrics Passed 4 tests

An overview of browser requirements for Coming Soon Pages for WordPress - Coming Soon Booster
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,918 ▲15714.39 ▲0.101.56 ▲0.0440.59 ▲0.41
Dashboard /wp-admin2,255 ▲785.58 ▼0.0886.17 ▼4.5584.04 ▲39.48
Posts /wp-admin/edit.php2,178 ▲752.00 ▼0.0840.92 ▲4.9333.62 ▼5.18
Add New Post /wp-admin/post-new.php1,606 ▲7823.14 ▲0.16693.89 ▲60.6959.55 ▲1.42
Media Library /wp-admin/upload.php1,472 ▲724.13 ▼0.09108.43 ▲11.2777.80 ▲36.55
/wp-admin/admin.php?page=csb_layout_custom_css1,1112.6440.4546.91
/wp-admin/admin.php?page=csb_contact_heading_settings1,1112.6540.6340.12
/wp-admin/admin.php?page=csb_favicon_settings1,1142.5635.0139.98
Layout Design /wp-admin/admin.php?page=csb_loader_settings1,1082.4435.4438.46
/wp-admin/admin.php?page=csb_subscription_email_templates1,1082.5634.9438.49
/wp-admin/admin.php?page=csb_description_settings1,1082.5534.1342.15
/wp-admin/admin.php?page=csb_message_settings1,1112.4535.7937.74
Countdown Timer /wp-admin/admin.php?page=csb_countdown1,1112.5736.1437.26
Plugin Mode /wp-admin/admin.php?page=csb_coming_soon_booster1,1112.5736.6536.57
/wp-admin/admin.php?page=csb_wizard_coming_soon_booster1,1122.4437.2041.74

Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 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
  • Zombie tables were found after uninstall: 3 tables
    • wp_coming_soon_booster_meta
    • wp_coming_soon_booster_ip_locations
    • wp_coming_soon_booster
  • Zombie WordPress options detected upon uninstall: 8 options
    • can_compress_scripts
    • csb_admin_notice
    • widget_recent-posts
    • theysaidso_admin_options
    • coming_soon_booster_versions_number
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× 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/wp-coming-soon-booster/theme/includes/countdown-timezone-country.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: coming soon wordpress plugin, under construction, coming soon plugin, coming soon page, coming soon

wp-coming-soon-booster/wp-coming-soon-booster.php Passed 13 tests

The main PHP file in "Coming Soon Pages for WordPress - Coming Soon Booster" ver. 3.0.33 adds more information about the plugin and also serves as the entry point for this plugin
112 characters long description:
Coming Soon Booster is a responsive plugin that provides attractive coming soon page with modern design layouts.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin54,625 lines of code in 95 files:
LanguageFilesBlank linesComment linesLines of code
PHP544931,18326,570
JavaScript252,3757,23117,607
CSS14917609,007
SVG2001,441

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity10.50
▷ Minimum class complexity1.00
▷ Maximum class complexity45.00
Average method complexity3.59
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods22
▷ Static methods00.00%
▷ Public methods22100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions82
▷ Named functions82100.00%
▷ Anonymous functions00.00%
Constants23
▷ Global constants23100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
39 compressed PNG files occupy 0.54MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/global/img/portlet-config-icon-white.png0.27KB0.44KB0.00%
assets/admin/images/ui-icons_ffffff_256x240.png3.25KB3.74KB0.00%
assets/global/img/success.png0.32KB0.33KB0.00%
theme/img/cloud-02.png80.86KB86.75KB0.00%
assets/global/plugins/datatables/media/images/sort_asc_disabled.png0.14KB0.25KB0.00%