initVerifyInfo
:: Options -> VerifyInfo
|
addFunsToVerifyInfo
:: [AFuncDecl TypeExpr] -> VerifyInfo -> VerifyInfo
|
isContractOp
:: (String,String) -> Bool
Is an operation name the name of a contract or similar? |
isProperty
:: AFuncDecl TypeExpr -> Bool
Is a function declaration a property? |
initVState
:: VerifyInfo -> VState
|
readVerifyInfoRef
:: IORef VState -> IO VerifyInfo
Reads VerifyInfo from VState IORef. |
showStats
:: VState -> String
Shows the statistics in human-readable format. |
isVerified
:: VState -> Bool
Are all non-failing properties verified? |
addFailedFuncToStats
:: String -> String -> VState -> VState
Adds a possibly failing call in a functions and the called function. |
incNumAllInStats
:: VState -> VState
Increments the number of all tested functions. |
incNumNFCInStats
:: VState -> VState
Increments the number of operations with nonfail conditions. |
incPatTestInStats
:: VState -> VState
Increments the number of missing pattern tests. |
incFailTestInStats
:: VState -> VState
Increments the number of test of posibble failure calls. |
addProgToState
:: AProg TypeExpr -> VState -> VState
Adds a new typed FlatCurry program to the state. |
tdeclOf
:: VState -> (String,String) -> Maybe TypeDecl
Selects the type declaration of a type constructor from the state. |
Constructors:
VerifyInfo
:: Options -> [TAFuncDecl] -> [TAFuncDecl] -> [TAFuncDecl] -> [TAFuncDecl] -> VerifyInfo
Fields:
toolOpts
:: Options
allFuncs
:: [TAFuncDecl]
preConds
:: [TAFuncDecl]
postConds
:: [TAFuncDecl]
nfConds
:: [TAFuncDecl]
Constructors:
VState
:: VerifyInfo -> [(String,String)] -> Int -> Int -> Int -> Int -> [TAProg] -> VState
Fields:
trInfo
:: VerifyInfo
failedFuncs
:: [(String,String)]
numAllFuncs
:: Int
numNFCFuncs
:: Int
numPatTests
:: Int
numFailTests
:: Int
currTAProgs
:: [TAProg]
|
|
Is an operation name the name of a contract or similar? |
Is a function declaration a property? |
|
Reads VerifyInfo from VState IORef. |
Are all non-failing properties verified?
|
Adds a possibly failing call in a functions and the called function.
|
Increments the number of all tested functions. |
Increments the number of operations with nonfail conditions. |
Increments the number of missing pattern tests. |
Increments the number of test of posibble failure calls. |
Adds a new typed FlatCurry program to the state.
|