| 注册
首页|期刊导航|计算机工程与应用|用户评论中基于事件图谱的代码质量分析

用户评论中基于事件图谱的代码质量分析

张培园 姜瑛

计算机工程与应用2023,Vol.59Issue(24):147-154,8.
计算机工程与应用2023,Vol.59Issue(24):147-154,8.DOI:10.3778/j.issn.1002-8331.2209-0442

用户评论中基于事件图谱的代码质量分析

Code Quality Analysis Based on Event Graph in User Reviews

张培园 1姜瑛1

作者信息

  • 1. 云南省计算机技术应用重点实验室,昆明 650500||昆明理工大学 信息工程与自动化学院,昆明 650500
  • 折叠

摘要

Abstract

Research on user comments in the code hosting platform shows that the code quality information reflected in user comments can help users quickly select open source code that meets their needs,and can help software developers improve code quality.However,in view of the problems of incomplete and inaccurate extraction of code quality informa-tion in current research,a code quality analysis method based on event graph is proposed to analyze the code quality infor-mation in user comments.Firstly,a code quality hierarchy diagram is constructed to represent the various code quality information structures.Then this paper analyzes user comments and builds an event map for code user comments.Secondly,the method of mapping event map to code quality hierarchy diagram is proposed.Finally,the code quality information in the code quality hierarchy diagram is identified.The experimental results show that the average accuracy of this method in identifying code quality information in code review texts is 86.9%,so this method can effectively identify and analyze code quality information.

关键词

代码质量/代码质量属性/用户评论/事件图谱

Key words

code quality/code quality attributes/user comments/event map

分类

信息技术与安全科学

引用本文复制引用

张培园,姜瑛..用户评论中基于事件图谱的代码质量分析[J].计算机工程与应用,2023,59(24):147-154,8.

基金项目

国家自然科学基金(62162038,61462049,61063006,60703116) (62162038,61462049,61063006,60703116)

国家重点研发计划(2018YFB1003904) (2018YFB1003904)

云南省应用基础研究计划重点项目(2017FA033) (2017FA033)

云南省计算机技术应用重点实验室开放基金(2020101). (2020101)

计算机工程与应用

OA北大核心CSCDCSTPCD

1002-8331

访问量0
|
下载量0
段落导航相关论文