首页> 外文会议>Brazilian Symposium on Software Engineering >Are Domain-Specific Detection Strategies for Code Anomalies Reusable? An Industry Multi-project Study
【24h】

Are Domain-Specific Detection Strategies for Code Anomalies Reusable? An Industry Multi-project Study

机译:是否可以重用针对代码异常的特定于域的检测策略?行业多项目研究

获取原文

摘要

To prevent the quality decay, detection strategies are reused to identify symptoms of maintainability problems in the entire program. A detection strategy is a heuristic composed by the following elements: software metrics, thresholds, and logical operators combining them. The adoption of detection strategies is largely dependent on their reuse across the portfolio of the organizations software projects. If developers need to define or tailor those strategy elements to each project, their use will become time-consuming and neglected. Nevertheless, there is no evidence about efficient reuse of detection strategies across multiple software projects. Therefore, we conduct an industry multi-project study to evaluate the reusability of detection strategies in a critical domain. We assessed the degree of accurate reuse of previously-proposed detection strategies based on the judgment of domain specialists. The study revealed that even though the reuse of strategies in a specific domain should be encouraged, their accuracy is still limited when holistically applied to all the modules of a program. However, the accuracy and reuse were both significantly improved when the metrics, thresholds and logical operators were tailored to each recurring concern of the domain.
机译:为了防止质量下降,可以重复使用检测策略来识别整个程序中的可维护性问题的症状。检测策略是一种启发式方法,由以下元素组成:软件指标,阈值和将它们组合在一起的逻辑运算符。检测策略的采用很大程度上取决于它们在组织软件项目组合中的重用。如果开发人员需要为每个项目定义或调整这些策略元素,则它们的使用将变得很耗时且被忽略。但是,没有证据表明可以在多个软件项目中有效地重用检测策略。因此,我们进行了一项行业多项目研究,以评估关键领域中检测策略的可重用性。我们根据领域专家的判断评估了先前提出的检测策略的准确重用程度。研究表明,尽管应该鼓励在特定领域重用策略,但当将其整体应用于程序的所有模块时,其准确性仍然受到限制。但是,将度量,阈值和逻辑运算符定制为域中每个经常出现的问题时,准确性和重用性都得到了显着提高。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号