Knowledge Graphing Git repositories

a preliminary study

Yanjie Zhao, Haoyu Wang, Lei Ma, Yuxin Liu, Li Li, John Grundy

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

Knowledge Graph, being able to connect information from a variety of sources, has become very famous in recent years since its creation in 2012 by Google. Researchers in our community have leveraged Knowledge Graph to achieve various purposes such as improving API caveats accessibilities, generating answers to developer questions, and reasoning common software weaknesses, etc. In this work, we would like to leverage the knowledge graph concept for helping developers and project managers to comprehend software repositories. To this end, we design and implement a prototype tool called GitGraph, which takes as input a Git repository and constructs automatically a knowledge graph associated with the repository. Our preliminary experimental results show that GitGraph can correctly generate knowledge graphs for Git projects and the generated graphs are also useful for users to comprehend the projects. More specifically, the knowledge graph, on one hand, provides a graphic interface that users can interactively explore the integrated artefacts such as commits and changed methods, while on the other hand, provides a convenient means for users to search for advanced relations between the different artefacts.

Original languageEnglish
Title of host publicationProceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution, and Reengineering
EditorsXinyu Wang, David Lo, Emad Shihab
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages599-603
Number of pages5
ISBN (Electronic)9781728105918
ISBN (Print)9781728105925
DOIs
Publication statusPublished - 2019
EventIEEE International Conference on Software Analysis, Evolution, and Reengineering 2019 - Hangzhou, China
Duration: 24 Feb 201927 Feb 2019
Conference number: 26th
https://saner2019.github.io/

Conference

ConferenceIEEE International Conference on Software Analysis, Evolution, and Reengineering 2019
Abbreviated titleSANER 2019
CountryChina
CityHangzhou
Period24/02/1927/02/19
Internet address

Cite this

Zhao, Y., Wang, H., Ma, L., Liu, Y., Li, L., & Grundy, J. (2019). Knowledge Graphing Git repositories: a preliminary study. In X. Wang, D. Lo, & E. Shihab (Eds.), Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution, and Reengineering (pp. 599-603). [8668034] Piscataway NJ USA: IEEE, Institute of Electrical and Electronics Engineers. https://doi.org/10.1109/SANER.2019.8668034
Zhao, Yanjie ; Wang, Haoyu ; Ma, Lei ; Liu, Yuxin ; Li, Li ; Grundy, John. / Knowledge Graphing Git repositories : a preliminary study. Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution, and Reengineering. editor / Xinyu Wang ; David Lo ; Emad Shihab. Piscataway NJ USA : IEEE, Institute of Electrical and Electronics Engineers, 2019. pp. 599-603
@inproceedings{2ed00882c3464d65816d5c07424f5ea4,
title = "Knowledge Graphing Git repositories: a preliminary study",
abstract = "Knowledge Graph, being able to connect information from a variety of sources, has become very famous in recent years since its creation in 2012 by Google. Researchers in our community have leveraged Knowledge Graph to achieve various purposes such as improving API caveats accessibilities, generating answers to developer questions, and reasoning common software weaknesses, etc. In this work, we would like to leverage the knowledge graph concept for helping developers and project managers to comprehend software repositories. To this end, we design and implement a prototype tool called GitGraph, which takes as input a Git repository and constructs automatically a knowledge graph associated with the repository. Our preliminary experimental results show that GitGraph can correctly generate knowledge graphs for Git projects and the generated graphs are also useful for users to comprehend the projects. More specifically, the knowledge graph, on one hand, provides a graphic interface that users can interactively explore the integrated artefacts such as commits and changed methods, while on the other hand, provides a convenient means for users to search for advanced relations between the different artefacts.",
author = "Yanjie Zhao and Haoyu Wang and Lei Ma and Yuxin Liu and Li Li and John Grundy",
year = "2019",
doi = "10.1109/SANER.2019.8668034",
language = "English",
isbn = "9781728105925",
pages = "599--603",
editor = "Xinyu Wang and David Lo and Emad Shihab",
booktitle = "Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution, and Reengineering",
publisher = "IEEE, Institute of Electrical and Electronics Engineers",
address = "United States of America",

}

