constants

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ToolName is the name of this tool
	ToolName = "jscan"

	// ConfigFileName is the default config file name
	ConfigFileName = ".jscan.toml"

	// EnvVarPrefix is the prefix for environment variables
	EnvVarPrefix = "JSCAN"
)

Tool name and related constants

View Source
const (
	AnalysisComplexity = "complexity"
	AnalysisDeadCode   = "deadcode"
	AnalysisClones     = "clones"
	AnalysisCBO        = "cbo"
	AnalysisSystem     = "system"
)

Analysis type constants

View Source
const (
	OutputFormatText = "text"
	OutputFormatJSON = "json"
	OutputFormatHTML = "html"
	OutputFormatCSV  = "csv"
)

Output format constants

View Source
const (
	DefaultType1CloneThreshold = 0.98
	DefaultType2CloneThreshold = 0.95
	DefaultType3CloneThreshold = 0.85
	DefaultType4CloneThreshold = 0.70
)

Clone detection threshold constants

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL