89% broken-link-finder

Code Review | Broken Link Checker | Finder

WordPress plugin Broken Link Checker | Finder scored89%from 54 tests.

About plugin

Code review

54 tests

User reviews

14 reviews

Install metrics

4,000+ active /60,489 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.30MB] [CPU: ▲2.71ms] Passed 4 tests

Analyzing server-side resources used by Broken Link Checker | Finder
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.92 ▲0.4641.90 ▲3.02
Dashboard /wp-admin3.61 ▲0.3148.64 ▲1.60
Posts /wp-admin/edit.php3.69 ▲0.3453.14 ▲3.98
Add New Post /wp-admin/post-new.php6.18 ▲0.2988.96 ▲2.24
Media Library /wp-admin/upload.php3.50 ▲0.2741.12 ▲6.37
Broken Link Scan /wp-admin/admin.php?page=moblc_manual3.4839.78
Report /wp-admin/admin.php?page=moblc_report3.5638.98
Troubleshoot /wp-admin/admin.php?page=moblc_troubleshooting3.4835.86
Settings /wp-admin/admin.php?page=moblc_settings3.4833.36

Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 41 new files
Database: 2 new tables, 6 new options
New tables
wp_moblc_scan_status_table
wp_moblc_link_details_table
New WordPress options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Broken Link Checker | Finder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,866 ▲13113.14 ▼1.684.81 ▲2.9542.70 ▼5.60
Dashboard /wp-admin2,247 ▲595.90 ▲1.00113.63 ▲3.0840.60 ▼1.81
Posts /wp-admin/edit.php2,133 ▲442.07 ▲0.0741.83 ▲1.3435.51 ▼0.64
Add New Post /wp-admin/post-new.php1,561 ▲4723.48 ▲5.93690.65 ▲34.1954.20 ▲3.81
Media Library /wp-admin/upload.php1,429 ▲444.28 ▲0.06105.55 ▲9.3746.95 ▲5.38
Broken Link Scan /wp-admin/admin.php?page=moblc_manual8841.9334.2338.90
Report /wp-admin/admin.php?page=moblc_report1,0572.6747.8262.48
Troubleshoot /wp-admin/admin.php?page=moblc_troubleshooting9542.0728.0132.49
Settings /wp-admin/admin.php?page=moblc_settings8792.0828.6226.42

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
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 30 tag instead of maximum 10
Please take inspiration from this readme.txt

broken-link-finder/miniorange-broken-link-settings.php 85% from 13 tests

Analyzing the main PHP file in "Broken Link Checker | Finder" version 2.5.0
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 159 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("broken-link-finder.php" instead of "miniorange-broken-link-settings.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected4,005 lines of code in 39 files:
LanguageFilesBlank linesComment linesLines of code
PHP332936572,289
CSS330601,548
JavaScript3317168

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity24.44
▷ Minimum class complexity1.00
▷ Maximum class complexity116.00
Average method complexity3.57
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods82
▷ Static methods33.66%
▷ Public methods82100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants266.67%
▷ Class constants133.33%
▷ Public constants1100.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
No PNG images were found in this plugin