CloudScent:一种面向开源云的代码坏味分析模型
CloudScent: a model for code smell analysis in open-source cloud
AI总结:
针对开源云代码质量受重视不足、缺乏针对性代码坏味检测工具的问题,本文提出开源检测模型CloudScent,经OpenStack环境实验验证可准确检测8种云环境代码坏味,助力云服务商及时重构以提升代码质量。
摘要:
低成本与快速部署的特性使开源云成为工业应用部署的理想平台。然而,尽管开源云正逐步走向成熟,仍存在代码坏味等质量问题。现有研究多关注部署开源云的经济效益,却很少重视提升云平台自身的源代码质量以保障其在工业场景下的可维护性。代码重构通过消除代码坏味,能够提升软件代码的可维护性与可读性。但目前关于云环境中哪些坏味更为普遍的分析,以及设计用于定义和检测这类坏味的工具,仍需进一步研究。本文提出了名为CloudScent的模型,这是一种用于检测开源云中代码坏味的开源机制。我们在真实云环境中使用OpenStack开展实验,结果表明CloudScent能够准确检测出云中的8种代码坏味。该研究可让云服务提供商提前了解开源云平台中普遍存在的代码坏味,从而及时开展代码重构,提升云平台的代码质量。
英文摘要:
The low cost and rapid provisioning capabilities have made open-source cloud a desirable platform to launch industrial applications. However, as open-source cloud moves towards maturity, it still suffers from quality issues like code smells. Although, a great emphasis has been provided on the economic benefits of deploying open-source cloud, low importance has been provided to improve the quality of the source code of the cloud itself to ensure its maintainability in the industrial scenario. Code refactoring has been associated with improving the maintenance and understanding of software code by removing code smells. However, analyzing what smells are more prevalent in cloud environment and designing a tool to define and detect those smells require further attention. In this paper, we propose a model called CloudScent which is an open source mechanism to detect smells in open-source cloud. We test our experiments in a real-life cloud environment using OpenStack. Results show that CloudScent is capable of accurately detecting 8 code smells in cloud. This will permit cloud service providers with advanced knowledge about the smells prevalent in open-source cloud platform, thus allowing for timely code refactoring and improving code quality of the cloud platforms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。