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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.97ms] Passed 4 tests
A check of server-side resources used by LC Shortlink
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.81 ▼6.54 |
Dashboard /wp-admin | 3.39 ▲0.09 | 43.64 ▼2.22 |
Posts /wp-admin/edit.php | 3.23 ▼0.13 | 31.27 ▼15.86 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.20 ▼12.23 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 31.17 ▼5.25 |
Add New Link /wp-admin/post-new.php?post_type=lcshortlink | 3.34 | 42.56 |
All Links /wp-admin/edit.php?post_type=lcshortlink | 3.35 | 37.00 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for LC Shortlink
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 14.46 ▲0.10 | 1.78 ▼0.03 | 42.15 ▼5.00 |
Dashboard /wp-admin | 2,233 ▲45 | 5.94 ▲0.13 | 97.02 ▼5.90 | 38.65 ▼6.21 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.97 ▼0.07 | 39.49 ▲5.18 | 36.45 ▲2.37 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 23.41 ▲0.07 | 659.70 ▲4.27 | 61.49 ▲12.14 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.44 ▲0.22 | 95.40 ▼8.14 | 43.13 ▼2.25 |
Add New Link /wp-admin/post-new.php?post_type=lcshortlink | 1,581 | 2.50 | 48.34 | 58.65 |
All Links /wp-admin/edit.php?post_type=lcshortlink | 1,072 | 2.00 | 30.69 | 29.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: short-link, light-weight, redirection, redirect-plugin, lc-shortlilnk...
lc-shortlink/lc-shortlink.php 92% from 13 tests
This is the main PHP file of "LC Shortlink" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 212 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin244 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 44 | 12 | 244 |
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.47 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin