Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.7 KB

alexkohler.md

File metadata and controls

70 lines (46 loc) · 1.7 KB

Configuration for alexkohler

alexkohler is a collection of analyzer tools by Alex Kohler

Supported environments/languages

  • GO

Configuration

var purpose type default
SCA_BLACKLIST_alexkohler Blacklist filter for this tool space-separated-list "linux-*"
SCA_ALEXKOHLER_EXTRA_FATAL Extra error-IDs leading to build termination when found space-separated-list ""
SCA_ALEXKOHLER_EXTRA_SUPPRESS Extra error-IDs to be suppressed space-separated-list ""
SCA_ALEXKOHLER_FILE_FILTER List of file-extensions to be checked space-separated-list ".go"
SCA_ALEXKOHLER_MODULES List of tools to run space-separated-list "noret nargs nakedret dogsled prealloc identypo unimport"

Supports

  • suppression of IDs
  • terminate build on fatal
  • run on recipe
  • run on image
  • run with SCA-layer default settings (see SCA_AVAILABLE_MODULES)

Requires

  • requires online access

Known error-IDs

  • alexkohler.alexkohler.noret
  • alexkohler.alexkohler.nargs
  • alexkohler.alexkohler.nakedret
  • alexkohler.alexkohler.dogsled
  • alexkohler.alexkohler.prealloc
  • alexkohler.alexkohler.identypo
  • alexkohler.alexkohler.unimport

Checking scope

  • security
  • functional defects
  • compliance
  • style issues

Statistics

  • ⬛⬛⬛⬛⬛⬛⬛⬜⬜⬜ 07/10 Build Speed
  • ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 10/10 Execution Speed
  • ⬛⬛⬛⬛⬛⬛⬛⬛⬜⬜ 08/10 Quality

Score mapping

Error considered as security relevant

  • n.a.

Error considered as functional defect

  • n.a.

Error consired as compliance issue

  • n.a.

Error considered as style issue

  • alexkohler.alexkohler.*