Benchmarks
Plugin footprint 65% 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.26MB] [CPU: ▼0.94ms] Passed 4 tests
Server-side resources used by SKT Maintenance - Coming Soon, Under Construction, Maintenance Landing Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 40.93 ▼6.18 |
Dashboard /wp-admin | 3.61 ▲0.30 | 54.73 ▼5.67 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 52.55 ▲2.25 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 101.32 ▲5.85 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 41.70 ▲6.74 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: 1 new table, 22 new options
New tables |
---|
wp_skt_maintenance_excludepage |
New WordPress options |
---|
heading |
headingfont_size |
test-editor |
page_title |
heading_color |
footer_text |
widget_recent-posts |
widget_recent-comments |
background_overlay_bodycss |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by SKT Maintenance - Coming Soon, Under Construction, Maintenance Landing Page
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲232 | 14.95 ▲0.57 | 1.78 ▼0.41 | 41.36 ▼5.98 |
Dashboard /wp-admin | 2,387 ▲199 | 6.69 ▲1.79 | 141.82 ▲30.04 | 41.77 ▼1.68 |
Posts /wp-admin/edit.php | 2,293 ▲207 | 3.58 ▲1.56 | 56.68 ▲21.68 | 31.32 ▼4.31 |
Add New Post /wp-admin/post-new.php | 1,705 ▲191 | 22.75 ▲4.93 | 641.39 ▼58.68 | 36.31 ▼17.56 |
Media Library /wp-admin/upload.php | 1,432 ▲50 | 4.37 ▲0.21 | 82.11 ▼24.66 | 42.68 ▲0.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_skt_maintenance_excludepage
- Zombie WordPress options were found after uninstall: 22 options
- page_title
- footer_text
- fontfamily
- theysaidso_admin_options
- description_color
- site_title_color
- background_bodycss
- widget_recent-comments
- footer_textfont_size
- headingfont_size
- ...
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function maybe_unserialize() in wp-content/plugins/skt-maintenance/admin/google-fonts.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/skt-maintenance/admin/maintenance-menu.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Contributors: The plugin contributors field is missing
skt-maintenance/maintenance.php 92% from 13 tests
The main PHP script in "SKT Maintenance - Coming Soon, Under Construction, Maintenance Landing Page" version 1.2 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("skt-maintenance.php" instead of "maintenance.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,814 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 63 | 33 | 1,557 |
CSS | 2 | 91 | 129 | 216 |
JavaScript | 2 | 5 | 2 | 41 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
images/lock-icon.png | 1.64KB | 0.97KB | ▼ 40.87% |