Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.95MB] [CPU: ▲7.96ms] Passed 4 tests
An overview of server-side resources used by Link Library
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.76 | 47.25 ▲5.18 |
Dashboard /wp-admin | 5.76 ▲2.40 | 63.24 ▼0.40 |
Posts /wp-admin/edit.php | 5.76 ▲2.39 | 69.31 ▲18.91 |
Add New Post /wp-admin/post-new.php | 8.13 ▲2.23 | 108.33 ▲8.67 |
Media Library /wp-admin/upload.php | 5.76 ▲2.52 | 55.88 ▲18.38 |
Moderate /wp-admin/edit.php?post_type=link_library_links&page=link-library-moderate | 5.76 | 52.20 |
Global Options /wp-admin/edit.php?post_type=link_library_links&page=link-library-general-options | 5.76 | 55.77 |
All Links /wp-admin/edit.php?post_type=link_library_links | 5.76 | 56.39 |
Add New /wp-admin/post-new.php?post_type=link_library_links | 5.76 | 69.76 |
Link checking tools /wp-admin/edit.php?post_type=link_library_links&page=link-library-reciprocal | 5.76 | 50.76 |
Library Configurations /wp-admin/edit.php?post_type=link_library_links&page=link-library-settingssets | 5.76 | 51.29 |
Link Library Categories /wp-admin/edit-tags.php?taxonomy=link_library_category&post_type=link_library_links | 5.76 | 52.08 |
FAQ /wp-admin/edit.php?post_type=link_library_links&page=link-library-faq | 5.76 | 42.94 |
Tags /wp-admin/edit-tags.php?taxonomy=link_library_tags&post_type=link_library_links | 5.76 | 57.64 |
Stylesheet /wp-admin/edit.php?post_type=link_library_links&page=link-library-stylesheet | 5.76 | 48.94 |
Server storage [IO: ▲4.53MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 188 new files
Database: no new tables, 10 new options
New WordPress options |
---|
LinkLibraryGeneral |
LinkLibraryPP1 |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_link_library |
widget_recent-posts |
LinkLibrary60Update |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Link Library
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,077 ▲330 | 13.57 ▼0.77 | 11.14 ▲9.47 | 43.15 ▼1.20 |
Dashboard /wp-admin | 2,325 ▲151 | 5.60 ▲0.06 | 94.25 ▼3.67 | 75.98 ▲32.36 |
Posts /wp-admin/edit.php | 2,212 ▲112 | 2.13 ▲0.15 | 40.61 ▲0.02 | 36.07 ▲4.39 |
Add New Post /wp-admin/post-new.php | 6,455 ▲4,929 | 28.13 ▲4.90 | 860.49 ▲262.58 | 38.70 ▼10.76 |
Media Library /wp-admin/upload.php | 1,506 ▲103 | 4.18 ▼0.04 | 97.80 ▼20.04 | 73.21 ▲28.72 |
Moderate /wp-admin/edit.php?post_type=link_library_links&page=link-library-moderate | 1,101 | 2.28 | 43.29 | 30.04 |
Global Options /wp-admin/edit.php?post_type=link_library_links&page=link-library-general-options | 3,741 | 6.91 | 181.51 | 70.40 |
All Links /wp-admin/edit.php?post_type=link_library_links | 1,300 | 2.07 | 35.23 | 35.21 |
Add New /wp-admin/post-new.php?post_type=link_library_links | 3,433 | 8.87 | 211.01 | 147.75 |
Link checking tools /wp-admin/edit.php?post_type=link_library_links&page=link-library-reciprocal | 1,245 | 2.31 | 38.61 | 27.53 |
Library Configurations /wp-admin/edit.php?post_type=link_library_links&page=link-library-settingssets | 6,000 | 4.26 | 119.28 | 68.58 |
Link Library Categories /wp-admin/edit-tags.php?taxonomy=link_library_category&post_type=link_library_links | 1,422 | 2.41 | 28.75 | 37.14 |
FAQ /wp-admin/edit.php?post_type=link_library_links&page=link-library-faq | 2,780 | 6.75 | 204.32 | 70.17 |
Tags /wp-admin/edit-tags.php?taxonomy=link_library_tags&post_type=link_library_links | 1,372 | 2.26 | 35.64 | 38.81 |
Stylesheet /wp-admin/edit.php?post_type=link_library_links&page=link-library-stylesheet | 1,554 | 4.27 | 98.81 | 37.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_link_library
- widget_theysaidso_widget
- LinkLibrary60Update
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/edit.php?post_type=link_library_links&page=link-library-settingssets
- > Notice in wp-content/plugins/link-library/link-library-admin.php+4366
Undefined index: rewritecategoriespage
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/link-library/captcha/easycaptcha.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/link-library/usersubmission.php:836
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/link-library/recaptcha/ReCaptcha/RequestMethod/SocketPost.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/link-library/link-library.php:40
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/link-library/recaptcha/ReCaptcha/RequestMethod/CurlPost.php:37
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/link-library/recaptcha/ReCaptcha/RequestMethod/Post.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (The Settings Panel used to configure the output of Link Library), #2 (A second sample output showing a list of links with RSS feed icons and RSS preview link.)
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
link-library/link-library.php Passed 13 tests
This is the main PHP file of "Link Library" version 7.5.13, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
48 characters long description:
Display links on pages with a variety of options
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin33,762 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 3,767 | 4,352 | 18,372 |
PO File | 8 | 4,431 | 6,551 | 10,088 |
JavaScript | 52 | 853 | 881 | 4,592 |
CSS | 8 | 129 | 43 | 621 |
XML | 2 | 1 | 9 | 72 |
JSON | 1 | 0 | 0 | 17 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 153)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 117.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 967.00 |
Average method complexity | 7.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 153.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 318 | |
▷ Static methods | 2 | 0.63% |
▷ Public methods | 318 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 66 | |
▷ Named functions | 64 | 96.97% |
▷ Anonymous functions | 2 | 3.03% |
Constants | 38 | |
▷ Global constants | 31 | 81.58% |
▷ Class constants | 7 | 18.42% |
▷ Public constants | 7 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
24 PNG files occupy 0.71MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/feed-icon-14x14.png | 0.67KB | 0.70KB | 0.00% |
icons/next-16x16.png | 0.34KB | 0.33KB | ▼ 2.01% |
icons/link-icon.png | 0.64KB | 0.69KB | 0.00% |
icons/AccessibeLogoLarge.png | 32.20KB | 11.32KB | ▼ 64.86% |
presets/Layout8-LinkMasonry.png | 128.74KB | 59.82KB | ▼ 53.54% |