Benchmarks
Plugin footprint 65% from 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: ▲5.89MB] [CPU: ▲31.96ms] 75% from 4 tests
A check of server-side resources used by Link in Bio Creator – Social
It is recommended to improve the following
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.89MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.68 ▲6.22 | 70.36 ▲29.58 |
Dashboard /wp-admin | 9.70 ▲6.40 | 82.79 ▲33.58 |
Posts /wp-admin/edit.php | 9.71 ▲6.35 | 91.52 ▲40.67 |
Add New Post /wp-admin/post-new.php | 10.47 ▲4.59 | 124.36 ▲25.18 |
Media Library /wp-admin/upload.php | 9.70 ▲6.47 | 73.72 ▲39.51 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.70 | 63.35 |
Server storage [IO: ▲10.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 318 new files
Database: no new tables, 12 new options
New WordPress options |
---|
fs_debug_mode |
widget_theysaidso_widget |
social_lite_db_version |
social_lite-token |
widget_recent-posts |
db_upgraded |
fs_accounts |
fs_active_plugins |
theysaidso_admin_options |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Link in Bio Creator – Social
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,041 ▲279 | 18.89 ▲4.19 | 9.75 ▲8.00 | 26.80 ▼16.31 |
Dashboard /wp-admin | 2,287 ▲107 | 8.66 ▲2.98 | 176.78 ▲80.43 | 47.32 ▲3.95 |
Posts /wp-admin/edit.php | 2,199 ▲99 | 6.08 ▲4.14 | 112.29 ▲67.83 | 52.78 ▲13.52 |
Add New Post /wp-admin/post-new.php | 1,561 ▲21 | 25.14 ▲2.39 | 824.19 ▲240.67 | 30.76 ▼17.03 |
Media Library /wp-admin/upload.php | 1,499 ▲99 | 7.73 ▲3.54 | 157.55 ▲59.49 | 43.52 ▲3.63 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,153 | 5.80 | 103.49 | 30.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/social-lite/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 12 options
- social_lite_db_version
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- fs_debug_mode
- social_lite-token
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- social_lite-installation-date
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following items
- 30× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/social-lite/inc/base/others/start.php
- > /wp-content/plugins/social-lite/inc/Activator.php
- > /wp-content/plugins/social-lite/vendor/social-develop/utils/src/Service.php
- > /wp-content/plugins/social-lite/vendor/social-develop/utils/src/Base.php
- > /wp-content/plugins/social-lite/inc/base/notifications/BioLinkNotifications.php
- > /wp-content/plugins/social-lite/inc/Localization.php
- > /wp-content/plugins/social-lite/inc/base/CPT.php
- > /wp-content/plugins/social-lite/inc/base/data/BioLinkData.php
- > /wp-content/plugins/social-lite/inc/base/others/fallback-php-version.php
- > /wp-content/plugins/social-lite/inc/Assets.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'SOCIAL_LITE_PATH/vendor/freemius/wordpress-sdk/start.php' (include_path='.:/usr/share/php') in wp-content/plugins/social-lite/freemius.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/social-lite/inc/view/bio/BioLinkTemplate.php:11
- > PHP Warning
require_once(SOCIAL_LITE_PATH/vendor/freemius/wordpress-sdk/start.php): failed to open stream: No such file or directory in wp-content/plugins/social-lite/freemius.php on line 18
- > PHP Warning
Use of undefined constant SOCIAL_LITE_PATH - assumed 'SOCIAL_LITE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/social-lite/freemius.php on line 18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in social-lite/assets to your readme.txt
social-lite/index.php 92% from 13 tests
The main PHP file in "Link in Bio Creator – Social" ver. 1.4.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("social-lite.php" instead of "index.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected64,815 lines of code in 235 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 168 | 8,933 | 18,974 | 36,527 |
Markdown | 6 | 5,298 | 0 | 15,746 |
JSON | 7 | 0 | 0 | 11,796 |
JavaScript | 13 | 34 | 269 | 481 |
SVG | 25 | 0 | 0 | 202 |
PO File | 1 | 3 | 5 | 36 |
CSS | 15 | 10 | 4 | 27 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 58.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 1 | |
Traits | 7 | |
Classes | 78 | |
▷ Abstract classes | 3 | 3.85% |
▷ Concrete classes | 75 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,496 | |
▷ Static methods | 234 | 15.64% |
▷ Public methods | 1,074 | 71.79% |
▷ Protected methods | 31 | 2.07% |
▷ Private methods | 391 | 26.14% |
Functions | 137 | |
▷ Named functions | 106 | 77.37% |
▷ Anonymous functions | 31 | 22.63% |
Constants | 197 | |
▷ Global constants | 112 | 56.85% |
▷ Class constants | 85 | 43.15% |
▷ Public constants | 85 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 PNG files occupy 0.40MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/logos/logo--spotlight.png | 6.58KB | 2.76KB | ▼ 58.04% |
public/images/states/empty-social-icons.png | 70.08KB | 22.19KB | ▼ 68.33% |
public/images/upsells/upsell-pro--banner.png | 183.87KB | 184.34KB | 0.00% |
public/images/states/empty-footer-links.png | 11.03KB | 7.73KB | ▼ 29.96% |
public/images/logos/logo--spotify.png | 1.15KB | 0.79KB | ▼ 31.69% |