Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.48ms] Passed 4 tests
Server-side resources used by Coming Soon Maintenance Mode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.56 ▼3.07 |
Dashboard /wp-admin | 3.36 ▲0.06 | 51.52 ▲1.33 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 52.53 ▼1.45 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.71 ▼10.71 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 37.60 ▲2.50 |
Server storage [IO: ▲9.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 214 new files
Database: no new tables, 7 new options
New WordPress options |
---|
csmm_current_version |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Coming Soon Maintenance Mode: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲156 | 14.02 ▼0.28 | 5.11 ▲3.16 | 41.01 ▼4.61 |
Dashboard /wp-admin | 2,215 ▲30 | 4.85 ▼1.02 | 110.49 ▼7.49 | 38.86 ▼3.23 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.00 ▼0.01 | 40.14 ▼1.16 | 36.99 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,543 ▲23 | 23.25 ▲0.02 | 596.59 ▼21.38 | 54.18 ▲5.31 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.23 ▲0.08 | 99.30 ▼4.01 | 39.99 ▼5.60 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- csmm_current_version
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- csmm_last_version
- widget_theysaidso_widget
- db_upgraded
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/coming-soon-maintenance-mode/templates/4.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/coming-soon-maintenance-mode/templates/8.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/coming-soon-maintenance-mode/templates/1.php:7
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: under construction page, landing page, seo friendly, maintenance mode, coming soon
coming-soon-maintenance-mode/coming-soon-maintenance-mode.php Passed 13 tests
"Coming Soon Maintenance Mode" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
78 characters long description:
One of the most recommanded and crucial plugin to start your website projects.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin43,967 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 4,095 | 424 | 19,256 |
JavaScript | 12 | 2,724 | 1,138 | 8,886 |
Sass | 19 | 555 | 72 | 6,961 |
LESS | 18 | 552 | 72 | 6,903 |
PHP | 6 | 127 | 183 | 1,602 |
SVG | 3 | 0 | 2 | 359 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/images/logo-w.png | 7.14KB | 3.93KB | ▼ 44.99% |
admin/assets/img/csmm-logo.png | 1.12KB | 0.55KB | ▼ 50.57% |
templates/images/logo-b.png | 7.19KB | 3.93KB | ▼ 45.39% |