Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲4.14MB] [CPU: ▼292.70ms] Passed 4 tests
An overview of server-side resources used by WP Link Bio
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.04 ▲4.52 | 76.98 ▲22.65 |
Dashboard /wp-admin | 8.06 ▲4.65 | 58.03 ▲18.20 |
Posts /wp-admin/edit.php | 8.06 ▲4.41 | 63.30 ▲22.16 |
Add New Post /wp-admin/post-new.php | 9.94 ▲2.96 | 118.91 ▼1,233.82 |
Media Library /wp-admin/upload.php | 8.06 ▲4.76 | 54.06 ▲27.87 |
Freemius Debug [v.2.3.0] /wp-admin/admin.php?page=freemius | 8.06 | 44.79 |
Server storage [IO: ▲7.05MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 538 new files
Database: no new tables, 5 new options
New WordPress options |
---|
fs_debug_mode |
fs_active_plugins |
fs_api_cache |
fs_accounts |
fs_gdpr |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Link Bio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,819 ▲66 | 15.55 ▼0.03 | 5.92 ▼0.29 | 2.09 ▼0.61 |
Dashboard /wp-admin | 2,944 ▲83 | 6.15 ▲0.02 | 118.16 ▼18.41 | 243.88 ▲82.47 |
Posts /wp-admin/edit.php | 2,740 ▲49 | 3.23 ▼0.02 | 64.05 ▼2.44 | 212.97 ▲64.34 |
Add New Post /wp-admin/post-new.php | 1,714 ▲42 | 21.18 ▲0.14 | 454.05 ▲28.63 | 157.70 ▼48.29 |
Media Library /wp-admin/upload.php | 1,750 ▲52 | 5.63 ▲0.10 | 135.39 ▼3.42 | 200.25 ▼51.80 |
Freemius Debug [v.2.3.0] /wp-admin/admin.php?page=freemius | 1,482 | 2.51 | 55.15 | 186.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 5 options in the database
- fs_gdpr
- fs_accounts
- fs_active_plugins
- fs_api_cache
- fs_debug_mode
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-link-bio/freemius/templates/ajax-loader.php
- 55× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/wp-link-bio/includes/cmb2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wp-link-bio/includes/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-link-bio/wp-link-bio.php:28
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/wp-link-bio/includes/cmb2/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/wp-link-bio/templates/header.php:2
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/wp-link-bio/includes/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wp-link-bio/includes/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-link-bio/includes/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/wp-link-bio/includes/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/wp-link-bio/includes/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add a description for screenshot #5 in wp-link-bio/assets to your readme.txt
wp-link-bio/wp-link-bio.php 92% from 13 tests
Analyzing the main PHP file in "WP Link Bio" version 1.4.4
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin88,883 lines of code in 337 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 130 | 20,025 | 25,415 | 44,881 |
PHP | 166 | 8,958 | 21,700 | 36,439 |
CSS | 25 | 307 | 1,206 | 4,859 |
JavaScript | 12 | 440 | 653 | 1,877 |
Markdown | 4 | 277 | 0 | 827 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,609)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 44.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,609.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 113 | |
▷ Abstract classes | 11 | 9.73% |
▷ Concrete classes | 102 | 90.27% |
▷ Final classes | 0 | 0.00% |
Methods | 1,618 | |
▷ Static methods | 259 | 16.01% |
▷ Public methods | 1,195 | 73.86% |
▷ Protected methods | 104 | 6.43% |
▷ Private methods | 319 | 19.72% |
Functions | 174 | |
▷ Named functions | 173 | 99.43% |
▷ Anonymous functions | 1 | 0.57% |
Constants | 129 | |
▷ Global constants | 100 | 77.52% |
▷ Class constants | 29 | 22.48% |
▷ Public constants | 29 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
27 PNG files occupy 0.70MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
images/placeholder.png | 2.40KB | 2.57KB | 0.00% |
assets/icon-128x128.png | 3.88KB | 2.16KB | ▼ 44.15% |
includes/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
includes/cmb2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |