facebook / netconsd
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 22 files with 2,810 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (570 lines of code)
    • 3 medium size files (1,046 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (754 lines of code)
    • 12 very small files (440 lines of code)
0% | 20% | 37% | 26% | 15%
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
c0% | 25% | 46% | 24% | 4%
py0% | 0% | 0% | 100% | 0%
cc0% | 0% | 0% | 100% | 0%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ncrx0% | 46% | 29% | 18% | 5%
ROOT0% | 0% | 42% | 48% | 9%
util0% | 0% | 100% | 0% | 0%
modules0% | 0% | 0% | 76% | 23%
include0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
libncrx.c
in ncrx
570 23
worker.c
in root
375 24
nctx.c
in ncrx
362 11
309 13
threads.c
in root
169 10
listener.c
in root
129 6
main.c
in root
125 5
ncrx.c
in ncrx
123 1
105 6
logger.cc
in modules
103 2
output.c
in root
80 3
common.h
in include
59 3
log.h
in include
56 -
jhash.h
in include
55 2
ncrx.h
in ncrx
33 -
printer.c
in modules
31 3
29 -
worker.h
in include
28 -
msgbuf-struct.h
in include
26 -
listener.h
in include
23 -
threads.h
in include
10 -
output.h
in include
10 -
Files With Most Units (Top 14)
File# lines# units
worker.c
in root
375 24
libncrx.c
in ncrx
570 23
309 13
nctx.c
in ncrx
362 11
threads.c
in root
169 10
105 6
listener.c
in root
129 6
main.c
in root
125 5
common.h
in include
59 3
printer.c
in modules
31 3
output.c
in root
80 3
jhash.h
in include
55 2
logger.cc
in modules
103 2
ncrx.c
in ncrx
123 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines
Correlations

File Size vs. Commits (all time): 6 points

util/netconsblaster.c x: 6 commits (all time) y: 309 lines of code threads.c x: 1 commits (all time) y: 169 lines of code ncrx/libncrx.c x: 1 commits (all time) y: 570 lines of code modules/logger.cc x: 3 commits (all time) y: 103 lines of code modules/printer.c x: 1 commits (all time) y: 31 lines of code main.c x: 1 commits (all time) y: 125 lines of code
570.0
lines of code
  min: 31.0
  average: 217.83
  25th percentile: 85.0
  median: 147.0
  75th percentile: 374.25
  max: 570.0
0 6.0
commits (all time)
min: 1.0 | average: 2.17 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.75 | max: 6.0

File Size vs. Contributors (all time): 6 points

util/netconsblaster.c x: 2 contributors (all time) y: 309 lines of code threads.c x: 1 contributors (all time) y: 169 lines of code ncrx/libncrx.c x: 1 contributors (all time) y: 570 lines of code modules/logger.cc x: 2 contributors (all time) y: 103 lines of code modules/printer.c x: 1 contributors (all time) y: 31 lines of code main.c x: 1 contributors (all time) y: 125 lines of code
570.0
lines of code
  min: 31.0
  average: 217.83
  25th percentile: 85.0
  median: 147.0
  75th percentile: 374.25
  max: 570.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".