Benchmarks
Plugin footprint 83% 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.10MB] [CPU: ▲4.68ms] Passed 4 tests
This is a short check of server-side resources used by WP Utility Script Runner
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 45.09 ▼0.27 |
Dashboard /wp-admin | 3.45 ▲0.11 | 58.65 ▲7.60 |
Posts /wp-admin/edit.php | 3.56 ▲0.17 | 51.49 ▲4.38 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.10 | 102.51 ▲7.52 |
Media Library /wp-admin/upload.php | 3.37 ▲0.10 | 42.35 ▲7.07 |
Utility Scripts /wp-admin/tools.php?page=wp-utility-script-runner | 3.35 | 33.96 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Utility Script Runner: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.51 ▲0.15 | 1.70 ▼0.29 | 43.55 ▼4.91 |
Dashboard /wp-admin | 2,199 ▲19 | 5.56 ▼0.07 | 88.24 ▲1.73 | 39.98 ▲0.79 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.05 | 34.94 ▼2.61 | 35.21 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.96 ▼0.63 | 648.75 ▼53.71 | 58.23 ▲4.15 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.10 ▼0.11 | 113.13 ▲12.31 | 47.55 ▼1.40 |
Utility Scripts /wp-admin/tools.php?page=wp-utility-script-runner | 920 | 1.92 | 27.55 | 27.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 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
8 plugin tags: custom, developers, run-once, task, utilities...
wp-utility-script-runner/wp-utility-script-runner.php 92% from 13 tests
The entry point to "WP Utility Script Runner" version 1.1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, 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 programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,554 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 43 | 78 | 974 |
JavaScript | 3 | 7 | 12 | 297 |
CSS | 3 | 3 | 3 | 283 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 91.00 |
▷ Minimum class complexity | 91.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 10 | 45.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 54.55% |
Functions | 8 | |
▷ Named functions | 3 | 37.50% |
▷ Anonymous functions | 5 | 62.50% |
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
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
css/images/ui-icons_205677_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
css/images/ui-icons_FFFFFF_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |