facebookincubator / osf-builder
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 11 files with 968 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (235 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (482 lines of code)
    • 6 very small files (251 lines of code)
0% | 0% | 24% | 49% | 25%
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
go0% | 0% | 25% | 51% | 23%
inc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
getdeps0% | 0% | 25% | 51% | 23%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
main.go
in getdeps
235 6
fetch.go
in getdeps
150 3
untar.go
in getdeps
111 2
node.go
in getdeps
111 2
git.go
in getdeps
110 3
config.go
in getdeps
80 4
gopkg.go
in getdeps
51 1
files.go
in getdeps
43 1
33 -
urloverrides.go
in getdeps
28 2
cmd.go
in getdeps
16 1
Files With Most Units (Top 10)
File# lines# units
main.go
in getdeps
235 6
config.go
in getdeps
80 4
git.go
in getdeps
110 3
fetch.go
in getdeps
150 3
urloverrides.go
in getdeps
28 2
untar.go
in getdeps
111 2
node.go
in getdeps
111 2
cmd.go
in getdeps
16 1
files.go
in getdeps
43 1
gopkg.go
in getdeps
51 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
main.go
in getdeps
235 6 4
git.go
in getdeps
110 3 2
fetch.go
in getdeps
150 3 2
33 - 1
Correlations

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

Makefile.inc x: 3 commits (all time) y: 33 lines of code
33.0
lines of code
  min: 33.0
  average: 33.0
  25th percentile: 33.0
  median: 33.0
  75th percentile: 33.0
  max: 33.0
0 3.0
commits (all time)
min: 3.0 | average: 3.0 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 3.0 | max: 3.0

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

Makefile.inc x: 2 contributors (all time) y: 33 lines of code
33.0
lines of code
  min: 33.0
  average: 33.0
  25th percentile: 33.0
  median: 33.0
  75th percentile: 33.0
  max: 33.0
0 2.0
contributors (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.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".