Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.38MB] [CPU: ▲3.61ms] Passed 4 tests
This is a short check of server-side resources used by Coming Soon Counter Page / Maintenance Mode - Lacoming Soon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.36 | 42.93 ▲2.78 |
Dashboard /wp-admin | 3.76 ▲0.43 | 50.95 ▲2.47 |
Posts /wp-admin/edit.php | 3.82 ▲0.43 | 56.48 ▲8.67 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.36 | 109.68 ▲8.51 |
Media Library /wp-admin/upload.php | 3.62 ▲0.36 | 39.36 ▲0.67 |
Server storage [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: no files
Database: no new tables, 51 new options
New WordPress options |
---|
lasoon_back_image_for_email |
lasoon_back_3_image |
twitter_social_link |
youtube_social_link |
lasoon_button_text_for_email |
lasoon_logo |
lasoon_heading_animation |
widget_recent-posts |
lasoon_meta_robot |
lasoon_back_2_image |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Coming Soon Counter Page / Maintenance Mode - Lacoming Soon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,984 ▲238 | 15.30 ▲0.65 | 1.68 ▲0.03 | 44.65 ▼0.11 |
Dashboard /wp-admin | 2,375 ▲184 | 7.04 ▲2.15 | 143.55 ▲34.38 | 91.05 ▲51.72 |
Posts /wp-admin/edit.php | 2,296 ▲207 | 3.41 ▲1.36 | 60.99 ▲26.28 | 67.47 ▲32.14 |
Add New Post /wp-admin/post-new.php | 1,554 ▲20 | 23.33 ▲0.02 | 627.38 ▼54.42 | 99.99 ▲34.78 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.61 ▲0.39 | 85.13 ▼28.12 | 67.99 ▲20.07 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 51 options
- lasoon_heading_subtitle_for_email
- lasoon_sidebar
- lasoon_git_address
- lasoon_subtitle_enable
- lasoon_git_show
- lasoon_about_head
- linkedin_social_link
- lasoon_heading_subtitle
- lasoon_git_head
- lasoon_about_show
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
Please take a closer look at the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Lasoon_Admin_Settings' not found in wp-content/plugins/coming-soon-counter-page-maintenance-mode-lacoming-soon/admin/main-lasoon.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/coming-soon-counter-page-maintenance-mode-lacoming-soon/admin/lasoon-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/coming-soon-counter-page-maintenance-mode-lacoming-soon/public/class-lasoon-public.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/coming-soon-counter-page-maintenance-mode-lacoming-soon/public/coming-soon.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: maintenance mode, coming soon, launch page, coming soon page, under construction
coming-soon-counter-page-maintenance-mode-lacoming-soon/lasoon-maintenance.php 85% from 13 tests
"Coming Soon Counter Page / Maintenance Mode - Lacoming Soon" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("coming-soon-counter-page-maintenance-mode-lacoming-soon.php" instead of "lasoon-maintenance.php")
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
Everything looks great! No dangerous files found in this plugin8,120 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 153 | 32 | 3,585 |
PHP | 14 | 342 | 432 | 2,001 |
JavaScript | 13 | 140 | 69 | 1,996 |
PO File | 1 | 226 | 254 | 474 |
SVG | 15 | 0 | 0 | 64 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 5.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 11 | 28.21% |
▷ Public methods | 31 | 79.49% |
▷ Protected methods | 8 | 20.51% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 compressed PNG files occupy 2.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/images/logo.png | 3.46KB | 1.89KB | ▼ 45.50% |
public/assets/images/cloud-2.png | 311.44KB | 337.81KB | 0.00% |
public/assets/images/cloud-1.png | 750.87KB | 833.75KB | 0.00% |
public/assets/images/cloud-4.png | 176.97KB | 176.66KB | 0.17% |
public/assets/images/cloud-3.png | 828.02KB | 913.55KB | 0.00% |