亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Dead Code Removal at Meta: Automatically Deleting Millions of Lines of Code and Petabytes of Deprecated Data

计算机科学 代码库 编码(集合论) 数据库 一致性(知识库) PB级 源代码行 软件 资产(计算机安全) 可靠性(半导体) 软件工程 操作系统 程序设计语言 计算机安全 集合(抽象数据类型) 功率(物理) 大数据 物理 量子力学 人工智能
作者
Will Shackleton,Katriel Cohn-Gordon,Peter C. Rigby,Rui Abreu,James Gill,Nachiappan Nagappan,Karim Nakad,Ioannis Papagiannis,Luke Petre,Giorgi Megreli,Patrick Riggs,James Saindon
标识
DOI:10.1145/3611643.3613871
摘要

Software constantly evolves in response to user needs: new features are built, deployed, mature and grow old, and eventually their usage drops enough to merit switching them off. In any large codebase, this feature lifecycle can naturally lead to retaining unnecessary code and data. Removing these respects users' privacy expectations, as well as helping engineers to work efficiently. In prior software engineering research, we have found little evidence of code deprecation or dead-code removal at industrial scale. We describe Systematic Code and Asset Removal Framework (SCARF), a product deprecation system to assist engineers working in large codebases. SCARF identifies unused code and data assets and safely removes them. It operates fully automatically, including committing code and dropping database tables. It also gathers developer input where it cannot take automated actions, leading to further removals. Dead code removal increases the quality and consistency of large codebases, aids with knowledge management and improves reliability. SCARF has had an important impact at Meta. In the last year alone, it has removed petabytes of data across 12.8 million distinct assets, and deleted over 104 million lines of code.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
爆米花应助Colin采纳,获得10
2秒前
spicyfish完成签到,获得积分10
7秒前
8秒前
早睡早起人完成签到,获得积分10
8秒前
notsoeasy完成签到,获得积分10
8秒前
konnie完成签到,获得积分10
10秒前
11秒前
lsc完成签到 ,获得积分10
13秒前
shark发布了新的文献求助10
15秒前
18秒前
18秒前
redstone完成签到,获得积分10
19秒前
奋斗的白开水完成签到,获得积分10
19秒前
认真的豆豆完成签到,获得积分20
20秒前
铭铭铭发布了新的文献求助10
23秒前
越过山丘完成签到,获得积分10
23秒前
24秒前
耍酷的手套完成签到,获得积分10
24秒前
SpaceThing完成签到,获得积分10
28秒前
30秒前
lin0u0完成签到,获得积分10
30秒前
konnie发布了新的文献求助10
31秒前
32秒前
勤劳小翠发布了新的文献求助10
35秒前
wzm完成签到,获得积分10
35秒前
邓大瓜完成签到,获得积分10
38秒前
naitangkeke发布了新的文献求助10
39秒前
shark完成签到,获得积分10
39秒前
XL完成签到,获得积分10
40秒前
自信大树完成签到,获得积分10
41秒前
41秒前
43秒前
43秒前
DrPika完成签到,获得积分10
44秒前
44秒前
44秒前
归尘发布了新的文献求助10
44秒前
46秒前
王哇噻完成签到 ,获得积分10
47秒前
寥远星空完成签到,获得积分10
47秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Autoparametric Resonance in Mechanical Systems 1000
Effects of Two Weeks of Red Light Therapy on Choroidal Thickness and Axial Length in Young Adults 700
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 600
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Auslegungsgeschichte 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7662191
求助须知:如何正确求助?哪些是违规求助? 9232137
关于积分的说明 19854626
捐赠科研通 7230336
什么是DOI,文献DOI怎么找? 3282130
关于科研通互助平台的介绍 2441601
邀请新用户注册赠送积分活动 2282857