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

中小型软件企业引入静态质量分析:来自技术转移的经验

Introduction of Static Quality Analysis in Small and Medium-Sized Software Enterprises: Experiences from Technology Transfer

Mario Gleirscher, Dmitriy Golubitskiy, Maximilian Irlbeck, Stefan Wagner

摘要:

今天,软件行业的中小企业面临着重大挑战。它们的资源限制要求高效率的发展。此外,需要采取质量保证(QA)措施来减轻额外的风险,昂贵的错误修复或补偿工作。自动化静态分析(ASA)可以降低这种风险,因为它保证应用程序工作量很低。中小企业似乎很少利用这一机会。相反,他们仍然主要依赖于软件测试的动态分析方法。在这篇文章中,我们报告我们的经验,从一个技术转让项目。我们的目的是评估结果静态分析可以提供给中小企业以及发生的问题时,在中小企业中引入和使用静态分析。我们分析了五个软件项目,从五个合作的中小企业使用三种不同的ASA技术:代码克隆检测,错误模式检测和架构一致性分析。在分析之后,我们应用质量模型来汇总和评估结果。我们的研究表明,在中小企业中引入ASA技术所需的努力很小(大多低于一个人小时)。此外,我们只遇到了一些技术问题。通过分析,我们可以发现生产代码中的多个缺陷。参与公司认为分析结果是对其当前QA的有益补充,并将分析纳入其QA流程。借助Quamoco质量模型,我们可以有效地汇总和评定静态分析结果。不过,我们亦遇到部分与中小企的意见不配合的情况。我们的结论是,ASA和质量模型可以是一个有价值的和负担得起的除了中小型企业的QA过程。

英文摘要:

Today, small and medium-sized enterprises (SMEs) in the software industry face major challenges. Their resource constraints require high efficiency in development. Furthermore, quality assurance (QA) measures need to be taken to mitigate the risk of additional, expensive effort for bug fixes or compensations. Automated static analysis (ASA) can reduce this risk because it promises low application effort. SMEs seem to take little advantage of this opportunity. Instead, they still mainly rely on the dynamic analysis approach of software testing. In this article, we report on our experiences from a technology transfer project. Our aim was to evaluate the results static analysis can provide for SMEs as well as the problems that occur when introducing and using static analysis in SMEs. We analysed five software projects from five collaborating SMEs using three different ASA techniques: code clone detection, bug pattern detection and architecture conformance analysis. Following the analysis, we applied a quality model to aggregate and evaluate the results. Our study shows that the effort required to introduce ASA techniques in SMEs is small (mostly below one person-hour each). Furthermore, we encountered only few technical problems. By means of the analyses, we could detect multiple defects in production code. The participating companies perceived the analysis results to be a helpful addition to their current QA and will include the analyses in their QA process. With the help of the Quamoco quality model, we could efficiently aggregate and rate static analysis results. However, we also encountered a partial mismatch with the opinions of the SMEs. We conclude, that ASA and quality models can be a valuable and affordable addition to the QA process of SMEs.

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

↑