microsoft / checkedc
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 78 files with 18,697 lines of code.
    • 6 very long files (10,779 lines of code)
    • 2 long files (1,679 lines of code)
    • 12 medium size files (3,533 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,214 lines of code)
    • 49 very small files (1,492 lines of code)
57% | 8% | 18% | 6% | 7%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
tex51% | 13% | 25% | 3% | 5%
bib100% | 0% | 0% | 0% | 0%
sty0% | 0% | 57% | 33% | 8%
h0% | 0% | 0% | 41% | 58%
r0% | 0% | 0% | 99% | <1%
TXT0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
spec/bounds_safety66% | 13% | 16% | 1% | 1%
papers/dynamic_checks50% | 0% | 31% | 9% | 8%
include0% | 0% | 0% | 37% | 62%
papers/dynamic_checks/scripts0% | 0% | 0% | 77% | 22%
include/sys0% | 0% | 0% | 87% | 12%
papers/dynamic_checks/tables0% | 0% | 0% | 0% | 100%
spec/bounds_safety/pictures0% | 0% | 0% | 0% | 100%
include/arpa0% | 0% | 0% | 0% | 100%
papers/dynamic_checks/grammars0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
bib
checkedc.bib
in papers/dynamic_checks
2198 -
bib
sources.bib
in spec/bounds_safety
2135 -
tex
checking-variable-bounds.tex
in spec/bounds_safety
2120 -
tex
variable-bounds.tex
in spec/bounds_safety
1566 -
tex
core-extensions.tex
in spec/bounds_safety
1396 -
tex
interoperation.tex
in spec/bounds_safety
1364 -
tex
design-alternatives.tex
in spec/bounds_safety
884 -
tex
related-work.tex
in spec/bounds_safety
795 -
tex
introduction.tex
in spec/bounds_safety
449 -
tex
simple-invariants.tex
in spec/bounds_safety
384 -
tex
lessons.tex
in spec/bounds_safety
328 -
tex
example.tex
in papers/dynamic_checks
316 -
tex
void-ptr-replacements.tex
in spec/bounds_safety
314 -
tex
propagation.tex
in papers/dynamic_checks
277 -
sty
checked_c.sty
in papers/dynamic_checks
269 -
tex
checks.tex
in papers/dynamic_checks
267 -
tex
pointers-to-pointers.tex
in spec/bounds_safety
258 -
tex
overview.tex
in papers/dynamic_checks
226 -
tex
structure-bounds.tex
in spec/bounds_safety
224 -
tex
checkedc.tex
in spec/bounds_safety
221 -
tex
span-compilation.tex
in spec/bounds_safety
182 -
sty
hyperendnotes.sty
in papers/dynamic_checks
157 -
tex
evaluation.tex
in papers/dynamic_checks
155 -
stdio_checked.h
in include
140 -
_builtin_stdio_checked.h
in include
132 -
bm_res.r
in papers/dynamic_checks/scripts
126 -
socket_checked.h
in include/sys
110 -
tex
introduction.tex
in papers/dynamic_checks
107 -
string_checked.h
in include
105 -
tex
propagation_rules.tex
in papers/dynamic_checks
94 -
tex
fragments.tex
in spec/bounds_safety
85 -
stdlib_checked.h
in include
84 -
tex
open-issues.tex
in spec/bounds_safety
81 -
tex
c_syntax.tex
in papers/dynamic_checks
74 -
tex
related_work.tex
in papers/dynamic_checks
69 -
threads_checked.h
in include
67 -
tex
tr02.tex
in papers/dynamic_checks
57 -
_builtin_string_checked.h
in include
56 -
inttypes_checked_internal.h
in include
40 -
tex
abstract.tex
in spec/bounds_safety
39 -
assert_checked.h
in include
38 -
sty
listing-label.sty
in papers/dynamic_checks
38 -
tex
bmdesc.tex
in papers/dynamic_checks/tables
35 -
time_checked.h
in include
32 -
unistd_checked.h
in include
32 -
tex
rel-align-picture1.tex
in spec/bounds_safety/pictures
32 -
tex
bmresults.tex
in papers/dynamic_checks/tables
31 -
math_checked.h
in include
29 -
tex
canonical.tex
in papers/dynamic_checks/tables
29 -
tex
lvalue-expressions.tex
in papers/dynamic_checks/grammars
28 -
Files With Most Units (Top 1)
File# lines# units
checkedc_extensions.h
in include
25 1
Files With Long Lines (Top 16)

There are 16 files with lines longer than 120 characters. In total, there are 102 long lines.

File# lines# units# long lines
bib
checkedc.bib
in papers/dynamic_checks
2198 - 27
bib
sources.bib
in spec/bounds_safety
2135 - 25
tex
related-work.tex
in spec/bounds_safety
795 - 19
tex
checking-variable-bounds.tex
in spec/bounds_safety
2120 - 7
bm_res.r
in papers/dynamic_checks/scripts
126 - 6
tex
example.tex
in papers/dynamic_checks
316 - 4
tex
interoperation.tex
in spec/bounds_safety
1364 - 3
tex
variable-bounds.tex
in spec/bounds_safety
1566 - 3
assert_checked.h
in include
38 - 1
stdlib_checked.h
in include
84 - 1
tex
checks.tex
in papers/dynamic_checks
267 - 1
tex
propagation_rules.tex
in papers/dynamic_checks
94 - 1
tex
checkedc.tex
in spec/bounds_safety
221 - 1
tex
design-alternatives.tex
in spec/bounds_safety
884 - 1
tex
introduction.tex
in spec/bounds_safety
449 - 1
tex
simple-invariants.tex
in spec/bounds_safety
384 - 1