78% coming-soon-master

Code Review | Coming Soon Master

WordPress plugin Coming Soon Master scored78%from 54 tests.

About plugin

  • Plugin page: coming-soon-master
  • Plugin version: 1.3.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.3
  • WordPress version: 6.3.1
  • First release: Oct 12, 2017
  • Latest release: Mar 12, 2020
  • Number of updates: 23
  • Update frequency: every 42.1 days
  • Top authors: Webhuntinfotech (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /7,619 total downloads


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
Installer ran successfully

Server metrics [RAM: ▼0.11MB] [CPU: ▼21.16ms] Passed 4 tests

Server-side resources used by Coming Soon Master
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.57 ▼1.56
Dashboard /wp-admin3.27 ▼0.0733.83 ▼34.02
Posts /wp-admin/edit.php3.34 ▼0.0238.72 ▼10.09
Add New Post /wp-admin/post-new.php5.52 ▼0.3772.20 ▼37.49
Media Library /wp-admin/upload.php3.28 ▲0.0537.34 ▼3.05

Server storage [IO: ▲3.61MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 78 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Coming Soon Master
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,854 ▲10814.23 ▼0.421.86 ▲0.2239.70 ▼5.24
Dashboard /wp-admin2,220 ▲465.55 ▼0.1284.06 ▼10.1140.71 ▼1.70
Posts /wp-admin/edit.php2,131 ▲311.96 ▲0.0036.57 ▼1.9234.92 ▲0.43
Add New Post /wp-admin/post-new.php1,550 ▲2422.64 ▼0.47676.99 ▼16.9252.93 ▼2.33
Media Library /wp-admin/upload.php1,422 ▲224.20 ▼0.0198.95 ▼19.2345.00 ▼6.82

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

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

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/coming-soon-master/templates/assets/js/variable.php
  • 35× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/dashboard.php:30
    • > PHP Notice
      Undefined variable: csmTemplate in wp-content/plugins/coming-soon-master/templates/assets/js/variable.php on line 61
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/products.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/basic-styling.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/coming-soon-master/templates/assets/css/custom.php:20
    • > PHP Notice
      Undefined variable: pageSecOpacity in wp-content/plugins/coming-soon-master/templates/assets/js/variable.php on line 43
    • > PHP Notice
      Undefined variable: countdownTime in wp-content/plugins/coming-soon-master/templates/assets/js/variable.php on line 17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/social-profile.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/help.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/button.php:7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Screenshots: These screenshots need descriptions #3, #6 in coming-soon-master/assets to your readme.txt
  • Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
The official readme.txt is a good inspiration

coming-soon-master/coming-soon-master.php 92% from 13 tests

"Coming Soon Master" version 1.3.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected27,568 lines of code in 47 files:
LanguageFilesBlank linesComment linesLines of code
PO File1257285556

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions16100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.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
10 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
dist/img/twitter.png1.27KB0.95KB▼ 25.37%
templates/assets/img/webhunt-logo.png36.40KB10.45KB▼ 71.30%
templates/assets/img/item/icon-email.png2.15KB1.99KB▼ 7.45%
dist/img/dashboard-icon.png2.05KB1.50KB▼ 26.63%
dist/img/page.png1.13KB0.57KB▼ 49.40%