Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.42ms] Passed 4 tests
This is a short check of server-side resources used by Simple Under Construction
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.74 ▼2.14 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.38 ▼4.96 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.27 ▼0.71 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.45 ▼5.11 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.50 ▼1.45 |
Simple Under Construction /wp-admin/options-general.php?page=simple-under-construction-settings | 3.26 | 31.07 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
simple_under_construction_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Under Construction
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲74 | 13.28 ▼1.09 | 1.79 ▼0.32 | 43.04 ▼2.64 |
Dashboard /wp-admin | 2,207 ▲22 | 5.83 ▲0.87 | 97.92 ▼21.56 | 36.69 ▼9.19 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.06 ▲0.05 | 39.22 ▲3.88 | 34.41 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.30 ▼0.21 | 669.13 ▼11.10 | 62.30 ▲3.72 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.23 ▼0.01 | 92.95 ▼17.45 | 43.73 ▼4.03 |
Simple Under Construction /wp-admin/options-general.php?page=simple-under-construction-settings | 976 | 2.04 | 24.50 | 24.29 |
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: 7 options
- simple_under_construction_settings
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/simple-under-construction/under-construction.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Take a look at the live demo of Simple under construction wordpress plugin) image missing
simple-under-construction/under-construction.php 92% from 13 tests
The main PHP script in "Simple Under Construction" version 1.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-under-construction.php" instead of "under-construction.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin546 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 93 | 21 | 286 |
CSS | 2 | 13 | 3 | 163 |
SVG | 1 | 0 | 0 | 97 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin