UMinho Haskell Libraries (1.0)ContentsIndex
Language.Haskell.Metrics
Portability portable
Stability experimental
Maintainer joost.visser@di.uminho.pt
Description
This module implements some metrics on Haskell sources.
Synopsis
systemMetrics :: [HsModule] -> [Metric]
moduleMetrics :: [HsModule] -> [GroupMetric]
runMetrics :: String -> FilePath -> IO ()
printMetricsCSV :: [GroupMetric] -> String
concatWithSep :: String -> [String] -> String
Documentation
systemMetrics :: [HsModule] -> [Metric]
Compute system-level metrics for a given list of modules.
moduleMetrics :: [HsModule] -> [GroupMetric]
Compute module-level metrics for a given list of modules.
runMetrics
:: StringSearch path
-> FilePathName of output file
-> IO ()
Run a metric report generator on all Haskell modules that can be found by import chasing from files in given directories.
printMetricsCSV :: [GroupMetric] -> String
Takes a list of pairs (filename and a list of group metrics) and creates a string representation of a Comma Separated Values file (CSV).
concatWithSep :: String -> [String] -> String
Concatenate strings with separator.
Produced by Haddock version 0.6