arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1708.05442cs.SE
收藏

从多个软件项目中学习可操作的分析

Learning Actionable Analytics from Multiple Software Projects

Rahul Krishna, Tim Menzies

摘要:

当前一代的软件分析工具主要是预测算法(例如,支持向量机、朴素贝叶斯、逻辑回归等)。虽然预测是有用的,但在预测之后,计划采取什么行动来提高质量。本研究寻求的方法,产生明显有用的指导“做什么”的背景下,一个特定的软件项目。具体来说,我们提出了Xtree(用于项目内规划)和BELLTREE(用于跨项目规划)来生成可以提高软件质量的计划。每一个这样的计划都有这样的特性,如果遵循,它会减少未来缺陷报告的预期数量。为了找到这个预期的数字,首先将规划应用于来自版本X的数据。接下来,我们寻找x+1版本中符合我们计划的更改。该程序适用于使用一系列的规划师从文献中,以及Xtree。在10个开源JAVA系统中,符合Xtree计划的代码部分减少了数百个缺陷。此外,与其他规划者相比,Xtree的计划更容易实施(因为它们更短),并且在减少预期缺陷数量方面更有效。

英文摘要:

The current generation of software analytics tools are mostly prediction algorithms (e.g. support vector machines, naive bayes, logistic regression, etc). While prediction is useful, after prediction comes planning about what actions to take in order to improve quality. This research seeks methods that generate demonstrably useful guidance on "what to do" within the context of a specific software project. Specifically, we propose XTREE (for within-project planning) and BELLTREE (for cross-project planning) to generating plans that can improve software quality. Each such plan has the property that, if followed, it reduces the expected number of future defect reports. To find this expected number, planning was first applied to data from release x. Next, we looked for changes in release x+1 that conformed to our plans. This procedure was applied using a range of planners from the literature, as well as XTREE. In 10 open-source JAVA systems, several hundreds of defects were reduced in sections of the code that conformed to XTREE's plans. Further, when compared to other planners, XTREE's plans were found to be easier to implement (since they were shorter) and more effective at reducing the expected number of defects.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