facebook / Haxl
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 30 files with 5,241 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,638 lines of code)
    • 6 medium size files (1,938 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,071 lines of code)
    • 15 very small files (594 lines of code)
0% | 31% | 36% | 20% | 11%
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
hs0% | 32% | 38% | 17% | 10%
cabal0% | 0% | 0% | 68% | 31%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Haxl/Core0% | 38% | 45% | 13% | 3%
Haxl0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 95% | 4%
example/facebook0% | 0% | 0% | 0% | 100%
example/sql0% | 0% | 0% | 0% | 100%
example/facebook/FB0% | 0% | 0% | 0% | 100%
Haxl/DataSource0% | 0% | 0% | 0% | 100%
Longest Files (Top 30)
File# lines# units
hs
Monad.hs
in Haxl/Core
956 -
hs
Fetch.hs
in Haxl/Core
682 -
hs
DataSource.hs
in Haxl/Core
456 -
hs
Memo.hs
in Haxl/Core
414 -
hs
Exception.hs
in Haxl/Core
301 -
hs
Stats.hs
in Haxl/Core
279 -
hs
Run.hs
in Haxl/Core
265 -
hs
Profile.hs
in Haxl/Core
223 -
hs
Prelude.hs
in Haxl
192 -
hs
DataCache.hs
in Haxl/Core
191 -
cabal
haxl.cabal
in root
179 -
hs
RequestStore.hs
in Haxl/Core
147 -
hs
Parallel.hs
in Haxl/Core
136 -
hs
Core.hs
in Haxl
119 -
hs
Flags.hs
in Haxl/Core
107 -
hs
DataSource.hs
in example/facebook/FB
96 -
hs
Main.hs
in example/sql
88 -
hs
TestFB.hs
in example/facebook
78 -
hs
StateStore.hs
in Haxl/Core
72 -
hs
ConcurrentIO.hs
in Haxl/DataSource
70 -
cabal
haxl-facebook.cabal
in example/facebook
69 -
hs
Util.hs
in Haxl/Core
33 -
hs
CallGraph.hs
in Haxl/Core
28 -
hs
FB.hs
in example/facebook
20 -
hs
ShowP.hs
in Haxl/Core
16 -
cabal
haxl-example.cabal
in example/sql
12 -
stack.yaml
in root
6 -
hs
Setup.hs
in root
2 -
hs
Setup.hs
in example/facebook
2 -
hs
Setup.hs
in example/sql
2 -
Files With Most Units (Top 0)
File# lines# units
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): 26 points

Haxl/Core/Fetch.hs x: 34 commits (all time) y: 682 lines of code Haxl/Core/Flags.hs x: 8 commits (all time) y: 107 lines of code Haxl/Core/DataCache.hs x: 21 commits (all time) y: 191 lines of code Haxl/Core/Monad.hs x: 99 commits (all time) y: 956 lines of code Haxl/Core/Parallel.hs x: 8 commits (all time) y: 136 lines of code Haxl/Core/Run.hs x: 23 commits (all time) y: 265 lines of code Haxl/Core/Exception.hs x: 20 commits (all time) y: 301 lines of code Haxl/Core/Memo.hs x: 24 commits (all time) y: 414 lines of code haxl.cabal x: 76 commits (all time) y: 179 lines of code Haxl/Core.hs x: 39 commits (all time) y: 119 lines of code Haxl/Core/Profile.hs x: 16 commits (all time) y: 223 lines of code Haxl/Core/DataSource.hs x: 13 commits (all time) y: 456 lines of code Haxl/Core/Stats.hs x: 17 commits (all time) y: 279 lines of code Haxl/Core/RequestStore.hs x: 10 commits (all time) y: 147 lines of code Haxl/DataSource/ConcurrentIO.hs x: 5 commits (all time) y: 70 lines of code Haxl/Core/StateStore.hs x: 9 commits (all time) y: 72 lines of code Haxl/Prelude.hs x: 15 commits (all time) y: 192 lines of code example/sql/Main.hs x: 5 commits (all time) y: 88 lines of code Haxl/Core/Util.hs x: 5 commits (all time) y: 33 lines of code Haxl/Core/CallGraph.hs x: 1 commits (all time) y: 28 lines of code example/facebook/FB.hs x: 1 commits (all time) y: 20 lines of code example/facebook/FB/DataSource.hs x: 1 commits (all time) y: 96 lines of code example/facebook/haxl-facebook.cabal x: 2 commits (all time) y: 69 lines of code Haxl/Core/ShowP.hs x: 3 commits (all time) y: 16 lines of code stack.yaml x: 2 commits (all time) y: 6 lines of code example/sql/haxl-example.cabal x: 2 commits (all time) y: 12 lines of code
956.0
lines of code
  min: 6.0
  average: 198.35
  25th percentile: 60.0
  median: 127.5
  75th percentile: 268.5
  max: 956.0
