Open
Bug 1415819
(deadcode-codecoverage)
Opened 7 years ago
Updated 2 years ago
[meta] Delete dead code using the files with zero coverage report
Categories
(Testing :: Code Coverage, enhancement)
Testing
Code Coverage
Tracking
(Not tracked)
NEW
People
(Reporter: marco, Unassigned)
References
(Depends on 5 open bugs, Blocks 1 open bug, )
Details
(Keywords: meta)
The files with zero coverage report (https://marco-c.github.io/code-coverage-reports/) can give an idea of files that might be dead code.
We can't simply remove all of them, since some might simply be untested, but many of the completely untested files are indeed dead code.
Removing these files has several benefits:
1) Reduce build times;
2) Reduce the size of the resulting binary;
3) Reduce attack surface, if the files contain code that might be executable in some corner case that we don't actively support anymore (e.g. bug 1413854).
Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Alias: deadcode-codecoverage
Version: Version 3 → unspecified
Updated•7 years ago
|
Blocks: code-coverage
Reporter | ||
Updated•7 years ago
|
See Also: → untestedcode-codecoverage
Depends on: 1449610
Updated•5 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•