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
Install script ran successfully
Server metrics [RAM: ▲0.33MB] [CPU: ▲0.57ms] Passed 4 tests
Server-side resources used by Coming soon and Maintenance mode
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.34 | 44.65 ▲5.73 |
Dashboard /wp-admin | 3.63 ▲0.33 | 54.69 ▲0.15 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 54.11 ▲11.68 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 87.72 ▼15.30 |
Media Library /wp-admin/upload.php | 3.56 ▲0.32 | 50.50 ▲18.56 |
Featured Plugins /wp-admin/admin.php?page=coming-soon-featured-plugins | 3.56 | 47.07 |
Coming Soon /wp-admin/admin.php?page=coming-soon | 3.61 | 47.53 |
Subscribers /wp-admin/admin.php?page=mailing-list-subscribers | 3.56 | 44.99 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 66 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Coming soon and Maintenance mode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.32 ▼0.03 | 1.64 ▼0.08 | 38.65 ▼6.44 |
Dashboard /wp-admin | 2,213 ▲36 | 5.51 ▼0.10 | 88.97 ▼10.99 | 70.51 ▲27.95 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.00 ▼0.11 | 34.45 ▼5.87 | 33.19 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,565 ▲29 | 23.20 ▲4.75 | 753.38 ▲140.78 | 54.36 ▼16.09 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.11 ▼0.05 | 109.99 ▲12.85 | 75.73 ▲32.77 |
Featured Plugins /wp-admin/admin.php?page=coming-soon-featured-plugins | 1,344 | 3.60 | 58.82 | 93.39 |
Coming Soon /wp-admin/admin.php?page=coming-soon | 8,512 | 9.51 | 196.98 | 98.55 |
Subscribers /wp-admin/admin.php?page=mailing-list-subscribers | 1,280 | 3.97 | 59.52 | 89.80 |
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 did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/coming-soon-page/coming_soon.php:29
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: under construction, wordpress coming soon, maintenance mode, maintenance, coming soon
coming-soon-page/coming_soon.php 85% from 13 tests
The main PHP script in "Coming soon and Maintenance mode" version 3.7.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 204 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("coming-soon-page.php" instead of "coming_soon.php")
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
Good job! No executable or dangerous file extensions detected4,925 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 210 | 91 | 2,645 |
CSS | 3 | 87 | 87 | 1,804 |
JavaScript | 4 | 56 | 112 | 476 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 23.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 53.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 30 | 46.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
48 PNG files occupy 0.31MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/featured_plugins/contact_forms.png | 14.11KB | 6.86KB | ▼ 51.39% |
images/support.png | 2.21KB | 1.14KB | ▼ 48.50% |
images/menu_icon.png | 16.14KB | 1.41KB | ▼ 91.25% |
images/support-white.png | 1.11KB | 0.67KB | ▼ 40.16% |
images/progressbar.png | 2.50KB | 1.56KB | ▼ 37.39% |