TSLocator:A Transformer-Based Approach to Bug Localization

来源 :武汉大学自然科学学报(英文版) | 被引量 : 0次 | 上传用户:hongnanjing
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
For projects with thousands of files,finding the loca-tions of bugs is time-consuming and labor-intensive.Bug reports as a potential resource to help locate bugs in source codes have been used to design automatic tools to solve this problem.Existing information retrieval(IR)-based bug localization methods rely heavily on the similarity score between bug report and historical reports.As deep learning methods show great advantages in cal-culating text semantic similarity,we adapt the transformer network with IR-based bug localization methods to design a novel ap-proach,TSLocator,to bug localization.In TSLocator,we propose five new features between bug reports and source codes.We use SVMRank to model the relation between all the six features and the actual buggy file.Given a new bug report,TSLocator auto-matically calculates the features and linearly weights the features to produce a suspicious score for all candidate files.TSLocator recommends a list of suspicious buggy files ranked by the score.The experimental results show that TSLocator outperforms exist-ing methods in accuracy and performance of bug localization.
其他文献
采用逻辑分析法、数理统计法、专家访谈法、文献资料法等方法,对体育课程改革背景下高校体育教学存在的问题进行分析,发现如下问题:专业素质不强,高级人才匮乏;高层次平台有
在领导民主革命的过程中,中国共产党以其严密的纪律、强大的内聚力、坚忍不拔的战斗意志展现出了组织形态上的极大优势,而革命时期就一直是中国共产党组织路线核心要素的民主
政治性与学理性相统一是高校思政课教学需要遵守的一个基本规律.政治性决定了高校思政课教学要注意名正言顺,学理性决定了高校思政课教学要注意以理服人.政治性体现了高校思
20世纪60-70年代,受国际诸多因素的影响,毛泽东的思想和主义发展成为一种“全球性运动”,世界许多国家纷纷成立毛主义政党,他们积极开展活动,在国内政坛产生了一定影响.今天,
An embedding of a graph G(into its complement Gc)is a permutation σ on V(G)such that if any edge xy belongs to E,then σ(x)σ(y)does not belong to E(so G is a
The well-known CCSDS(consultative committee for space data systems)LDPC(low density parity check)code for near-earth applications is discussed and used for a ca
To enhance dynamic tracking performance and anti-disturbance capacity of finite impulse response(FIR)filters,variable discount factors are introduced to the rec
Vision-Language-Navigation(VLN) task is a cross-modality task that combines natural language processing and computer vision. This task requires the agent to automatically move to the destination accor
As a kind of flexible three-dimensional geometric data, point clouds can accomplish many challenging tasks so long as the rich information in the geometric topology architecture can be deeply analyzed
How to measure the two-dimensional attitude angle of space target and achieve stable tracking and aiming has become an important problem.The self-collimation is