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
Install script ran successfully
Server metrics [RAM: ▲1.07MB] [CPU: ▼2.50ms] Passed 4 tests
A check of server-side resources used by WP MyLinks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.20 ▲0.74 | 41.21 ▼0.13 |
Dashboard /wp-admin | 4.51 ▲1.21 | 53.39 ▼2.11 |
Posts /wp-admin/edit.php | 4.53 ▲1.18 | 56.89 ▲6.72 |
Add New Post /wp-admin/post-new.php | 7.11 ▲1.23 | 88.66 ▼14.47 |
Media Library /wp-admin/upload.php | 4.37 ▲1.14 | 46.44 ▲11.55 |
Add New /wp-admin/post-new.php?post_type=mylink | 5.20 | 62.53 |
Settings /wp-admin/edit.php?post_type=mylink&page=welcome | 4.34 | 41.39 |
Collection /wp-admin/edit.php?post_type=mylinks-collection | 4.42 | 67.58 |
All MyLinks /wp-admin/edit.php?post_type=mylink | 4.42 | 42.65 |
Server storage [IO: ▲3.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 389 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP MyLinks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲123 | 14.36 ▲0.01 | 1.63 ▼0.04 | 37.26 ▼7.93 |
Dashboard /wp-admin | 2,293 ▲116 | 5.62 ▼0.04 | 100.14 ▲6.75 | 47.42 ▲6.04 |
Posts /wp-admin/edit.php | 2,196 ▲96 | 2.20 ▲0.19 | 38.54 ▲3.75 | 32.12 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,599 ▲64 | 23.68 ▲5.50 | 635.50 ▼28.33 | 56.90 ▼18.32 |
Media Library /wp-admin/upload.php | 1,495 ▲98 | 4.30 ▲0.08 | 103.84 ▲4.48 | 44.85 ▲3.14 |
Add New /wp-admin/post-new.php?post_type=mylink | 3,153 | 4.44 | 95.13 | 71.07 |
Settings /wp-admin/edit.php?post_type=mylink&page=welcome | 1,696 | 9.89 | 264.37 | 102.12 |
Collection /wp-admin/edit.php?post_type=mylinks-collection | 1,160 | 2.17 | 37.59 | 39.12 |
All MyLinks /wp-admin/edit.php?post_type=mylink | 1,176 | 2.18 | 35.36 | 34.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 44× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-mylinks/includes/class-wp-mylinks-post-type.php:78
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/wp-mylinks/includes/cmb2/includes/CMB2.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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
10 plugin tags: linkinbio, campsite, link, social, contactinbio...
wp-mylinks/wp-mylinks.php 92% from 13 tests
The main file in "WP MyLinks" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin50,778 lines of code in 225 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 121 | 14,536 | 18,750 | 32,984 |
PHP | 71 | 2,355 | 7,203 | 9,761 |
CSS | 19 | 255 | 1,201 | 5,697 |
JavaScript | 11 | 380 | 590 | 1,568 |
Markdown | 3 | 249 | 0 | 768 |
PHP code Passed 2 tests
Analyzing 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.44 |
Average class complexity | 17.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 9 | 11.69% |
▷ Concrete classes | 68 | 88.31% |
▷ Final classes | 0 | 0.00% |
Methods | 579 | |
▷ Static methods | 93 | 16.06% |
▷ Public methods | 480 | 82.90% |
▷ Protected methods | 90 | 15.54% |
▷ Private methods | 9 | 1.55% |
Functions | 79 | |
▷ Named functions | 78 | 98.73% |
▷ Anonymous functions | 1 | 1.27% |
Constants | 12 | |
▷ Global constants | 5 | 41.67% |
▷ Class constants | 7 | 58.33% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
30 compressed PNG files occupy 0.12MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/discord.png | 1.50KB | 1.47KB | ▼ 2.15% |
includes/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/images/one-link.png | 1.63KB | 1.59KB | ▼ 2.04% |
includes/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |