67% seo-automated-link-building

Code Review | Internal Links Manager

WordPress plugin Internal Links Manager scored67%from 54 tests.

About plugin

  • Plugin page: seo-automated-lin...
  • Plugin version: 2.4.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.2
  • WordPress version: 6.3.1
  • First release: Jan 13, 2019
  • Latest release: Jun 28, 2023
  • Number of updates: 82
  • Update frequency: every 19.9 days
  • Top authors: webraketen (100%)

Code review

54 tests

User reviews

26 reviews

Install metrics

10,000+ active /110,834 total downloads

Benchmarks

Plugin footprint 83% 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.42MB] [CPU: ▼1.11ms] Passed 4 tests

This is a short check of server-side resources used by Internal Links Manager
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /4.13 ▲0.6639.70 ▼1.87
Dashboard /wp-admin3.69 ▲0.3948.41 ▲2.94
Posts /wp-admin/edit.php3.74 ▲0.3848.73 ▲8.35
Add New Post /wp-admin/post-new.php6.50 ▲0.6193.59 ▼13.87
Media Library /wp-admin/upload.php3.55 ▲0.3244.20 ▲9.34
All Links /wp-admin/admin.php?page=seo-automated-link-building-all-links3.7837.11
Settings /wp-admin/admin.php?page=seo-automated-link-building-settings3.5335.87
Import + Export /wp-admin/admin.php?page=seo-automated-link-building-import-links3.5233.98
Add New Link /wp-admin/admin.php?page=seo-automated-link-building-add-link3.5932.73
Statistic /wp-admin/admin.php?page=seo-automated-link-building-statistic3.7036.31

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 81 new files
Database: 2 new tables, 8 new options
New tables
wp_seo_automated_link_building_statistic
wp_seo_automated_link_building
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
seo-automated-link-building_settings
db_upgraded
widget_recent-comments
seo-automated-link-building_db_version
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Internal Links Manager
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,947 ▲17613.96 ▼0.348.12 ▲6.0337.36 ▼7.85
Dashboard /wp-admin2,244 ▲594.96 ▲0.0495.32 ▼7.4968.75 ▲32.24
Posts /wp-admin/edit.php2,127 ▲352.02 ▲0.0236.80 ▼3.5934.11 ▼0.79
Add New Post /wp-admin/post-new.php1,698 ▲15722.25 ▲3.95774.28 ▲160.9957.93 ▲5.87
Media Library /wp-admin/upload.php1,417 ▲294.10 ▼0.06103.50 ▼4.1453.42 ▲9.14
All Links /wp-admin/admin.php?page=seo-automated-link-building-all-links1,0991.7325.1928.16
Settings /wp-admin/admin.php?page=seo-automated-link-building-settings9481.9627.3828.31
Import + Export /wp-admin/admin.php?page=seo-automated-link-building-import-links8911.9827.3230.56
Add New Link /wp-admin/admin.php?page=seo-automated-link-building-add-link1,1131.7926.1834.25
Statistic /wp-admin/admin.php?page=seo-automated-link-building-statistic9654.54129.7028.57

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
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 7 options in the database
    • theysaidso_admin_options
    • seo-automated-link-building_settings
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/admin.php?page=seo-automated-link-building-add-link
    • > Notice in wp-content/plugins/seo-automated-link-building/src/templates/edit.php+41
    Undefined variable:

SRP 0% 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
Almost there! Just fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/seo-automated-link-building/src/templates/edit.php
  • 119× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function describe() in wp-content/plugins/seo-automated-link-building/vendor/friedolinfoerder/html-changer/spec/filter.spec.php:5
    • > PHP Notice
      Undefined variable: availablePostTypes in wp-content/plugins/seo-automated-link-building/src/templates/settings.php on line 46
    • > PHP Notice
      Undefined variable: postTypesLabel in wp-content/plugins/seo-automated-link-building/src/templates/settings.php on line 44
    • > PHP Notice
      Undefined variable: inputDescription in wp-content/plugins/seo-automated-link-building/src/templates/settings.php on line 30
    • > PHP Notice
      Undefined variable: excludeExample in wp-content/plugins/seo-automated-link-building/src/templates/settings.php on line 55
    • > PHP Warning
      join(): Invalid arguments passed in wp-content/plugins/seo-automated-link-building/src/templates/settings.php on line 46
    • > PHP Notice
      Undefined variable: shouldDisplayPageInput in wp-content/plugins/seo-automated-link-building/src/templates/edit.php on line 32
    • > PHP Notice
      Undefined variable: caseSensitiveHeadline in wp-content/plugins/seo-automated-link-building/src/templates/edit.php on line 65
    • > PHP Notice
      Undefined variable: inputDescription in wp-content/plugins/seo-automated-link-building/src/templates/settings.php on line 38
    • > PHP Notice
      Undefined variable: activeLinksCount in wp-content/plugins/seo-automated-link-building/src/templates/list.php on line 28

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
    • > GET request to /wp-admin/admin.php?page=seo-automated-link-building-statistic
    • > Console-api (warning) in wp-content/plugins/seo-automated-link-building/js/external/Chart.bundle.min.js?ver=6.3.1+6:28919
    time scale: \"time.format\" is deprecated. Please use \"time.parser\" instead

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: seo, search engine optimization, user experience, internal links, link building

seo-automated-link-building/seo-automated-link-building.php Passed 13 tests

The entry point to "Internal Links Manager" version 2.4.2 is a PHP file that has certain tags in its header comment area
28 characters long description:
Build internal links easily.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin6,874 lines of code in 70 files:
LanguageFilesBlank linesComment linesLines of code
PHP451,0501,8515,605
Markdown2710501
JavaScript121712292
PO File19811212
JSON400181
CSS62083

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity24.48
▷ Minimum class complexity1.00
▷ Maximum class complexity132.00
Average method complexity2.71
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces7
Interfaces2
Traits0
Classes25
▷ Abstract classes14.00%
▷ Concrete classes2496.00%
▷ Final classes00.00%
Methods338
▷ Static methods5215.38%
▷ Public methods25675.74%
▷ Protected methods5716.86%
▷ Private methods257.40%
Functions95
▷ Named functions11.05%
▷ Anonymous functions9498.95%
Constants4
▷ Global constants125.00%
▷ Class constants375.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/webraketen-icon-gruen.png1.29KB1.33KB0.00%