transform_gitlog_to_hdsmj | R Documentation |
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. Note that the co-change between a file and its renamed variant will not be considered using this function, so those cells won't appear in the final *-hdsm.json.
transform_gitlog_to_hdsmj(project_git, hdsmj_path, is_sorted = FALSE)
project_git |
A parsed git project by |
hdsmj_path |
the path to save the history dsm (*-hdsm.json). |
is_sorted |
whether to sort the variables (filenames) in the hdsm.json file (optional). |
parse_gitlog
to get a table of a parsed git project needed as input into transform_gitlog_to_hdsmj
,
transform_temporal_gitlog_to_adsmj
to perform a similar transformation into a *-dsm.json using a temporal 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_temporal_network()
,
transform_reply_to_bipartite_network()
,
transform_temporal_gitlog_to_adsmj()
,
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_temporal_gitlog_to_adsmj()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.