HaskellAnalysisProgram: Haskell source code analysis program

[ apache, program, source-code-analysis ] [ Propose Tags ]

The Haskell analysis program is a prototype Haskell source code analyzer. It offers functionality to convert Haskell source code into an equivalent meta-model. It supports the calculation of three structural metrics, module size (LOC), module cohesion (LCOM) and module coupling (CBO). Several aggregation methods are supported, such as average, median, Gini coefficient and ideal value deviation.


[Skip to Readme]
Versions [faq] 0.1.0
Change log ChangeLog.md
Dependencies base (>=4.9.1 && <5), bytestring (==0.10.*), cassava (==0.5.*), containers (==0.6.*), csv (>=0.1.2 && <0.2), directory (==1.3.*), fgl (==5.7.*), filepath (>=1.4.1 && <1.5), graphviz (>=2999.20.0 && <2999.21), haskell-src-exts (==1.20.*), pretty (>=1.1.3 && <1.2), split (>=0.2.3 && <0.3), syb (==0.7.*), text (>=1.2.3 && <1.3), vector (>=0.12.0 && <0.13) [details]
License Apache-2.0
Copyright 2019 Sander Kamps
Author Henrie Vos, Sander Kamps
Maintainer sanderkamps79@gmail.com
Category Source Code Analysis
Home page https://SaKa1979@bitbucket.org/SaKa1979/haskellanalysisprogram#readme
Bug tracker https://SaKa1979@bitbucket.org/SaKa1979/haskellanalysisprogram/issues
Source repo head: git clone https://SaKa1979@bitbucket.org/SaKa1979/haskellanalysisprogram
Uploaded by BastiaanHeeren at 2020-07-13T06:55:32Z
Distributions NixOS:0.1.0
Executables HaskellAnalysisProgram
Downloads 45 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2020-07-13 [all 2 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for HaskellAnalysisProgram-0.1.0

[back to package description]

DESCRIPTION: The Haskell analysis program is a prototype Haskell source code analyzer. It offers functionality to convert Haskell source code into an equivalent meta-model. It supports the calculation of three structural metrics, module size (LOC), module cohesion (LCOM) and module coupling (CBO). Several aggregation methods are supported, such as average, median, Gini coefficient and ideal value deviation.

This software is developed as part of the research described in the paper "Assessing the quality of evolving Haskell systems by measuring structural inequality", published in the proceedings of the ACM SIGPLAN Haskell Symposium 2020 conference. https://doi.org/10.1145/3406088.3409014

EXECUTABLE: Currently the application 'looks' for the project-to-analyse in the <project-root>/dataset/input folder. Therefore, the HaskellAnalysisProgram executable must be run from the <project-root> location. The project-to-analyse must be entered into the <project-root>/dataset/input folder. The analysis start by calling; HaskellAnalysisProgram <project-to-analyse> (e.g., HaskellAnalysisProgram programX). Run HaskellAnalysisProgram without arguments to see the various options to use the HaskellAnalysisProgram.

AUTHORS: Henrie Vos Sander Kamps

CREDITS: Bastiaan Heeren