代码文件贡献组成模式的分析
作者:
作者单位:

作者简介:

谭鑫(1994-),女,陕西西安人,博士生,CCF学生会员,主要研究领域为数据分析,实证软件研究;张宇霞(1992-),女,博士生,主要研究领域为数据分析,实证软件研究;林泽燕(1992-),女,硕士,主要研究领域为数据分析,实证软件研究;周明辉(1974-),女,博士,副教授,CCF专业会员,主要研究领域为数据分析,软件仓库挖掘,实证软件工程,开源生态系统

通讯作者:

周明辉,E-mail:zhmh@pku.edu.cn

中图分类号:

基金项目:

国家重点基础研究发展计划(973)(2015CB352200);国家自然科学基金(61432001,61690200);国家重点研发计划(2018YFB10044200)


Analysis of Contribution Composition Patterns of Code Files
Author:
Affiliation:

Fund Project:

National Program on Key Basic Research Project of China (973) (2015CB352200); National Natural Science Foundation of China (61432001, 61690200); National Key Research and Development Program of China (2018YFB10044200)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    软件开发过程中,同一代码文件经常由多名开发者共同开发和维护,各个开发者向文件贡献了不同的代码量,使之形成特有的贡献组成.代码文件的贡献组成是否合理,直接影响开发者的任务分配,进而影响软件质量和开发效率.对于不同类型的代码文件,如何刻画并确定其合理的贡献组成模式,成为一个亟待解决的问题.协同开发支撑工具的成熟,使得开发人员的活动可被有效地记录,因此,其所产生的海量数据为数据驱动的智能化软件开发打下了基础.首先,基于代码所有权,从贡献组成的集中度、复杂度和稳定性这3个维度出发,提出刻画贡献组成的3个量度;其次,以OpenStack的核心项目Nova为研究案例,在其版本控制数据上建立贡献组成的量度,总结了12种通用文件类型,归纳出3种贡献组成模式;最后,结合邮件以及面对面访谈的方式,验证了量度的有效性以及贡献组成模式的合理性,并从贡献组成的角度,对软件开发过程给出了一些指导性建议.

    Abstract:

    In the process of software development, one code file is often developed and maintained by more than one developer and each developer contributes different amount of code to the file, which forms a unique contribution composition. Whether the contribution of the code file is reasonable or not directly affects the task allocation, which in turn affects the quality of software and development efficiency. For different types of code files, how to measure and determine their contribution composition becomes an urgent problem to be solved. Due to the maturity of supporting tools in collaborative development, the activities of developers can be recorded effectively. Therefore, the huge amount of data generated by developers lays the foundation for data-driven intelligent software development. Firstly in this paper, based on code ownership, a set of metrics is established to describe the contribution composition of code files from the three dimensions:concentration, complexity and stability. Secondly, taking Nova (one of the OpenStack' core projects) as a case study with its' version control data and metrics, a measure of contribution composition is established to summarize 12 common file types, resulting in 3 contribution composition patterns. Finally, the validity of the metrics and the rationality of contribution composition patterns are verified by combining mail-in and in-person interviews, and some instructive suggestions for software development process are presented.

    参考文献
    相似文献
    引证文献
引用本文

谭鑫,林泽燕,张宇霞,周明辉.代码文件贡献组成模式的分析.软件学报,2018,29(8):2283-2293

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-07-16
  • 最后修改日期:2017-09-28
  • 录用日期:
  • 在线发布日期: 2018-03-13
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号