homplexity-0.4.8.0: Haskell code quality tool

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Homplexity.Cyclomatic

Description

Computing cyclomatic complexity and branching depth.

Synopsis

Documentation

data Cyclomatic Source #

Represents cyclomatic complexity

Instances
Enum Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Eq Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Integral Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Num Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Ord Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Real Cyclomatic Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Show 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
Enum Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Eq Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Methods

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

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

Integral Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

Num Depth Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

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 #

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 #

Metric Depth Function Source # 
Instance details

Defined in Language.Haskell.Homplexity.Cyclomatic

depthT :: Proxy Depth Source #

For passing Depth type as parameter.