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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.39MB] [CPU: ▲17.88ms] Passed 4 tests
Server-side resources used by Broken Link Checker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.35 ▲2.88 | 58.08 ▲18.65 |
Dashboard /wp-admin | 6.87 ▲3.57 | 64.99 ▲14.89 |
Posts /wp-admin/edit.php | 6.92 ▲3.56 | 64.52 ▲20.16 |
Add New Post /wp-admin/post-new.php | 9.42 ▲3.54 | 103.40 ▲17.82 |
Media Library /wp-admin/upload.php | 6.80 ▲3.57 | 59.93 ▲28.94 |
Cloud [new] /wp-admin/admin.php?page=blc_dash | 6.82 | 56.69 |
Local [old] /wp-admin/admin.php?page=blc_local | 7.07 | 73.73 |
Server storage [IO: ▲5.47MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 313 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_blc_synch |
wp_blc_links |
wp_blc_filters |
wp_blc_instances |
New WordPress options |
---|
blc_installation_log |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
wsblc_options |
widget_recent-comments |
widget_theysaidso_widget |
blc_activation_enabled |
can_compress_scripts |
Browser metrics Passed 4 tests
Broken Link Checker: 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 / | 2,941 ▲180 | 14.74 ▲0.38 | 1.76 ▼0.04 | 42.28 ▼1.73 |
Dashboard /wp-admin | 2,348 ▲168 | 5.81 ▲0.16 | 90.91 ▼5.79 | 45.09 ▲2.47 |
Posts /wp-admin/edit.php | 2,201 ▲101 | 2.03 ▲0.02 | 35.67 ▼0.13 | 38.02 ▲3.18 |
Add New Post /wp-admin/post-new.php | 1,558 ▲27 | 23.12 ▲0.09 | 679.56 ▲20.50 | 51.76 ▼3.17 |
Media Library /wp-admin/upload.php | 1,501 ▲98 | 4.26 ▲0.16 | 96.15 ▼4.75 | 43.32 ▲1.24 |
Cloud [new] /wp-admin/admin.php?page=blc_dash | 1,145 | 3.67 | 69.72 | 84.53 |
Local [old] /wp-admin/admin.php?page=blc_local | 1,448 | 3.71 | 72.17 | 71.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/broken-link-checker/app/emails/recipient-activation/templates/email-body-markup.php
- > /wp-content/plugins/broken-link-checker/app/emails/scan-report/templates/email-body-markup.php
- > /wp-content/plugins/broken-link-checker/app/emails/recipient-activation/templates/index.php
- > /wp-content/plugins/broken-link-checker/app/emails/scan-report/templates/index.php
- 52× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
require(): Failed opening required 'BLC_DIRECTORY_LEGACY/includes/screen-options/screen-options.php' (include_path='.:/usr/share/php') in wp-content/plugins/broken-link-checker/legacy/core/core.php on line 23
- > PHP Fatal error
require_once(): Failed opening required 'BLC_DIRECTORY_LEGACY/includes/token-bucket.php' (include_path='.:/usr/share/php') in wp-content/plugins/broken-link-checker/legacy/modules/checkers/http.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'blcParser' not found in wp-content/plugins/broken-link-checker/legacy/modules/extras/embed-parser-base.php:20
- > PHP Fatal error
Uncaught Error: Class 'WPMUDEV_BLC\\Core\\Utils\\Abstracts\\Base' not found in wp-content/plugins/broken-link-checker/app/broken-links-actions/processors/class-main.php:28
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/broken-link-checker/legacy/includes/admin/search-form.php on line 2
- > PHP Warning
Use of undefined constant BLC_DIRECTORY_LEGACY - assumed 'BLC_DIRECTORY_LEGACY' (this will throw an Error in a future version of PHP) in wp-content/plugins/broken-link-checker/legacy/includes/utility-class.php on line 27
- > PHP Warning
include(BLC_DIRECTORY_LEGACY/idn/idna_convert.class.php): failed to open stream: No such file or directory in wp-content/plugins/broken-link-checker/legacy/includes/utility-class.php on line 27
- > PHP Fatal error
Uncaught Error: Class 'blcContainer' not found in wp-content/plugins/broken-link-checker/legacy/modules/containers/comment.php:14
- > PHP Fatal error
Uncaught Error: Class 'WPMUDEV_BLC\\App\\Options\\Settings\\Model' not found in wp-content/plugins/broken-link-checker/legacy/init.php:7
- > PHP Fatal error
Uncaught Error: Class 'blcParser' not found in wp-content/plugins/broken-link-checker/legacy/modules/extras/embed-parser-base.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in broken-link-checker/assets to your readme.txt
broken-link-checker/broken-link-checker.php Passed 13 tests
The entry point to "Broken Link Checker" version 2.2.3 is a PHP file that has certain tags in its header comment area
85 characters long description:
Checks your blog for broken links and notifies you on the dashboard if any are found.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin52,113 lines of code in 231 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 30 | 9,993 | 14,392 | 25,299 |
PHP | 158 | 5,381 | 12,110 | 24,696 |
JavaScript | 28 | 184 | 227 | 1,058 |
CSS | 10 | 166 | 30 | 560 |
XML | 2 | 82 | 0 | 246 |
SVG | 1 | 0 | 0 | 190 |
JSON | 1 | 0 | 0 | 62 |
Sass | 1 | 1 | 1 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 19.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 412.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 50 | |
Interfaces | 2 | |
Traits | 6 | |
Classes | 144 | |
▷ Abstract classes | 11 | 7.64% |
▷ Concrete classes | 133 | 92.36% |
▷ Final classes | 4 | 3.01% |
Methods | 1,150 | |
▷ Static methods | 161 | 14.00% |
▷ Public methods | 1,008 | 87.65% |
▷ Protected methods | 72 | 6.26% |
▷ Private methods | 70 | 6.09% |
Functions | 64 | |
▷ Named functions | 33 | 51.56% |
▷ Anonymous functions | 31 | 48.44% |
Constants | 32 | |
▷ Global constants | 31 | 96.88% |
▷ Class constants | 1 | 3.12% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
41 PNG files occupy 0.23MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
legacy/images/googlevideo-embed.png | 3.47KB | 1.04KB | ▼ 70.14% |
assets/images/footer-slogan.png | 8.38KB | 3.32KB | ▼ 60.43% |
assets/images/close-icon.png | 0.28KB | 0.21KB | ▼ 24.74% |
assets/images/blc-logo-white-28x28.png | 0.66KB | 0.54KB | ▼ 18.49% |
assets/images/dummy-avatar.png | 0.60KB | 0.40KB | ▼ 33.33% |