Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.75ms] Passed 4 tests
This is a short check of server-side resources used by Dead Simple Maintenance Mode
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.80 ▼5.53 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.81 ▼3.08 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.42 ▼5.45 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.13 ▼24.92 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.56 ▲1.32 |
Dead Simple Maintenance Mode /wp-admin/tools.php?page=dsmm-settings | 3.23 | 33.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Dead Simple Maintenance Mode
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.25 ▼0.28 | 1.81 ▲0.21 | 38.36 ▼0.94 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.03 | 91.23 ▲4.58 | 36.40 ▼5.93 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.03 | 36.68 ▼4.08 | 32.09 ▼6.69 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.25 ▼0.00 | 645.54 ▼3.77 | 60.72 ▲8.80 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.31 ▲0.15 | 95.40 ▼10.73 | 42.46 ▼3.85 |
Dead Simple Maintenance Mode /wp-admin/tools.php?page=dsmm-settings | 817 | 1.99 | 27.31 | 24.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: coming- oon mode, maintenance mode, developmet mode
dead-simple-maintenance-mode/dead-simple-maintenance-mode.php 92% from 13 tests
The main PHP file in "Dead Simple Maintenance Mode" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin132 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 12 | 132 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There were not PNG files found in your plugin