83% easiest-coming-soon-page

Code Review | Easiest Coming Soon Page

WordPress plugin Easiest Coming Soon Page scored83%from 54 tests.

About plugin

  • Plugin page: easiest-coming-so...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.1-4.8
  • WordPress version: 6.3.1
  • First release: Aug 2, 2016
  • Latest release: Aug 9, 2016
  • Number of updates: 15
  • Update frequency: every 29.0 days
  • Top authors: Shadow Developer (86.67%)sebastienrenaudeau (20%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,339 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.31ms] Passed 4 tests

Analyzing server-side resources used by Easiest Coming Soon Page
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.90 ▼2.25
Dashboard /wp-admin3.33 ▼0.0249.69 ▼18.21
Posts /wp-admin/edit.php3.38 ▲0.0251.72 ▲1.07
Add New Post /wp-admin/post-new.php5.91 ▲0.0285.97 ▼12.36
Media Library /wp-admin/upload.php3.25 ▲0.0236.18 ▼0.40
Coming Soon Page /wp-admin/options-general.php?page=easiestcomingsoonpage3.2333.81

Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
popfizz_ecsp_page
popfizz_ecsp_version
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded
popfizz_ecsp_enabled

Browser metrics Passed 4 tests

Checking browser requirements for Easiest Coming Soon Page
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5814.48 ▼0.021.70 ▼0.3643.45 ▼1.16
Dashboard /wp-admin2,219 ▲135.80 ▲0.88102.35 ▼0.5237.82 ▼6.52
Posts /wp-admin/edit.php2,101 ▲12.00 ▲0.0139.57 ▼0.2135.44 ▼1.69
Add New Post /wp-admin/post-new.php1,529 ▼2817.72 ▼0.72683.36 ▲44.6053.99 ▼2.76
Media Library /wp-admin/upload.php1,404 ▲74.21 ▲0.0295.15 ▼7.0043.23 ▼2.00
Coming Soon Page /wp-admin/options-general.php?page=easiestcomingsoonpage8232.0326.2230.67

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% 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 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/easiest-coming-soon-page/easiest-coming-soon-page.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Tags: There are too many tags (14 tag instead of maximum 10)
The official readme.txt is a good inspiration

easiest-coming-soon-page/easiest-coming-soon-page.php 85% from 13 tests

Analyzing the main PHP file in "Easiest Coming Soon Page" version 1.0.2
It is important to fix the following:
  • Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
  • Domain Path: Please prefix the domain path with a forward slash character ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin189 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP12420153
PO File1101036

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity16.00
▷ Minimum class complexity16.00
▷ Maximum class complexity16.00
Average method complexity1.79
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods19
▷ Static methods210.53%
▷ Public methods1894.74%
▷ Protected methods00.00%
▷ Private methods15.26%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected