一句话:PyDriller 是一个简化 Git 仓库挖掘的 Python 框架,相比 GitPython 以平均少 50% 的代码量和显著更低的复杂度达成相同结果。
软件仓库中保存着关于软件系统演化的历史与有价值的信息,挖掘软件仓库(MSR)已成为软件工程中快速发展的研究方向,其目标是从仓库数据中提取并分析出有用、可操作的信息。尽管 MSR 研究重要,但公开可用、能帮助开发者从 Git 仓库提取信息的工具却很少。本文提出 PyDriller,一个简化 Git 挖掘过程的 Python 框架。作者将该工具与当前最先进的 Python 框架 GitPython 进行对比,实验表明 PyDriller 能够取得相同的结果,但平均只需约 50% 的代码行数(LOC),且复杂度显著更低。
Software repositories contain historical and valuable information about the overall development of software systems. Mining software repositories (MSR) is nowadays considered one of the most interesting growing fields within software engineering. MSR focuses on extracting and analyzing data available in software repositories to uncover interesting, useful, and actionable information about the system. Even though MSR plays an important role in software engineering research, few tools have been created and made public to support developers in extracting information from Git repository. In this paper, we present PyDriller, a Python Framework that eases the process of mining Git. We compare our tool against the state-of-the-art Python Framework GitPython, demonstrating that PyDriller can achieve the same results with, on average, 50% less LOC and significantly lower complexity.