Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼1.15MB] [CPU: ▼342.59ms] Passed 4 tests
Server-side resources used by Link In Bio by EyeSeeT
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.26 | 64.84 ▲10.97 |
Dashboard /wp-admin | 3.18 ▼0.23 | 16.39 ▼22.24 |
Posts /wp-admin/edit.php | 3.18 ▼0.46 | 15.55 ▼89.76 |
Add New Post /wp-admin/post-new.php | 3.18 ▼3.79 | 16.62 ▼1,237.23 |
Media Library /wp-admin/upload.php | 3.18 ▼0.12 | 14.69 ▼21.12 |
Link In Bio /wp-admin/edit.php?post_type=linkinbio | 3.18 | 16.81 |
Settings /wp-admin/edit.php?post_type=linkinbio&page=settings | 3.41 | 19.81 |
Add New /wp-admin/post-new.php?post_type=linkinbio | 3.18 | 16.35 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Link In Bio by EyeSeeT
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,827 ▲73 | 15.43 ▼0.21 | 5.80 ▼0.05 | 3.45 ▲1.08 |
Dashboard /wp-admin | 2,934 ▲73 | 6.13 ▼0.03 | 116.37 ▼20.84 | 158.68 ▼9.02 |
Posts /wp-admin/edit.php | 2,733 ▲39 | 3.25 ▲0.01 | 63.56 ▼3.10 | 141.81 ▼7.64 |
Add New Post /wp-admin/post-new.php | 1,737 ▼15 | 21.36 ▲0.57 | 443.30 ▼43.82 | 184.53 ▲23.62 |
Media Library /wp-admin/upload.php | 1,738 ▲37 | 5.52 ▲0.01 | 151.29 ▲3.03 | 239.80 ▲47.16 |
Link In Bio /wp-admin/edit.php?post_type=linkinbio | 1,406 | 3.15 | 60.97 | 114.43 |
Settings /wp-admin/edit.php?post_type=linkinbio&page=settings | 2,066 | 5.57 | 99.83 | 140.67 |
Add New /wp-admin/post-new.php?post_type=linkinbio | 1,993 | 3.91 | 96.90 | 138.89 |
Uninstaller [IO: ▲0.08MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attentionThis plugin did not uninstall successfully, leaving 1 option in the database
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/link-in-bio/Base/Controllers/AbstractAdminController.php+38
Undefined index: page
- Uninstaller has failed for this plugin, leaving 17 files (0.08MB) in the plugin directory
- (new file) Base/Controllers/AbstractAdminController.php
- (new file) Base/Models/AdminMenu.php
- (new file) Base/PluginHelper.php
- (new file) Base/Controllers/CustomPostTypeController.php
- (new file) Base/Controllers/AdminSettingsController.php
- (new file) Controllers/LinkInBioCPT.php
- (new file) Base/Controllers/AbstractController.php
- (new file) Base/Helpers/SettingsUtil.php
- (new file) Base/assets/admin/js/admin.js
- (new file) Base/assets/admin/css/jquery-ui-fresh.css
- ...
- recovery_mode_email_last_sent
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=linkinbio
- > Notice in wp-content/plugins/link-in-bio/Base/Controllers/AbstractAdminController.php+38
Undefined index: page
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=linkinbio&page=settings
- > Notice in wp-content/plugins/link-in-bio/Base/Controllers/AbstractAdminController.php+72
Undefined index: action
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
Please take a closer look at the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'linkinbio\\Base\\Controllers\\AbstractController' not found in wp-content/plugins/link-in-bio/Controllers/LinkInBioPage.php:6
- > PHP Fatal error
Uncaught Error: Class 'linkinbio\\Base\\Controllers\\AbstractController' not found in wp-content/plugins/link-in-bio/Base/Controllers/AbstractAdminController.php:6
- > PHP Fatal error
Uncaught Error: Class 'linkinbio\\Base\\Controllers\\AdminSettingsController' not found in wp-content/plugins/link-in-bio/Controllers/LinkInBioSettings.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/link-in-bio/template/linkinbio.php:5
- > PHP Fatal error
Uncaught Error: Class 'linkinbio\\Base\\Controllers\\AbstractAdminController' not found in wp-content/plugins/link-in-bio/Base/Controllers/AdminSettingsController.php:12
- > PHP Fatal error
Uncaught Error: Class 'linkinbio\\Base\\Controllers\\CustomPostTypeController' not found in wp-content/plugins/link-in-bio/Controllers/LinkInBioCPT.php:6
- > PHP Fatal error
Uncaught Error: Class 'linkinbio\\Base\\Controllers\\AbstractController' not found in wp-content/plugins/link-in-bio/Base/Controllers/CustomPostTypeController.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=linkinbio&page=settings
- > Network (severe)
wp-content/plugins/link-in-bio/Base/assets/admin/css/admin.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots require images: #1 (Link In Bio in action), #2 (All Items Page), #3 (Add/Edit Item Page), #4 (Settings Page), #5 (Admin page status Link In Bio)
link-in-bio/linkinbio.php 85% from 13 tests
"Link In Bio by EyeSeeT" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("link-in-bio.php" instead of "linkinbio.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,380 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 26 | 104 | 810 |
CSS | 2 | 37 | 152 | 418 |
JavaScript | 1 | 20 | 7 | 152 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 4 | 40.00% |
▷ Concrete classes | 6 | 60.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 10 | 15.87% |
▷ Public methods | 32 | 50.79% |
▷ Protected methods | 29 | 46.03% |
▷ Private methods | 2 | 3.17% |
Functions | 23 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 23 | 100.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin