Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼2.63ms] 75% from 4 tests
A check of server-side resources used by LightStart - Maintenance Mode, Coming Soon and Landing Page Builder
Please fix the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 3,742.17ms on /wp-admin/admin.php?page=ti-about-wp_maintenance_mode)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 41.88 ▲0.37 |
Dashboard /wp-admin | 3.55 ▲0.21 | 61.65 ▲2.82 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 50.94 ▲0.98 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 85.16 ▼14.68 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 40.29 ▲5.73 |
About Us /wp-admin/admin.php?page=ti-about-wp_maintenance_mode | 4.44 | 3,742.17 |
LightStart /wp-admin/admin.php?page=wp-maintenance-mode | 3.87 | 46.13 |
Server storage [IO: ▲8.78MB] [DB: ▲0.86MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 218 new files
Database: 1 new table, 14 new options
New tables |
---|
wp_wpmm_subscribers |
New WordPress options |
---|
wpmm_fresh_install |
wpmm_settings |
wpmm_new_look |
wp_maintenance_mode_install |
wpmm_activated |
wpmm_settings_redirect |
db_upgraded |
wpmm_show_migration |
widget_recent-comments |
wpmm_version |
... |
Browser metrics Passed 4 tests
LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,099 ▲353 | 13.28 ▼1.30 | 1.60 ▼0.11 | 29.90 ▼8.54 |
Dashboard /wp-admin | 2,490 ▲305 | 4.93 ▼0.98 | 97.20 ▼4.30 | 80.85 ▲36.30 |
Posts /wp-admin/edit.php | 2,260 ▲171 | 2.03 ▲0.03 | 34.26 ▼7.66 | 34.54 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,837 ▲314 | 22.68 ▼0.64 | 765.62 ▲86.43 | 52.34 ▲2.29 |
Media Library /wp-admin/upload.php | 1,559 ▲171 | 4.23 ▼0.02 | 96.64 ▲0.30 | 75.27 ▲30.80 |
About Us /wp-admin/admin.php?page=ti-about-wp_maintenance_mode | 1,263 | 6.57 | 144.03 | 99.26 |
LightStart /wp-admin/admin.php?page=wp-maintenance-mode | 1,403 | 3.50 | 48.25 | 76.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.85MB] 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 12 options in the database
- widget_recent-posts
- wpmm_activated
- theysaidso_admin_options
- widget_recent-comments
- wpmm_show_migration
- wp_maintenance_mode_install
- db_upgraded
- wpmm_settings_redirect
- widget_theysaidso_widget
- can_compress_scripts
- ...
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
Good news, no errors were detected
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
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WPMM_TEMPLATES_URL - assumed 'WPMM_TEMPLATES_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-maintenance-mode/views/wizard.php on line 5
- > PHP Warning
Use of undefined constant WPMM_TEMPLATES_URL - assumed 'WPMM_TEMPLATES_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-maintenance-mode/views/wizard.php on line 9
- > PHP Warning
Use of undefined constant WPMM_TEMPLATES_URL - assumed 'WPMM_TEMPLATES_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-maintenance-mode/views/wizard.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wp-maintenance-mode/views/wizard.php:22
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Screenshot #8 (Contact Form) image required
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
wp-maintenance-mode/wp-maintenance-mode.php Passed 13 tests
The main PHP script in "LightStart - Maintenance Mode, Coming Soon and Landing Page Builder" version 2.6.8 is automatically included on every request by WordPress
138 characters long description:
Adds a splash page to your site that lets visitors know your site is down for maintenance. It's perfect for a coming soon or landing page.
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 detected32,781 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 51 | 1,598 | 3,161 | 9,634 |
PO File | 15 | 3,228 | 3,938 | 8,442 |
JavaScript | 24 | 986 | 1,179 | 6,861 |
CSS | 22 | 453 | 322 | 6,723 |
Markdown | 3 | 406 | 0 | 758 |
SVG | 8 | 0 | 0 | 228 |
JSON | 16 | 0 | 0 | 135 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 42.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 220.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 1 | 4.00% |
▷ Concrete classes | 24 | 96.00% |
▷ Final classes | 1 | 4.17% |
Methods | 326 | |
▷ Static methods | 65 | 19.94% |
▷ Public methods | 271 | 83.13% |
▷ Protected methods | 1 | 0.31% |
▷ Private methods | 54 | 16.56% |
Functions | 55 | |
▷ Named functions | 34 | 61.82% |
▷ Anonymous functions | 21 | 38.18% |
Constants | 36 | |
▷ Global constants | 16 | 44.44% |
▷ Class constants | 20 | 55.56% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
22 compressed PNG files occupy 0.91MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/templates/landing-page/landing-page-7/screenshot.png | 36.06KB | 37.68KB | 0.00% |
assets/templates/coming-soon/coming-soon-4/screenshot.png | 50.79KB | 53.19KB | 0.00% |
assets/templates/landing-page/landing-page-6/screenshot.png | 61.61KB | 65.61KB | 0.00% |
assets/templates/coming-soon/coming-soon-1/screenshot.png | 24.62KB | 26.46KB | 0.00% |