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.00MB] [CPU: ▼9.26ms] Passed 4 tests
Server-side resources used by Maintenance Countdown
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 46.58 ▲5.54 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.75 ▼19.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.72 ▼5.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.81 ▼7.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.53 ▼4.95 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Maintenance Countdown
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.75 ▲1.59 | 2.14 ▼2.28 | 45.60 ▲3.48 |
Dashboard /wp-admin | 2,211 ▲43 | 5.60 ▲0.00 | 86.10 ▲2.39 | 39.20 ▼5.64 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.02 ▼0.03 | 35.24 ▼7.15 | 35.73 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.23 ▲5.55 | 619.31 ▼64.62 | 51.12 ▲2.32 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.23 ▲0.02 | 98.55 ▼3.29 | 45.28 ▲2.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/maintenance-countdown/maintenance-countdown.php
- > /wp-content/plugins/maintenance-countdown/maintenance-menu.php
- > /wp-content/plugins/maintenance-countdown/show-maintenance.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 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
These attributes need your attention:
- Screenshots: Please add an image for screenshot #3 (This is the look of the maintenance countdown page in 'charcoal' design)
- Contributors: The plugin tags were not defined
- Contributors: The plugin contributors field is not present
maintenance-countdown/maintenance-countdown.php 92% from 13 tests
The entry point to "Maintenance Countdown" version 1.1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 151 characters long)
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
Everything looks great! No dangerous files found in this plugin906 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 207 | 543 | 616 |
PHP | 4 | 21 | 13 | 227 |
CSS | 1 | 4 | 13 | 63 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.PNG | 45.70KB | 19.14KB | ▼ 58.12% |
screenshot-2.PNG | 43.62KB | 22.19KB | ▼ 49.12% |