10% seo-internal-links-revisited

Code Review | SEO Internal Links Revisited

WordPress plugin SEO Internal Links Revisited scored10%from 54 tests.

About plugin

  • Plugin page: seo-internal-link...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.7
  • WordPress version: 6.3.1
  • First release: Mar 21, 2017
  • Latest release: Mar 24, 2017
  • Number of updates: 3
  • Update frequency: every 1.0 days
  • Top authors: vietdex (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active /2,394 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
  • The plugin did not install without errors
    • > Deprecated in wp-content/plugins/seo-internal-links-revisited/seo-links.php+648
    Array and string offset access syntax with curly braces is deprecated

Server metrics [RAM: ▼0.94MB] [CPU: ▼31.97ms] Passed 4 tests

This is a short check of server-side resources used by SEO Internal Links Revisited
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.58 ▼1.16
Dashboard /wp-admin3.00 ▼0.3024.41 ▼23.99
Posts /wp-admin/edit.php3.00 ▼0.3525.43 ▼23.07
Add New Post /wp-admin/post-new.php3.00 ▼2.8824.86 ▼67.50
Media Library /wp-admin/upload.php3.00 ▼0.2220.01 ▼13.32

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
SEOLinks
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for SEO Internal Links Revisited
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.29 ▼1.461.66 ▲0.0142.53 ▼4.69
Dashboard /wp-admin2,210 ▲224.85 ▼1.03109.58 ▲7.1541.03 ▼1.14
Posts /wp-admin/edit.php2,093 ▲42.00 ▼0.0439.11 ▼2.1135.04 ▲0.66
Add New Post /wp-admin/post-new.php1,536 ▲318.30 ▼4.95624.20 ▼67.0763.40 ▲8.30
Media Library /wp-admin/upload.php1,395 ▲74.14 ▼0.07101.03 ▼3.2243.90 ▼4.72
SEO Iinternal Links /wp-admin/seo-links.php260.440.1014.28

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Uninstall procedure validation failed for this plugin
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • SEOLinks
    • theysaidso_admin_options
    • 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 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-internal-links-revisited/seo-links.php:397

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
    • > GET request to /wp-admin/seo-links.php
    • > Network (severe)
    wp-admin/seo-links.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
The official readme.txt is a good inspiration

seo-internal-links-revisited/seo-links.php 92% from 13 tests

The main file in "SEO Internal Links Revisited" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("seo-internal-links-revisited.php" instead of "seo-links.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin471 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP114444471

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity126.00
▷ Minimum class complexity126.00
▷ Maximum class complexity126.00
Average method complexity4.78
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions571.43%
▷ Anonymous functions228.57%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin