gitlog_to_hdsmj: Transforms a gitlog table to a historical DSM JSON file.

gitlog_to_hdsmjR Documentation

Transforms a gitlog table to a historical DSM JSON file.

Description

Converts a gitlog table into an *-hdsm.json. In the hdsm.json, the Variables are all files/methods or any variables under analysis (rows/columns in dependency matrix) and the Cells (matrix cell) contain all the relations of variable (src & dest) pairs. The Co-change is the number of times the src & dest were committed together.

Usage

gitlog_to_hdsmj(project_gitlog, hdsmj_path, is_sorted = FALSE)

Arguments

project_gitlog

parsed gitlog table created by parse_gitlog

hdsmj_path

path to save output file

is_sorted

whether the json is sorted by src and dest

Value

the hdsmj_path

See Also

dv8_dsmj_to_dsmb to convert to '*-hdsm.dv8-dsm' and dv8_hdsmb_sdsmb_to_mdsmb to merge DSMs into '*-merge.dv8-dsm'.

Other dv8: dependencies_to_sdsmj(), dv8_clsxb_to_clsxj(), dv8_clsxj_to_clsxb(), dv8_depends_to_sdsmj(), dv8_dsmj_to_dsmb(), dv8_hdsmb_sdsmb_to_mdsmb(), dv8_mdsmb_to_flaws(), graph_to_dsmj(), parse_dv8_architectural_flaws(), parse_dv8_clusters(), transform_dependencies_to_sdsmj(), transform_gitlog_to_hdsmj(), transform_temporal_gitlog_to_adsmj()


sailuh/kaiaulu documentation built on Dec. 10, 2024, 3:14 a.m.