78% seo-links-interlinking

Code Review | SEO Links Interlinking

WordPress plugin SEO Links Interlinking scored78%from 54 tests.

About plugin

  • Plugin page: seo-links-interli...
  • Plugin version: 1.7.3
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.2
  • WordPress version: 6.3.1
  • First release: Sep 7, 2021
  • Latest release: Sep 4, 2023
  • Number of updates: 18
  • Update frequency: every 41.8 days
  • Top authors: seomantis (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,480 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.17MB] [CPU: ▼2.70ms] Passed 4 tests

This is a short check of server-side resources used by SEO Links Interlinking
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1741.99 ▼1.50
Dashboard /wp-admin3.48 ▲0.1751.96 ▼0.58
Posts /wp-admin/edit.php3.59 ▲0.2351.67 ▼0.52
Add New Post /wp-admin/post-new.php6.06 ▲0.1892.28 ▼8.19
Media Library /wp-admin/upload.php3.40 ▲0.1737.90 ▲4.25
SEO Plugins /wp-admin/admin.php?page=wp-seo-plugins-login3.4136.46
Links /wp-admin/admin.php?page=seo-links3.3837.52

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for SEO Links Interlinking
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲3014.68 ▲0.451.82 ▼0.3043.24 ▼2.83
Dashboard /wp-admin2,222 ▲425.63 ▼0.0584.75 ▼11.2139.00 ▼2.00
Posts /wp-admin/edit.php2,130 ▲332.02 ▲0.0240.72 ▲5.6937.55 ▲1.84
Add New Post /wp-admin/post-new.php6,249 ▲4,72326.20 ▲2.97913.06 ▲218.3456.74 ▼16.64
Media Library /wp-admin/upload.php1,421 ▲214.19 ▼0.0995.32 ▼14.9341.67 ▼5.97
SEO Plugins /wp-admin/admin.php?page=wp-seo-plugins-login9392.0125.8025.44
Links /wp-admin/admin.php?page=seo-links9001.8125.8450.25

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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
Almost there! Just fix the following items
  • 2× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/seo-links-interlinking/view/search_console.php
    • > /wp-content/plugins/seo-links-interlinking/view/search_console_export.php
  • 5× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-links-interlinking/wp_seo_plugins.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/seo-links-interlinking/view/seo_links_settings.php:36
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-links-interlinking/view/settings.php:49
    • > PHP Warning
      Invalid argument supplied for foreach() in wp-content/plugins/seo-links-interlinking/view/search_console.php on line 208
    • > PHP Notice
      Undefined variable: rowData in wp-content/plugins/seo-links-interlinking/view/search_console.php on line 208

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Donate link: Invalid URI found ("")
The official readme.txt might help

seo-links-interlinking/scdata.php 85% from 13 tests

The main file in "SEO Links Interlinking" v. 1.7.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 145 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seo-links-interlinking.php" instead of "scdata.php")

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
No dangerous file extensions were detected2,081 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP91811761,963
CSS316115
JavaScript2263

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.34
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%
Functions31
▷ Named functions2890.32%
▷ Anonymous functions39.68%
Constants11
▷ Global constants11100.00%
▷ Class constants00.00%
▷ Public constants00.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 files were detected