facebookincubator / go-qfext
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 12 files with 1,209 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (394 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (421 lines of code)
    • 8 very small files (394 lines of code)
0% | 0% | 32% | 34% | 32%
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% | 32% | 34% | 32%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 38% | 27% | 34%
cmd0% | 0% | 0% | 100% | 0%
example0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
qf.go
in root
394 38
packed.go
in root
173 11
main.go
in cmd
141 1
disk.go
in root
107 9
84 3
65 8
config.go
in root
64 7
hash.go
in root
60 2
util.go
in root
59 4
example.go
in example
40 1
vector.go
in root
11 -
reader.go
in root
11 -
Files With Most Units (Top 10)
File# lines# units
qf.go
in root
394 38
packed.go
in root
173 11
disk.go
in root
107 9
65 8
config.go
in root
64 7
util.go
in root
59 4
84 3
hash.go
in root
60 2
main.go
in cmd
141 1
example.go
in example
40 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 2 long lines.

File# lines# units# long lines
packed.go
in root
173 11 2
Correlations

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

disk.go x: 4 commits (all time) y: 107 lines of code reader.go x: 2 commits (all time) y: 11 lines of code cmd/main.go x: 2 commits (all time) y: 141 lines of code serialize.go x: 2 commits (all time) y: 84 lines of code qf.go x: 2 commits (all time) y: 394 lines of code
394.0
lines of code
  min: 11.0
  average: 147.4
  25th percentile: 47.5
  median: 107.0
  75th percentile: 267.5
  max: 394.0
0 4.0
commits (all time)
min: 2.0 | average: 2.4 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 4.0

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

disk.go x: 2 contributors (all time) y: 107 lines of code reader.go x: 1 contributors (all time) y: 11 lines of code cmd/main.go x: 1 contributors (all time) y: 141 lines of code serialize.go x: 1 contributors (all time) y: 84 lines of code qf.go x: 1 contributors (all time) y: 394 lines of code
394.0
lines of code
  min: 11.0
  average: 147.4
  25th percentile: 47.5
  median: 107.0
  75th percentile: 267.5
  max: 394.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | 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".