68% bilingual-linker

Code Review | Bilingual Linker

WordPress plugin Bilingual Linker scored68%from 54 tests.

About plugin

  • Plugin page: bilingual-linker
  • Plugin version: 2.3.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.2.2
  • WordPress version: 6.3.1
  • First release: Oct 14, 2010
  • Latest release: Aug 3, 2023
  • Number of updates: 66
  • Update frequency: every 70.9 days
  • Top authors: jackdewey (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

100+ active /11,023 total downloads


Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.17MB] [CPU: ▼5.87ms] Passed 4 tests

This is a short check of server-side resources used by Bilingual Linker
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1341.33 ▼1.41
Dashboard /wp-admin3.52 ▲0.1750.03 ▼3.96
Posts /wp-admin/edit.php3.63 ▲0.2347.99 ▼4.26
Add New Post /wp-admin/post-new.php6.12 ▲0.1988.12 ▼13.85
Media Library /wp-admin/upload.php3.44 ▲0.1739.68 ▲2.96

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: 1 new table, 7 new options
New tables
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Bilingual Linker
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲4114.35 ▼0.051.74 ▲0.1539.81 ▲1.08
Dashboard /wp-admin2,203 ▲265.59 ▼0.0685.32 ▼6.9540.30 ▼2.64
Posts /wp-admin/edit.php2,105 ▲52.03 ▼0.0135.49 ▼1.1732.43 ▼2.55
Add New Post /wp-admin/post-new.php6,240 ▲4,71426.13 ▲3.01997.83 ▲324.2962.70 ▲11.75
Media Library /wp-admin/upload.php1,408 ▲84.09 ▼0.11102.37 ▼8.4247.68 ▲1.14
Bilingual Linker /wp-admin/bilingual-linker.php260.420.1115.29

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie tables were found after uninstall: 1 table
    • wp_categorymeta
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_recent-posts
    • BilingualLinkerGeneral
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 50% 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 50% 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
  • 3× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATH/wp-admin/includes/template.php' (include_path='.:/usr/share/php') in wp-content/plugins/bilingual-linker/bilingual-linker.php on line 11
    • > PHP Warning
      require_once(ABSPATH/wp-admin/includes/template.php): failed to open stream: No such file or directory in wp-content/plugins/bilingual-linker/bilingual-linker.php on line 11
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bilingual-linker/bilingual-linker.php on line 11

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
    • > GET request to /wp-admin/bilingual-linker.php
    • > Network (severe)
    wp-admin/bilingual-linker.php - Failed to load resource: the server responded with a status of 404 (Not Found)


Plugin configuration Passed 29 tests

readme.txt Passed 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
3 plugin tags: link, bilingual, translation

bilingual-linker/bilingual-linker.php Passed 13 tests

The main PHP file in "Bilingual Linker" ver. 2.3.7 adds more information about the plugin and also serves as the entry point for this plugin
81 characters long description:
Allows for the storage and retrieve of custom links for translation of post/pages

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin794 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

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.56
Average class complexity56.00
▷ Minimum class complexity56.00
▷ Maximum class complexity56.00
Average method complexity5.23
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions7100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin