Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.70ms] Passed 4 tests
This is a short check of server-side resources used by BRB - Maintenance or Coming Soon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.28 ▲4.24 |
Dashboard /wp-admin | 3.42 ▲0.08 | 47.48 ▼9.34 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 44.57 ▼1.49 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 92.54 ▲0.51 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 34.42 ▲3.54 |
Maintenance / Coming Soon /wp-admin/options-general.php?page=k-brb | 3.38 | 44.48 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
k-brb-field-icons-style |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for BRB - Maintenance or Coming Soon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼1.51 | 4.26 ▲2.67 | 41.61 ▲0.43 |
Dashboard /wp-admin | 2,210 ▲18 | 5.88 ▲0.93 | 108.65 ▼5.85 | 41.88 ▲0.45 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.01 | 37.72 ▼0.05 | 33.28 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,520 ▼13 | 17.76 ▼5.62 | 590.23 ▼54.61 | 52.95 ▼1.61 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▲0.00 | 94.56 ▲1.90 | 40.59 ▼1.50 |
Maintenance / Coming Soon /wp-admin/options-general.php?page=k-brb | 2,435 | 8.08 | 170.16 | 121.46 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: maintenance, coming soon, private, under construction
k-brb-maintenance-or-coming-soon/k-brb-maintenance-or-coming-soon.php 92% from 13 tests
The entry point to "BRB - Maintenance or Coming Soon" version 1.0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected678 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 113 | 17 | 336 |
CSS | 3 | 28 | 0 | 142 |
PO File | 1 | 53 | 63 | 136 |
JavaScript | 2 | 4 | 0 | 32 |
SVG | 15 | 0 | 1 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.48 |
▷ 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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected