A study on low complexity models to predict flaws in the Linux source code

Lucas Kanashiro, Athos Ribeiro, David Silva, Paulo Meirelles, A. Terceiro
{"title":"A study on low complexity models to predict flaws in the Linux source code","authors":"Lucas Kanashiro, Athos Ribeiro, David Silva, Paulo Meirelles, A. Terceiro","doi":"10.23919/CISTI.2017.7975747","DOIUrl":null,"url":null,"abstract":"Due to the constant evolution of technology, each day brings new programming languages, development paradigms, and ways of evaluating processes. This is no different with source code metrics, where there is always new metric classes. To use a software metric to support decisions, it is necessary to understand how to perform the metric collection, calculation, interpretation, and analysis. The tasks of collecting and calculating source code metrics are most often automated, but how should we monitor them during the software development cycle? Our research aims to assist the software engineer to monitor metrics of vulnerability threats present in the source code through a reference prediction model, considering that real world software have non-functional security requirements, which implies the need to know how to monitor these requirements during the software development cycle. As a first result, this paper presents an empirical study on the evolution of the Linux project. Based on static analysis data, we propose low complexity models to study flaws in the Linux source code. About 391 versions of the project were analyzed by mining the official Linux repository using an approach that can be reproduced to perform similar studies. Our results show that it is possible to predict the number of warnings triggered by a static analyzer for a given software project revision as long as the software is continuously monitored.","PeriodicalId":345129,"journal":{"name":"2017 12th Iberian Conference on Information Systems and Technologies (CISTI)","volume":"227 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 12th Iberian Conference on Information Systems and Technologies (CISTI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23919/CISTI.2017.7975747","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Due to the constant evolution of technology, each day brings new programming languages, development paradigms, and ways of evaluating processes. This is no different with source code metrics, where there is always new metric classes. To use a software metric to support decisions, it is necessary to understand how to perform the metric collection, calculation, interpretation, and analysis. The tasks of collecting and calculating source code metrics are most often automated, but how should we monitor them during the software development cycle? Our research aims to assist the software engineer to monitor metrics of vulnerability threats present in the source code through a reference prediction model, considering that real world software have non-functional security requirements, which implies the need to know how to monitor these requirements during the software development cycle. As a first result, this paper presents an empirical study on the evolution of the Linux project. Based on static analysis data, we propose low complexity models to study flaws in the Linux source code. About 391 versions of the project were analyzed by mining the official Linux repository using an approach that can be reproduced to perform similar studies. Our results show that it is possible to predict the number of warnings triggered by a static analyzer for a given software project revision as long as the software is continuously monitored.
预测Linux源代码缺陷的低复杂度模型研究
由于技术的不断发展,每天都有新的编程语言、开发范式和评估过程的方法出现。这与源代码度量没有什么不同,源代码度量总是有新的度量类。为了使用软件度量来支持决策,有必要了解如何执行度量收集、计算、解释和分析。收集和计算源代码度量的任务通常是自动化的,但是我们应该如何在软件开发周期中监视它们呢?我们的研究旨在帮助软件工程师通过参考预测模型来监控源代码中存在的漏洞威胁的度量,考虑到现实世界的软件具有非功能性安全需求,这意味着需要知道如何在软件开发周期中监控这些需求。作为第一个结果,本文对Linux项目的演变进行了实证研究。基于静态分析数据,我们提出了低复杂度模型来研究Linux源代码中的缺陷。通过使用一种可以复制以执行类似研究的方法挖掘官方Linux存储库,分析了大约391个版本的项目。我们的结果表明,对于给定的软件项目修订,只要软件被持续监控,就有可能预测由静态分析器触发的警告数量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信