Benchmarks
Plugin footprint Passed 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: ▼296.66ms] Passed 4 tests
Analyzing server-side resources used by UmanIT Update URLs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 54.79 ▼5.36 |
Dashboard /wp-admin | 3.48 ▲0.07 | 36.77 ▼32.06 |
Posts /wp-admin/edit.php | 3.72 ▲0.07 | 42.25 ▲6.59 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 94.25 ▼1,147.20 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 23.41 ▼2.00 |
Update URLs /wp-admin/tools.php?page=umanit-update-urls/updateurls.php | 3.34 | 26.32 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
UmanIT Update URLs: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲38 | 16.46 ▲0.68 | 5.64 ▼0.58 | 2.17 ▼0.19 |
Dashboard /wp-admin | 2,911 ▲50 | 6.16 ▼0.06 | 134.98 ▼0.95 | 195.19 ▲37.11 |
Posts /wp-admin/edit.php | 2,697 ▲13 | 3.29 ▲0.23 | 63.65 ▼30.58 | 138.10 ▼5.80 |
Add New Post /wp-admin/post-new.php | 1,668 ▲7 | 17.01 ▲1.13 | 407.90 ▼22.06 | 163.61 ▲3.97 |
Media Library /wp-admin/upload.php | 1,707 ▲18 | 5.57 ▲0.04 | 145.65 ▼9.40 | 242.77 ▲2.88 |
Update URLs /wp-admin/tools.php?page=umanit-update-urls/updateurls.php | 1,328 | 2.65 | 57.24 | 143.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/umanit-update-urls/updateurls.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/tools.php?page=umanit-update-urls/updateurls.php
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31592 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/umanit-update-urls/js/listeners.js:27:75)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30340)" undefined
- > GET request to /wp-admin/tools.php?page=umanit-update-urls/updateurls.php
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31702 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 90% 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
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (The plugin's screen)
umanit-update-urls/updateurls.php 85% from 13 tests
Analyzing the main PHP file in "UmanIT Update URLs" version 1.0
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("umanit-update-urls.php" instead of "updateurls.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin519 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 53 | 64 | 390 |
CSS | 1 | 5 | 0 | 69 |
JavaScript | 1 | 15 | 7 | 60 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 116.08KB | 39.71KB | ▼ 65.79% |