Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲2.09MB] [CPU: ▲17.07ms] Passed 4 tests
A check of server-side resources used by Link Juice Optimizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.57 ▲2.11 | 61.82 ▲18.67 |
Dashboard /wp-admin | 5.43 ▲2.13 | 71.76 ▲21.61 |
Posts /wp-admin/edit.php | 5.43 ▲2.07 | 70.21 ▲25.17 |
Add New Post /wp-admin/post-new.php | 8.01 ▲2.12 | 99.02 ▲11.21 |
Media Library /wp-admin/upload.php | 5.27 ▲2.05 | 52.62 ▲16.77 |
Server storage [IO: ▲8.68MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 480 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Link Juice Optimizer: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,160 ▲403 | 18.72 ▲3.93 | 5.85 ▲3.67 | 42.87 ▲0.80 |
Dashboard /wp-admin | 2,492 ▲304 | 9.27 ▲4.39 | 175.94 ▲57.95 | 41.37 ▼3.08 |
Posts /wp-admin/edit.php | 2,398 ▲309 | 6.15 ▲4.17 | 86.59 ▲47.02 | 35.27 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,588 ▲69 | 19.90 ▼3.24 | 709.45 ▲20.20 | 47.96 ▼5.99 |
Media Library /wp-admin/upload.php | 1,534 ▲143 | 6.62 ▲2.41 | 107.40 ▲5.45 | 41.48 ▼4.88 |
Link Juice Optimizer /wp-admin/crb_carbon_fields_container_link_juice_optimizer.php | 26 | 0.44 | 0.07 | 13.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 output text when accessed directly:
- > /wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 113× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/core/Container/Condition/User_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/core/Field/Broken_Field.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/templates/Container/term_meta.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Fulfillable\\Translator\\Array_Translator' not found in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/core/Container/Fulfillable/Translator/Json_Translator.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Parent_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/templates/Container/common/options-page.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Textarea_Field' not found in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/core/Field/Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Parent_Condition.php:28
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/core/Container/Block_Container.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/link-juice-optimizer/vendor/htmlburger/carbon-fields/templates/Container/comment_meta.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/crb_carbon_fields_container_link_juice_optimizer.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_link_juice_optimizer.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: internal linking, crawl budget, link juice, obfuscation
link-juice-optimizer/link-juice-optimizer.php 92% from 13 tests
"Link Juice Optimizer" version 2.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 146 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 plugin30,922 lines of code in 422 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 172 | 5,192 | 8,459 | 12,958 |
PHP | 157 | 3,030 | 7,796 | 11,479 |
PO File | 28 | 905 | 1,180 | 2,524 |
Sass | 48 | 339 | 0 | 1,769 |
CSS | 8 | 332 | 1,139 | 1,694 |
JSON | 4 | 0 | 0 | 371 |
Markdown | 3 | 24 | 0 | 68 |
XML | 2 | 0 | 0 | 59 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 11.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 131 | |
▷ Abstract classes | 11 | 8.40% |
▷ Concrete classes | 120 | 91.60% |
▷ Final classes | 1 | 0.83% |
Methods | 1,058 | |
▷ Static methods | 108 | 10.21% |
▷ Public methods | 857 | 81.00% |
▷ Protected methods | 180 | 17.01% |
▷ Private methods | 21 | 1.98% |
Functions | 109 | |
▷ Named functions | 27 | 24.77% |
▷ Anonymous functions | 82 | 75.23% |
Constants | 51 | |
▷ Global constants | 28 | 54.90% |
▷ Class constants | 23 | 45.10% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin