tracker

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CITracker

type CITracker struct {
	LoadedQueries      int
	ExecutedQueries    int
	FoundFiles         int
	ParsedFiles        int
	FailedSimilarityID int
	// contains filtered or unexported fields
}

CITracker contains information of how many queries were loaded and executed and how many files were found and executed

func NewTracker added in v1.2.0

func NewTracker(outputLines int) (*CITracker, error)

NewTracker will create a new instance of a tracker with the number of lines to display in results output number of lines can not be smaller than 1

func (*CITracker) FailedComputeSimilarityID added in v1.1.2

func (c *CITracker) FailedComputeSimilarityID()

FailedComputeSimilarityID - queries that failed to compute similarity ID

func (*CITracker) FailedDetectLine added in v1.1.2

func (c *CITracker) FailedDetectLine()

FailedDetectLine - queries that fail to detect line are counted as failed to execute queries

func (*CITracker) GetOutputLines added in v1.2.0

func (c *CITracker) GetOutputLines() int

GetOutputLines returns the number of lines to display in results output

func (*CITracker) TrackFileFound

func (c *CITracker) TrackFileFound()

TrackFileFound adds a found file to be scanned

func (*CITracker) TrackFileParse

func (c *CITracker) TrackFileParse()

TrackFileParse adds a successful parsed file to be scanned

func (*CITracker) TrackQueryExecution

func (c *CITracker) TrackQueryExecution(queryAggregation int)

TrackQueryExecution adds a query executed

func (*CITracker) TrackQueryLoad

func (c *CITracker) TrackQueryLoad(queryAggregation int)

TrackQueryLoad adds a loaded query

Jump to

Keyboard shortcuts

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