84% coming-soon-wp

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

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

About plugin

  • Plugin page: coming-soon-wp
  • Plugin version: 2.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2.2
  • WordPress version: 6.3.1
  • First release: Oct 17, 2016
  • Latest release: Jun 27, 2023
  • Number of updates: 59
  • Update frequency: every 41.4 days
  • Top authors: dazzlersoft (100%)

Code review

54 tests

User reviews

250 reviews

Install metrics

10,000+ active /369,765 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: ▼12.50ms] 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 /3.50 ▲0.0437.15 ▼4.85
Dashboard /wp-admin3.34 ▲0.0045.41 ▼16.71
Posts /wp-admin/edit.php3.40 ▲0.0445.95 ▼2.38
Add New Post /wp-admin/post-new.php5.93 ▲0.0482.42 ▼26.06
Media Library /wp-admin/upload.php3.27 ▲0.0436.43 ▲3.48

Server storage [IO: ▲1.55MB] [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, 12 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
wpsm_dazz_cs_review
dazz_cs_contact
dazz_cs_seo
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
dazz_cs_design
...

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 /2,805 ▲4414.38 ▼0.221.71 ▲0.1236.49 ▼2.59
Dashboard /wp-admin2,214 ▲365.59 ▼0.1280.65 ▼18.4736.80 ▼3.15
Posts /wp-admin/edit.php2,113 ▲132.03 ▲0.0134.17 ▼5.6231.10 ▼5.01
Add New Post /wp-admin/post-new.php1,539 ▲1123.08 ▲0.06662.19 ▲37.3156.35 ▲6.41
Media Library /wp-admin/upload.php1,419 ▲194.24 ▲0.0093.58 ▼8.6043.82 ▲3.07

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 12 options in the database
    • dazz_cs_contact
    • theysaidso_admin_options
    • can_compress_scripts
    • dazz_cs_design
    • dazz_cs_social
    • dazz_cs_dashboard
    • widget_theysaidso_widget
    • dazz_cs_seo
    • widget_recent-comments
    • widget_recent-posts
    • ...

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 2.1.2
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 detected4,261 lines of code in 32 files:
LanguageFilesBlank linesComment linesLines of code
CSS9170742,346
PHP13296441,400
JavaScript104381515

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.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/css/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png5.69KB2.08KB▼ 63.46%
assets/css/images/ui-bg_glass_85_dfeffc_1x400.png0.33KB0.16KB▼ 53.08%
assets/images/icon-show.png65.60KB20.88KB▼ 68.17%
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png0.21KB0.08KB▼ 58.96%
assets/css/images/ui-icons_6da8d5_256x240.png4.44KB4.17KB▼ 6.02%