Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/short-url-fe/short-url-fe.php+172
Trying to access array offset on value of type bool
Server metrics [RAM: ▼0.32MB] [CPU: ▼13.63ms] Passed 4 tests
Analyzing server-side resources used by Short URL FE
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 34.53 ▼6.49 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.30 ▼4.77 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.94 ▲3.72 |
Add New Post /wp-admin/post-new.php | 4.61 ▼1.28 | 43.01 ▼44.80 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.23 ▲1.55 |
Short URL FE /wp-admin/options-general.php?page=short-url-fe/short-url-fe.php | 3.21 | 31.77 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
shorturlfe_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Short URL FE: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲88 | 13.56 ▼0.82 | 1.92 ▲0.16 | 37.21 ▼10.08 |
Dashboard /wp-admin | 2,212 ▲24 | 4.84 ▼0.97 | 101.19 ▼6.12 | 37.42 ▼4.40 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▲0.01 | 36.04 ▲2.66 | 33.99 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.03 ▼0.13 | 640.45 ▼42.60 | 58.88 ▲2.67 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.22 ▲0.03 | 97.55 ▼1.78 | 41.83 ▼2.34 |
Short URL FE /wp-admin/options-general.php?page=short-url-fe/short-url-fe.php | 1,033 | 2.06 | 24.88 | 33.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/short-url-fe/short-url-fe.php:122
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: shortlink, short link, shorturl, short url, post
short-url-fe/short-url-fe.php 92% from 13 tests
This is the main PHP file of "Short URL FE" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected412 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 104 | 235 |
PO File | 1 | 30 | 31 | 91 |
CSS | 2 | 2 | 0 | 65 |
JavaScript | 1 | 3 | 5 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 13 | |
▷ Named functions | 13 | 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
3 PNG files occupy 0.16MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 47.61KB | 33.67KB | ▼ 29.28% |
screenshot-1.png | 46.79KB | 33.33KB | ▼ 28.76% |
screenshot-3.png | 66.53KB | 38.63KB | ▼ 41.94% |