84% minimal-coming-soon-maintenance-mode

Code Review | Minimal Coming Soon – Coming Soon Page

WordPress plugin Minimal Coming Soon – Coming Soon Page scored84%from 54 tests.

About plugin

  • Plugin page: minimal-coming-so...
  • Plugin version: 2.37
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Aug 3, 2014
  • Latest release: Sep 13, 2023
  • Number of updates: 144
  • Update frequency: every 23.1 days
  • Top authors: WebFactory (87.5%)akshitsethi (11.81%)talextech (2.08%)

Code review

54 tests

User reviews

261 reviews

Install metrics

100,000+ active /1,788,380 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
Installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▼7.92ms] Passed 4 tests

Analyzing server-side resources used by Minimal Coming Soon – Coming Soon Page
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0635.68 ▼3.09
Dashboard /wp-admin3.37 ▲0.0346.35 ▼13.14
Posts /wp-admin/edit.php3.49 ▲0.1348.51 ▲0.62
Add New Post /wp-admin/post-new.php5.98 ▲0.1081.67 ▼15.92
Media Library /wp-admin/upload.php3.30 ▲0.0834.05 ▲0.46
Maintenance Mode /wp-admin/options-general.php?page=maintenance_mode_options3.7860.63

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 453 new files
Database: no new tables, 9 new options
New WordPress options
can_compress_scripts
wf_licensing_csmm
widget_theysaidso_widget
theysaidso_admin_options
signals_csmm_meta
db_upgraded
widget_recent-comments
widget_recent-posts
signals_csmm_options

Browser metrics Passed 4 tests

An overview of browser requirements for Minimal Coming Soon – Coming Soon Page
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,903 ▲14214.73 ▲0.392.12 ▲0.4337.62 ▼3.44
Dashboard /wp-admin2,277 ▲975.76 ▲0.0990.79 ▲4.9767.17 ▲29.62
Posts /wp-admin/edit.php2,188 ▲912.29 ▲0.2747.24 ▲11.5142.04 ▲6.75
Add New Post /wp-admin/post-new.php1,566 ▲3823.01 ▼0.23642.90 ▼18.05171.37 ▲114.05
Media Library /wp-admin/upload.php1,482 ▲884.26 ▲0.10101.78 ▲6.5371.05 ▲27.51
Maintenance Mode /wp-admin/options-general.php?page=maintenance_mode_options16,9065.74186.78364.21

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • wf_licensing_csmm

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=maintenance_mode_options
    • > Notice in wp-content/plugins/minimal-coming-soon-maintenance-mode/framework/admin/views/settings-design.php+266
    Undefined index: animation

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files

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)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed: Please take inspiration from this readme.txt

minimal-coming-soon-maintenance-mode/minimal-coming-soon-maintenance-mode.php Passed 13 tests

The main PHP script in "Minimal Coming Soon – Coming Soon Page" version 2.37 is automatically included on every request by WordPress
102 characters long description:
Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.

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
Success! There were no dangerous files found in this plugin11,723 lines of code in 66 files:
LanguageFilesBlank linesComment linesLines of code
PHP309005577,062
CSS5149852,560
JavaScript314662472,101

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity27.80
▷ Minimum class complexity4.00
▷ Maximum class complexity74.00
Average method complexity3.24
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods59
▷ Static methods610.17%
▷ Public methods4983.05%
▷ Protected methods00.00%
▷ Private methods1016.95%
Functions41
▷ Named functions3585.37%
▷ Anonymous functions614.63%
Constants6
▷ Global constants583.33%
▷ Class constants116.67%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
25 PNG files occupy 0.26MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
wf-flyout/icons/ucp.png16.30KB2.35KB▼ 85.58%
framework/admin/img/sections/secondary.png1.16KB0.66KB▼ 43.53%
framework/admin/img/ad_custom-image.png54.29KB18.12KB▼ 66.63%
wf-flyout/icons/csmm.png4.93KB3.46KB▼ 29.91%
framework/admin/img/sections/header.png2.14KB1.12KB▼ 47.65%