Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/bitt-link-shorter/bitt-link-shorter.php+33
Undefined variable: wpdb
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.99ms] Passed 4 tests
Analyzing server-side resources used by Bitt Link Shortener
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 36.47 ▼4.94 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.88 ▼12.93 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 44.98 ▼3.29 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.00 ▼2.79 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.39 ▲2.56 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 7 new options
New tables |
---|
wpbls_bitt_links |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
wpbls_install |
Browser metrics Passed 4 tests
A check of browser resources used by Bitt Link Shortener
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 13.22 ▼1.06 | 4.23 ▲1.94 | 40.10 ▼3.19 |
Dashboard /wp-admin | 2,223 ▲43 | 4.98 ▼0.70 | 96.29 ▲9.51 | 40.72 ▲1.74 |
Posts /wp-admin/edit.php | 2,130 ▲48 | 2.37 ▲0.36 | 39.28 ▲2.96 | 33.06 ▼3.26 |
Add New Post /wp-admin/post-new.php | 6,271 ▲4,745 | 26.16 ▲2.44 | 798.99 ▲113.26 | 55.35 ▼0.20 |
Media Library /wp-admin/upload.php | 1,425 ▲28 | 4.53 ▲0.35 | 95.87 ▼6.00 | 41.78 ▼0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wpbls_bitt_links
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- wpbls_uninstall
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- wpbls_install
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bitt-link-shorter/bitt-link-shorter.php
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 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-3.png)
- Tags: There are too many tags (14 tag instead of maximum 10)
bitt-link-shorter/bitt-link-shorter.php Passed 13 tests
This is the main PHP file of "Bitt Link Shortener" version 2.2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
49 characters long description:
Get free link shortner plugin for your wordpress.
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
No dangerous file extensions were detected593 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 138 | 200 | 278 |
JavaScript | 2 | 52 | 44 | 241 |
CSS | 2 | 10 | 11 | 74 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 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 | 9 | |
▷ Global constants | 9 | 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
8 PNG files occupy 0.20MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/plugins/datatable/css/DataTables-1.10.16/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/plugins/datatable/css/DataTables-1.10.16/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
screenshot-3.png | 68.12KB | 20.88KB | ▼ 69.34% |
screenshot-1.png | 71.05KB | 20.48KB | ▼ 71.17% |
assets/plugins/datatable/css/DataTables-1.10.16/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |