78% backlink-checker

Code Review | Backlink Checker

WordPress plugin Backlink Checker scored78%from 54 tests.

About plugin

  • Plugin page: backlink-checker
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.2.2
  • WordPress version: 6.3.1
  • First release: Aug 1, 2015
  • Latest release: Aug 15, 2019
  • Number of updates: 7
  • Update frequency: every 210.7 days
  • Top authors: sunnyverma1984 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /7,399 total downloads

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: ▲0.03MB] [CPU: ▼10.14ms] Passed 4 tests

A check of server-side resources used by Backlink Checker
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0242.33 ▼0.41
Dashboard /wp-admin3.34 ▲0.0351.40 ▼2.92
Posts /wp-admin/edit.php3.39 ▲0.0345.27 ▼0.39
Add New Post /wp-admin/post-new.php5.92 ▲0.0391.37 ▼21.86
Media Library /wp-admin/upload.php3.26 ▲0.0337.14 ▼15.35

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Backlink Checker: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲9514.32 ▼0.053.01 ▲1.1946.13 ▲7.00
Dashboard /wp-admin2,222 ▲404.85 ▼1.05104.31 ▼4.0141.54 ▼7.19
Posts /wp-admin/edit.php2,105 ▲192.00 ▲0.0239.20 ▼0.1733.70 ▼1.52
Add New Post /wp-admin/post-new.php1,546 ▲2723.61 ▲0.45650.49 ▼46.9266.92 ▲4.54
Media Library /wp-admin/upload.php1,407 ▲194.22 ▼0.02113.82 ▲6.9044.12 ▼3.72
Backlink Checker /wp-admin/backlink-checker.php260.440.1116.25

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 50% from 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 50% from 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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/backlink-checker/backlink-checker.php:14

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
    • > GET request to /wp-admin/backlink-checker.php
    • > Network (severe)
    wp-admin/backlink-checker.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

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: statistics, backlink, seo, backlink checker, inbound links...

backlink-checker/backlink-checker.php 92% from 13 tests

The primary PHP file in "Backlink Checker" version 1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

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
Success! There were no dangerous files found in this plugin104 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1319104

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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