sarif-0.1: SARIF implementation for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.SARIF.Result

Description

Provides the Result type which represents results of a static analysis tool.

Synopsis

Documentation

data Level Source #

A Level value represents the severity of a result.

Constructors

None

The concept of “severity” does not apply.

Note

A minor problem or an opportunity to improve the code was found.

Warning

A problem was found.

Error

A serious problem was found.

Instances

Instances details
FromJSON Level Source # 
Instance details

Defined in Data.SARIF.Level

ToJSON Level Source # 
Instance details

Defined in Data.SARIF.Level

Show Level Source # 
Instance details

Defined in Data.SARIF.Level

Methods

showsPrec :: Int -> Level -> ShowS #

show :: Level -> String #

showList :: [Level] -> ShowS #

Eq Level Source # 
Instance details

Defined in Data.SARIF.Level

Methods

(==) :: Level -> Level -> Bool #

(/=) :: Level -> Level -> Bool #

data Result Source #

Represents the results of a run of a static analysis tool.

Constructors

MkResult 

Fields

Instances

Instances details
FromJSON Result Source # 
Instance details

Defined in Data.SARIF.Result

ToJSON Result Source # 
Instance details

Defined in Data.SARIF.Result

Show Result Source # 
Instance details

Defined in Data.SARIF.Result

Eq Result Source # 
Instance details

Defined in Data.SARIF.Result

Methods

(==) :: Result -> Result -> Bool #

(/=) :: Result -> Result -> Bool #