分类切换气味并调查开发工作

Harika Sugnanam, Md Tajmilur Rahman
{"title":"分类切换气味并调查开发工作","authors":"Harika Sugnanam, Md Tajmilur Rahman","doi":"10.1145/3511430.3511461","DOIUrl":null,"url":null,"abstract":"Companies are moving towards rapid release to deliver features as quickly as possible using Feature Toggles. Feature toggle is a variable that controls the state of a feature allowing unfinished code into the trunk. However, Maintaining the feature toggles needs a great effort, otherwise, it may lead to technical debt. Toggles may turn into code smells since they can be used in many ways if there is no standard of usage. We are calling such standard-less use of feature-toggles as “Toggle Smell’’. We classify different uses of toggle smells, and then we measure how much effort the code files are consuming to develop features, and maintain the toggles in each component. Our quantitative analysis on the Chromium open-source project finds that there are 3.1K toggles in 38 components and of the six different types of toggle usage, we classify three different toggle smells. The other types of usage will be analyzed in a future work. Three classification models predict the development effort in files as “High’’, “Medium’’, and “Low’’ with a similar accuracy of 95.x%.","PeriodicalId":138760,"journal":{"name":"15th Innovations in Software Engineering Conference","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-02-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Classifying Toggles-smells and Investigating Development Effort\",\"authors\":\"Harika Sugnanam, Md Tajmilur Rahman\",\"doi\":\"10.1145/3511430.3511461\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Companies are moving towards rapid release to deliver features as quickly as possible using Feature Toggles. Feature toggle is a variable that controls the state of a feature allowing unfinished code into the trunk. However, Maintaining the feature toggles needs a great effort, otherwise, it may lead to technical debt. Toggles may turn into code smells since they can be used in many ways if there is no standard of usage. We are calling such standard-less use of feature-toggles as “Toggle Smell’’. We classify different uses of toggle smells, and then we measure how much effort the code files are consuming to develop features, and maintain the toggles in each component. Our quantitative analysis on the Chromium open-source project finds that there are 3.1K toggles in 38 components and of the six different types of toggle usage, we classify three different toggle smells. The other types of usage will be analyzed in a future work. Three classification models predict the development effort in files as “High’’, “Medium’’, and “Low’’ with a similar accuracy of 95.x%.\",\"PeriodicalId\":138760,\"journal\":{\"name\":\"15th Innovations in Software Engineering Conference\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-02-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"15th Innovations in Software Engineering Conference\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3511430.3511461\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"15th Innovations in Software Engineering Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3511430.3511461","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

公司正朝着快速发布的方向发展,通过功能切换尽可能快地交付功能。特性切换是一个变量,它控制特性的状态,允许未完成的代码进入主干。然而,维护功能切换需要很大的努力,否则,它可能会导致技术债务。切换开关可能会变成代码气味,因为如果没有标准的使用,它们可以以多种方式使用。我们把这种没有标准的功能切换称为“切换气味”。我们对切换气味的不同用法进行分类,然后衡量代码文件为开发特性和维护每个组件中的切换所消耗的工作量。我们对Chromium开源项目的定量分析发现,在38个组件中有3.1K个开关,在六种不同类型的开关使用中,我们划分了三种不同的开关气味。其他类型的用法将在以后的工作中进行分析。三个分类模型将文件中的开发工作预测为“高”、“中”和“低”,准确率相似,为95.x%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Classifying Toggles-smells and Investigating Development Effort
Companies are moving towards rapid release to deliver features as quickly as possible using Feature Toggles. Feature toggle is a variable that controls the state of a feature allowing unfinished code into the trunk. However, Maintaining the feature toggles needs a great effort, otherwise, it may lead to technical debt. Toggles may turn into code smells since they can be used in many ways if there is no standard of usage. We are calling such standard-less use of feature-toggles as “Toggle Smell’’. We classify different uses of toggle smells, and then we measure how much effort the code files are consuming to develop features, and maintain the toggles in each component. Our quantitative analysis on the Chromium open-source project finds that there are 3.1K toggles in 38 components and of the six different types of toggle usage, we classify three different toggle smells. The other types of usage will be analyzed in a future work. Three classification models predict the development effort in files as “High’’, “Medium’’, and “Low’’ with a similar accuracy of 95.x%.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信