homplexity-0.4.8.1: Haskell code quality tool
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Haskell.Homplexity.Cyclomatic

Description

Computing cyclomatic complexity and branching depth.

Synopsis

Documentation

data Cyclomatic Source #

Represents cyclomatic complexity

Instances

Instances details
Enum Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Num Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Integral Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Real Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

toRational :: Cyclomatic -> Rational

Show Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

showsPrec :: Int -> Cyclomatic -> ShowS

show :: Cyclomatic -> String

showList :: [Cyclomatic] -> ShowS

Eq Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

(==) :: Cyclomatic -> Cyclomatic -> Bool

(/=) :: Cyclomatic -> Cyclomatic -> Bool

Ord Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Metric Cyclomatic Function Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

cyclomaticT :: Proxy Cyclomatic Source #

For passing Cyclomatic type as parameter.

data Depth Source #

Decision depth

Instances

Instances details
Enum Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Num Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

(+) :: Depth -> Depth -> Depth

(-) :: Depth -> Depth -> Depth

(*) :: Depth -> Depth -> Depth

negate :: Depth -> Depth

abs :: Depth -> Depth

signum :: Depth -> Depth

fromInteger :: Integer -> Depth

Integral Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

quot :: Depth -> Depth -> Depth

rem :: Depth -> Depth -> Depth

div :: Depth -> Depth -> Depth

mod :: Depth -> Depth -> Depth

quotRem :: Depth -> Depth -> (Depth, Depth)

divMod :: Depth -> Depth -> (Depth, Depth)

toInteger :: Depth -> Integer

Real Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

toRational :: Depth -> Rational

Show Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

showsPrec :: Int -> Depth -> ShowS

show :: Depth -> String

showList :: [Depth] -> ShowS

Eq Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

(==) :: Depth -> Depth -> Bool

(/=) :: Depth -> Depth -> Bool

Ord Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

compare :: Depth -> Depth -> Ordering

(<) :: Depth -> Depth -> Bool

(<=) :: Depth -> Depth -> Bool

(>) :: Depth -> Depth -> Bool

(>=) :: Depth -> Depth -> Bool

max :: Depth -> Depth -> Depth

min :: Depth -> Depth -> Depth

Metric Depth Function Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

depthT :: Proxy Depth Source #

For passing Depth type as parameter.