84% coming-soon-wp

Code Review | Coming Soon, Under Construction & Maintenance Mode By Dazzler

WordPress plugin Coming Soon, Under Construction & Maintenance Mode By Dazzler scored 84% from 54 tests.

About plugin

  • Plugin page: coming-soon-wp
  • Plugin version: 1.6.9
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8.1
  • WordPress version: 5.8.1
  • First release: Oct 17, 2016
  • Latest release: Oct 1, 2021
  • Number of updates: 55
  • Update frequency: every 32.9 days
  • Top authors: dazzlersoft (100%)

Code review

54 tests

User reviews

235 reviews

Install metrics

10,000+ active / 307,455 total downloads

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.03MB] [CPU: ▼147.10ms] Passed 4 tests

Server-side resources used by Coming Soon, Under Construction & Maintenance Mode By Dazzler
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.0336.33 ▲4.17
Dashboard /wp-admin3.09 ▲0.0445.65 ▲9.83
Posts /wp-admin/edit.php3.15 ▲0.0444.78 ▼1.08
Add New Post /wp-admin/post-new.php5.45 ▲0.0287.66 ▼579.57
Media Library /wp-admin/upload.php3.04 ▲0.0433.30 ▼11.91

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options
dazz_cs_contact
dazz_cs_social
dazz_cs_dashboard
dazz_cs_design
wpsm_dazz_cs_review
dazz_cs_seo

Browser metrics Passed 4 tests

An overview of browser requirements for Coming Soon, Under Construction & Maintenance Mode By Dazzler
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,709 ▲11315.92 ▼0.0411.20 ▲2.4947.81 ▼0.46
Dashboard /wp-admin2,990 ▲575.97 ▼0.23149.57 ▼2.26113.63 ▲5.94
Posts /wp-admin/edit.php2,756 ▲172.84 ▲0.1468.89 ▼9.9186.41 ▼4.74
Add New Post /wp-admin/post-new.php1,696 ▲1318.44 ▼0.06381.17 ▼44.67108.16 ▲1.26
Media Library /wp-admin/upload.php1,827 ▲205.03 ▼0.01155.69 ▼16.66124.44 ▼24.20

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • dazz_cs_contact
    • dazz_cs_seo
    • dazz_cs_social
    • wpsm_dazz_cs_review
    • dazz_cs_dashboard
    • dazz_cs_design

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/coming-soon-wp/frontend/index.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Tags: There are too many tags (32 tag instead of maximum 10)
You can look at the official readme.txt

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

Analyzing the main PHP file in "Coming Soon, Under Construction & Maintenance Mode By Dazzler" version 1.6.9
129 characters long description:
Coming Soon Wp plugin is Modern and responsive, manage your website while launching soon , under construction & maintenance mode.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected12,774 lines of code in 32 files:
LanguageFilesBlank linesComment linesLines of code
CSS91,3427310,864
PHP13295441,398
JavaScript104384512

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants2
▷ 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
19 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/css/images/ui-bg_inset-hard_100_fcfdfd_1x100.png0.29KB0.10KB▼ 65.41%
assets/css/images/ui-bg_flat_55_fbec88_40x100.png0.20KB0.08KB▼ 57.77%
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png0.21KB0.08KB▼ 58.96%
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png0.32KB0.15KB▼ 54.82%
assets/css/images/button_check.png4.66KB1.57KB▼ 66.23%