microsoft / ftl-sdk
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 44 files with 6,173 lines of code.
    • 1 very long files (1,473 lines of code)
    • 1 long files (655 lines of code)
    • 9 medium size files (2,739 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (285 lines of code)
    • 31 very small files (1,021 lines of code)
23% | 10% | 44% | 4% | 16%
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
c28% | 12% | 37% | 5% | 15%
h0% | 0% | 76% | 0% | 23%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
libftl43% | 0% | 55% | 0% | <1%
ftl_app0% | 34% | 45% | 0% | 20%
libftl/hmac0% | 0% | 0% | 68% | 31%
libftl/gettimeofday0% | 0% | 0% | 83% | 16%
libftl/posix0% | 0% | 0% | 0% | 100%
libftl/win320% | 0% | 0% | 0% | 100%
ftl_app/win320% | 0% | 0% | 0% | 100%
ftl_app/posix0% | 0% | 0% | 0% | 100%
Longest Files (Top 44)
File# lines# units
media.c
in libftl
1473 35
nalu.c
in ftl_app
655 6
handshake.c
in libftl
438 8
main.c
in ftl_app
368 4
ftl-sdk.c
in libftl
336 14
ftl_private.h
in libftl
332 -
ingest.c
in libftl
330 6
file_parser.c
in ftl_app
268 14
ftl.h
in libftl
238 -
dec_obj.h
in ftl_app
225 -
ftl_helpers.c
in libftl
204 13
sha2.c
in libftl/hmac
179 -
gettimeofday.c
in libftl/gettimeofday
106 12
threads.c
in libftl/posix
93 14
bitstream.c
in ftl_app
88 8
threads.c
in libftl/win32
88 14
utils.c
in ftl_app
86 2
decode.c
in ftl_app
72 2
socket.c
in libftl/posix
70 10
socket.c
in libftl/win32
64 10
xgetopt.c
in ftl_app/win32
59 1
hmac.c
in libftl/hmac
46 1
gettimeofday.c
in ftl_app
44 4
file_parser.h
in ftl_app
39 -
threads.h
in libftl/posix
36 -
sha2.h
in libftl/hmac
35 -
threads.h
in libftl/win32
26 -
ctrlc_handler.c
in ftl_app/win32
23 4
gettimeofday.h
in libftl/gettimeofday
21 -
bitstream.h
in ftl_app
16 -
main.h
in ftl_app
16 -
ctrlc_handler.c
in ftl_app/posix
16 4
socket.h
in libftl/posix
15 -
logging.c
in libftl
12 1
init.c
in libftl
11 1
socket.h
in libftl/win32
11 -
gettimeofday.h
in ftl_app
9 -
nalu.h
in ftl_app
7 -
utils.h
in ftl_app
6 -
xgetopt.h
in ftl_app/win32
6 -
decode.h
in ftl_app
3 -
cavlc.c
in ftl_app
1 -
cavlc.h
in ftl_app
1 -
hmac.h
in libftl/hmac
1 -
Files With Most Units (Top 20)
File# lines# units
media.c
in libftl
1473 35
file_parser.c
in ftl_app
268 14
ftl-sdk.c
in libftl
336 14
threads.c
in libftl/posix
93 14
threads.c
in libftl/win32
88 14
ftl_helpers.c
in libftl
204 13
gettimeofday.c
in libftl/gettimeofday
106 12
socket.c
in libftl/posix
70 10
socket.c
in libftl/win32
64 10
bitstream.c
in ftl_app
88 8
handshake.c
in libftl
438 8
nalu.c
in ftl_app
655 6
ingest.c
in libftl
330 6
gettimeofday.c
in ftl_app
44 4
main.c
in ftl_app
368 4
ctrlc_handler.c
in ftl_app/posix
16 4
ctrlc_handler.c
in ftl_app/win32
23 4
decode.c
in ftl_app
72 2
utils.c
in ftl_app
86 2
xgetopt.c
in ftl_app/win32
59 1
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 86 long lines.

File# lines# units# long lines
media.c
in libftl
1473 35 31
handshake.c
in libftl
438 8 22
nalu.c
in ftl_app
655 6 10
ftl-sdk.c
in libftl
336 14 5
ftl.h
in libftl
238 - 5
main.c
in ftl_app
368 4 4
ftl_private.h
in libftl
332 - 3
decode.c
in ftl_app
72 2 2
ingest.c
in libftl
330 6 2
utils.c
in ftl_app
86 2 1
logging.c
in libftl
12 1 1