Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.22ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Under Construction
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.19 ▼0.93 |
Dashboard /wp-admin | 3.37 ▲0.03 | 47.17 ▼9.81 |
Posts /wp-admin/edit.php | 3.43 ▲0.06 | 43.69 ▼1.13 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.06 | 80.83 ▼17.00 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 40.49 ▲5.21 |
Ultimate Under Construction /wp-admin/options-general.php?page=uuc-options | 3.27 | 30.63 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Under Construction
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.65 ▲0.03 | 1.70 ▲0.04 | 44.74 ▲2.72 |
Dashboard /wp-admin | 2,212 ▲32 | 5.77 ▲0.14 | 83.97 ▼1.47 | 33.79 ▼8.16 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.27 ▲0.31 | 36.04 ▼4.58 | 29.51 ▼10.30 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.28 ▲0.19 | 680.02 ▲32.19 | 53.96 ▼7.71 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.50 ▲0.30 | 93.64 ▼14.74 | 41.01 ▼6.82 |
Ultimate Under Construction /wp-admin/options-general.php?page=uuc-options | 1,156 | 2.34 | 40.86 | 21.64 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-under-construction/includes/uucadmin.php:178
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ultimate-under-construction/includes/display-functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-under-construction/ultimate-under-construction.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-under-construction/includes/scripts.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: coming soon, holding, construction, holding page, private...
ultimate-under-construction/ultimate-under-construction.php 85% from 13 tests
The main PHP file in "Ultimate Under Construction" ver. 1.9.3 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
- Description: The description should be shorter than 140 characters (currently 165 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,511 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 358 | 561 | 861 |
CSS | 2 | 88 | 7 | 347 |
PHP | 4 | 65 | 46 | 303 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
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 | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
8 compressed PNG files occupy 0.23MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/wavegrid.png | 1.55KB | 1.57KB | 0.00% |
includes/images/darkbind.png | 19.38KB | 21.05KB | 0.00% |
includes/images/flatcardboard.png | 32.11KB | 35.10KB | 0.00% |
includes/images/greywashwall.png | 46.32KB | 48.62KB | 0.00% |
includes/images/pooltable.png | 40.96KB | 43.30KB | 0.00% |