0 99.0
commits (all time)
min: 1.0 | average: 17.65 | 25th percentile: 2.75 | median: 9.5 | 75th percentile: 21.5 | max: 99.0

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

Haxl/Core/Fetch.hs x: 10 contributors (all time) y: 682 lines of code Haxl/Core/Flags.hs x: 6 contributors (all time) y: 107 lines of code Haxl/Core/DataCache.hs x: 13 contributors (all time) y: 191 lines of code Haxl/Core/Monad.hs x: 22 contributors (all time) y: 956 lines of code Haxl/Core/Parallel.hs x: 6 contributors (all time) y: 136 lines of code Haxl/Core/Run.hs x: 9 contributors (all time) y: 265 lines of code Haxl/Core/Exception.hs x: 9 contributors (all time) y: 301 lines of code Haxl/Core/Memo.hs x: 12 contributors (all time) y: 414 lines of code haxl.cabal x: 16 contributors (all time) y: 179 lines of code Haxl/Core.hs x: 12 contributors (all time) y: 119 lines of code Haxl/Core/Profile.hs x: 6 contributors (all time) y: 223 lines of code Haxl/Core/DataSource.hs x: 5 contributors (all time) y: 456 lines of code Haxl/Core/Stats.hs x: 9 contributors (all time) y: 279 lines of code Haxl/Core/RequestStore.hs x: 5 contributors (all time) y: 147 lines of code Haxl/DataSource/ConcurrentIO.hs x: 2 contributors (all time) y: 70 lines of code Haxl/Core/StateStore.hs x: 6 contributors (all time) y: 72 lines of code Haxl/Prelude.hs x: 9 contributors (all time) y: 192 lines of code example/sql/Main.hs x: 4 contributors (all time) y: 88 lines of code Haxl/Core/Util.hs x: 5 contributors (all time) y: 33 lines of code Haxl/Core/CallGraph.hs x: 1 contributors (all time) y: 28 lines of code example/facebook/FB.hs x: 1 contributors (all time) y: 20 lines of code example/facebook/FB/DataSource.hs x: 1 contributors (all time) y: 96 lines of code Haxl/Core/ShowP.hs x: 3 contributors (all time) y: 16 lines of code stack.yaml x: 1 contributors (all time) y: 6 lines of code example/sql/haxl-example.cabal x: 2 contributors (all time) y: 12 lines of code
956.0
lines of code
  min: 6.0
  average: 198.35
  25th percentile: 60.0
  median: 127.5
  75th percentile: 268.5
  max: 956.0
0 22.0
contributors (all time)
min: 1.0 | average: 6.81 | 25th percentile: 2.0 | median: 6.0 | 75th percentile: 9.25 | max: 22.0

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

Haxl/Core/Fetch.hs x: 1 commits (30d) y: 682 lines of code
682.0
lines of code
  min: 682.0
  average: 682.0
  25th percentile: 682.0
  median: 682.0
  75th percentile: 682.0
  max: 682.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

Haxl/Core/Fetch.hs x: 1 contributors (30d) y: 682 lines of code
682.0
lines of code
  min: 682.0
  average: 682.0
  25th percentile: 682.0
  median: 682.0
  75th percentile: 682.0
  max: 682.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

Haxl/Core/Fetch.hs x: 1 commits (90d) y: 682 lines of code Haxl/Core/Flags.hs x: 1 commits (90d) y: 107 lines of code
682.0
lines of code
  min: 107.0
  average: 394.5
  25th percentile: 107.0
  median: 394.5
  75th percentile: 682.0
  max: 682.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

Haxl/Core/Fetch.hs x: 1 contributors (90d) y: 682 lines of code Haxl/Core/Flags.hs x: 1 contributors (90d) y: 107 lines of code
682.0
lines of code
  min: 107.0
  average: 394.5
  25th percentile: 107.0
  median: 394.5
  75th percentile: 682.0
  max: 682.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0