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.03MB] [CPU: ▼6.91ms] Passed 4 tests
Analyzing server-side resources used by Site Offline Or Coming Soon Or Maintenance Mode
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.69 ▲2.87 |
Dashboard /wp-admin | 3.35 ▲0.00 | 45.12 ▼12.03 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.76 ▼0.29 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.43 ▼16.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.05 ▲1.14 |
Server storage [IO: ▲1.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 75 new files
Database: no new tables, 13 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
sahu_so_contact |
sahu_siteoff_line_review |
sahu_so_social |
sahu_so_countdown |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Site Offline Or Coming Soon Or Maintenance Mode
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲45 | 14.75 ▲0.35 | 1.76 ▼0.22 | 46.22 ▲9.26 |
Dashboard /wp-admin | 2,222 ▲43 | 4.87 ▼0.99 | 111.44 ▲13.31 | 42.68 ▼4.42 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.00 ▼0.03 | 33.80 ▼2.15 | 35.42 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.42 ▲0.12 | 663.96 ▼24.51 | 47.20 ▼6.87 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.22 ▼0.08 | 94.12 ▼4.55 | 44.99 ▼1.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 13 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- sahu_so_countdown
- sahu_so_seo
- sahu_so_dashboard
- sahu_siteoff_line_review
- sahu_so_social
- sahu_so_contact
- ...
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 | 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 fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/site-offline/output/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 38 tag instead of maximum 10
- Screenshots: Please add descriptions for these screenshots #11, #12 in site-offline/assets to your readme.txt
site-offline/site-offline.php Passed 13 tests
The entry point to "Site Offline Or Coming Soon Or Maintenance Mode" version 1.5.6 is a PHP file that has certain tags in its header comment area
114 characters long description:
Site Offline plugin manage your WordPress website when it's under construction or maintenance mode or coming soon.
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
Good job! No executable or dangerous file extensions detected5,307 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 329 | 86 | 3,071 |
PHP | 14 | 367 | 43 | 1,681 |
JavaScript | 15 | 60 | 130 | 555 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/button_check.png | 4.66KB | 1.57KB | ▼ 66.23% |
assets/img/logo.png | 9.08KB | 3.44KB | ▼ 62.10% |
assets/css/images/ui-icons_d8e7f3_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
assets/css/images/ui-icons_217bc0_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |