Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.11MB] [CPU: ▼150.07ms] Passed 4 tests
A check of server-side resources used by Coming Soon Page Maintenance Mode Under Construction Page
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▲0.06 | 20.23 ▼3.65 |
Dashboard /wp-admin | 2.99 ▼0.07 | 27.23 ▼16.28 |
Posts /wp-admin/edit.php | 3.05 ▼0.06 | 33.42 ▼14.13 |
Add New Post /wp-admin/post-new.php | 5.12 ▼0.32 | 87.10 ▼563.08 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 28.45 ▼6.80 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 3 new options
New WordPress options |
---|
et_coming_soon_page_general_settings |
et_comming_soon_page_installed |
et_comming_soon_page_version |
Browser metrics Passed 4 tests
A check of browser resources used by Coming Soon Page Maintenance Mode Under Construction Page
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,722 ▲126 | 15.86 ▲0.14 | 10.32 ▼3.54 | 50.97 ▼7.75 |
Dashboard /wp-admin | 2,987 ▲57 | 5.91 ▼0.19 | 157.83 ▲1.34 | 106.59 ▼4.45 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.85 ▲0.13 | 65.98 ▼1.38 | 88.90 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,617 ▼2,121 | 18.74 ▼0.39 | 372.00 ▼127.83 | 100.95 ▼54.75 |
Media Library /wp-admin/upload.php | 1,827 ▲17 | 5.04 ▲0.01 | 173.99 ▲9.58 | 124.31 ▲10.52 |
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
- Zombie WordPress options were found after uninstall: 3 options
- et_comming_soon_page_version
- et_comming_soon_page_installed
- et_coming_soon_page_general_settings
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/et-coming-soon-page-maintenance-mode-under-construction-page/includes/Frontend/Views/template-1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/et-coming-soon-page-maintenance-mode-under-construction-page/includes/Backend/Views/settings.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
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: delicious share button, social share button, facebook share button, twitter share button, reddit share button
et-coming-soon-page-maintenance-mode-under-construction-page/et-coming-soon-page-maintenance-mode-under-construction-page.php 77% from 13 tests
The principal PHP file in "Coming Soon Page Maintenance Mode Under Construction Page" v. 1.0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.0" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,139 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 279 | 298 | 879 |
CSS | 2 | 60 | 12 | 236 |
JSON | 2 | 0 | 0 | 23 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview 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.37 |
Average class complexity | 8.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 55 | |
▷ Static methods | 14 | 25.45% |
▷ Public methods | 53 | 96.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.64% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/easy-toolbox-logo-100x100-v2.png | 3.72KB | 2.21KB | ▼ 40.57% |