使用 GLITCH 进行 Infrastructure as Code 的多语言代码异味检测
Polyglot Code Smell Detection for Infrastructure as Code with GLITCH
AI总结:
提出与技术无关的 GLITCH 框架,通过中间表示支持 Ansible、Chef、Docker、Puppet 和 Terraform 脚本的多语言安全及设计异味检测,并以更低分析工作量取得优于现有工具的精确率和召回率。
摘要:
本文介绍了 GLITCH,这是一种新的与技术无关的框架,可对 Infrastructure as Code(IaC,基础设施即代码)脚本实现自动化的多语言代码异味检测。GLITCH 使用一种中间表示,可在其上定义不同的代码异味检测器。它目前支持检测用 Ansible、Chef、Docker、Puppet 或 Terraform 编写的脚本中的九种安全异味和九种设计与实现异味。使用 GLITCH 开展的研究不仅表明,GLITCH 能够减少为多种 IaC 技术编写代码异味分析的工作量,而且表明其相比当前最先进的工具具有更高的精确率和召回率。介绍并演示 GLITCH 的视频可在以下链接获取:https://youtu.be/E4RhCcZjWbk
英文摘要:
This paper presents GLITCH, a new technology-agnostic framework that enables automated polyglot code smell detection for Infrastructure as Code scripts. GLITCH uses an intermediate representation on which different code smell detectors can be defined. It currently supports the detection of nine security smells and nine design & implementation smells in scripts written in Ansible, Chef, Docker, Puppet, or Terraform. Studies conducted with GLITCH not only show that GLITCH can reduce the effort of writing code smell analyses for multiple IaC technologies, but also that it has higher precision and recall than current state-of-the-art tools. A video describing and demonstrating GLITCH is available at: https://youtu.be/E4RhCcZjWbk
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。