Zhao, Y, Wang, H, Ma, L, Liu, Y, Li, L & Grundy, J 2019, Knowledge Graphing Git repositories: a preliminary study. in X Wang, D Lo & E Shihab (eds), Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution, and Reengineering., 8668034, IEEE, Institute of Electrical and Electronics Engineers, Piscataway NJ USA, pp. 599-603, IEEE International Conference on Software Analysis, Evolution, and Reengineering 2019, Hangzhou, China, 24/02/19. https://doi.org/10.1109/SANER.2019.8668034

Knowledge Graphing Git repositories : a preliminary study. / Zhao, Yanjie; Wang, Haoyu; Ma, Lei; Liu, Yuxin; Li, Li; Grundy, John.

Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution, and Reengineering. ed. / Xinyu Wang; David Lo; Emad Shihab. Piscataway NJ USA : IEEE, Institute of Electrical and Electronics Engineers, 2019. p. 599-603 8668034.

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

TY - GEN

T1 - Knowledge Graphing Git repositories

T2 - a preliminary study

AU - Zhao, Yanjie

AU - Wang, Haoyu

AU - Ma, Lei

AU - Liu, Yuxin

AU - Li, Li

AU - Grundy, John

PY - 2019

Y1 - 2019

N2 - Knowledge Graph, being able to connect information from a variety of sources, has become very famous in recent years since its creation in 2012 by Google. Researchers in our community have leveraged Knowledge Graph to achieve various purposes such as improving API caveats accessibilities, generating answers to developer questions, and reasoning common software weaknesses, etc. In this work, we would like to leverage the knowledge graph concept for helping developers and project managers to comprehend software repositories. To this end, we design and implement a prototype tool called GitGraph, which takes as input a Git repository and constructs automatically a knowledge graph associated with the repository. Our preliminary experimental results show that GitGraph can correctly generate knowledge graphs for Git projects and the generated graphs are also useful for users to comprehend the projects. More specifically, the knowledge graph, on one hand, provides a graphic interface that users can interactively explore the integrated artefacts such as commits and changed methods, while on the other hand, provides a convenient means for users to search for advanced relations between the different artefacts.

AB - Knowledge Graph, being able to connect information from a variety of sources, has become very famous in recent years since its creation in 2012 by Google. Researchers in our community have leveraged Knowledge Graph to achieve various purposes such as improving API caveats accessibilities, generating answers to developer questions, and reasoning common software weaknesses, etc. In this work, we would like to leverage the knowledge graph concept for helping developers and project managers to comprehend software repositories. To this end, we design and implement a prototype tool called GitGraph, which takes as input a Git repository and constructs automatically a knowledge graph associated with the repository. Our preliminary experimental results show that GitGraph can correctly generate knowledge graphs for Git projects and the generated graphs are also useful for users to comprehend the projects. More specifically, the knowledge graph, on one hand, provides a graphic interface that users can interactively explore the integrated artefacts such as commits and changed methods, while on the other hand, provides a convenient means for users to search for advanced relations between the different artefacts.

UR - http://www.scopus.com/inward/record.url?scp=85064179160&partnerID=8YFLogxK

U2 - 10.1109/SANER.2019.8668034

DO - 10.1109/SANER.2019.8668034

M3 - Conference Paper

SN - 9781728105925

SP - 599

EP - 603

BT - Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution, and Reengineering

A2 - Wang, Xinyu

A2 - Lo, David

A2 - Shihab, Emad

PB - IEEE, Institute of Electrical and Electronics Engineers

CY - Piscataway NJ USA

ER -

Zhao Y, Wang H, Ma L, Liu Y, Li L, Grundy J. Knowledge Graphing Git repositories: a preliminary study. In Wang X, Lo D, Shihab E, editors, Proceedings of the 2019 IEEE 26th International Conference on Software Analysis, Evolution, and Reengineering. Piscataway NJ USA: IEEE, Institute of Electrical and Electronics Engineers. 2019. p. 599-603. 8668034 https://doi.org/10.1109/SANER.2019.8668034