电子学报 ›› 2018, Vol. 46 ›› Issue (7): 1578-1583.DOI: 10.3969/j.issn.0372-2112.2018.07.006

• 学术论文 • 上一篇    下一篇

基于知识图谱的bug问题探索性搜索方法

孙小兵1,2, 王璐1, 王经纬1, 李斌1, 李宇1   

  1. 1. 扬州大学信息工程学院, 江苏扬州 225127;
    2. 南京大学计算机软件新技术国家重点实验室, 江苏南京 210023
  • 收稿日期:2016-12-26 修回日期:2017-08-21 出版日期:2018-07-25
    • 通讯作者:
    • 孙小兵
    • 作者简介:
    • 王璐,女.1992年出生,江苏镇江人,硕士研究生,研究方向为bug分析与修复.E-mail:1504385791@qq.com
    • 基金资助:
    • 国家自然科学基金 (No.61402396,No.61472344); 南京大学计算机软件新技术国家重点实验室开放基金 (No.KFKT2016B21); 江苏青蓝工程; 大学生创新创业训练计划 (No.201611117024Z); 扬州市自然科学基金-面上项目 (No.YZ2017113)

Construct Knowledge Graph for Exploratory Bug Issue Searching

SUN Xiao-bing1,2, WANG Lu1, WANG Jing-wei1, LI Bin1, LI Yu1   

  1. 1. School of Information Engineering, Yangzhou University, Yangzhou, Jiangsu 225127, China;
    2. State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, Jiangsu 210023, China
  • Received:2016-12-26 Revised:2017-08-21 Online:2018-07-25 Published:2018-07-25
    • Corresponding author:
    • SUN Xiao-bing
    • Supported by:
    • National Natural Science Foundation of China (No.61402396, No.61472344); Open Fund of State Key Laboratory for Novel Software Technology at Nanjing University (No.KFKT2016B21); Blue Project in Jiangsu Province; Innovation and Entrepreneurship Training Program for College Students (No.201611117024Z); Fundamental Project of Yangzhou Natural Science Foundation (No.YZ2017113)

摘要: 软件bug问题在软件开发与维护过程中不可避免.然而软件历史库中的bug库与commit库之间没有直接的对应关系,并且随着bug信息、commit提交信息量的增长,搜索bug变得更加繁琐.本文提出一种基于知识图谱对bug问题进行探索性搜索的方法.通过建立bug报告、commit提交信息及相关人员(如:bug报告人、commit提交者等)信息的bug知识图谱,并结合探索性搜索的思想,不仅能准确搜索bug问题,还能提供相关辅助信息对bug问题进行探索性搜索,帮助软件开发人员更有效地理解和解决bug问题.

关键词: bug报告, commit提交, 知识图谱, 探索性搜索

Abstract: Software bug issues are inevitable in software development and maintenance.However,there are no corresponding relationships between bugs and commits in software repository.Moreover,with the increasing amount of bug reports and commit information,bug search in the software repository becomes more difficult and costly.In this paper,we propose an exploratory search approach to search bug issues based on knowledge graph.By building the bug knowledge graph of bug reports,commits and related developers (such as bug reporters,committers and so on) and combining with the idea of exploratory search,our approach can not only help software developers search bug issues accurately,but also provide the relevant information to explore bug issues,thus software developers can understand and resolve bug issues more effectively.

Key words: bug report, commit, knowledge graph, exploratory search

中图分类号: