transform_temporal_gitlog_to_adsmj: Transform parsed git repo into an author dsm.json file.

View source: R/dv8.R

transform_temporal_gitlog_to_adsmjR Documentation

Transform parsed git repo into an author dsm.json file.

Description

Converts a temporal gitlog table into an *-adsm.json. In the adsm.json, the Variables are all the authors under analysis (rows/columns in dependency matrix) and the Cells (matrix cell) contain all the relations of variable (src & dest) pairs. The Collaborate value is the number of times the src author and dest author changed the same file.

Usage

transform_temporal_gitlog_to_adsmj(project_git, adsmj_path, is_sorted = FALSE)

Arguments

project_git

A parsed git project by parse_gitlog.

adsmj_path

the path to save the author dsm (*-adsm.json).

is_sorted

whether to sort the variables (filenames) in the adsm.json file (optional).

See Also

parse_gitlog to get a table of a parsed git project needed as input into transform_gitlog_to_hdsmj, transform_gitlog_to_hdsmj to perform a similar transformation into a *-dsm.json using a gitlog, transform_dependencies_to_sdsmj to perform a similar transformation into a *-dsm.json using dependencies from Depends, graph_to_dsmj to generate a *-dsm.json file.

Other edgelists: transform_commit_message_id_to_network(), transform_cve_cwe_file_to_network(), transform_dependencies_to_network(), transform_dependencies_to_sdsmj(), transform_gitlog_to_bipartite_network(), transform_gitlog_to_entity_bipartite_network(), transform_gitlog_to_entity_temporal_network(), transform_gitlog_to_hdsmj(), transform_gitlog_to_temporal_network(), transform_reply_to_bipartite_network(), transform_understand_dependencies_to_network()

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(), gitlog_to_hdsmj(), graph_to_dsmj(), parse_dv8_architectural_flaws(), parse_dv8_clusters(), transform_dependencies_to_sdsmj(), transform_gitlog_to_hdsmj()


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