File Size Overall
  • There are 47 files with 6,099 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,325 lines of code)
    • 9 medium size files (2,337 lines of code)
    • 8 small files (1,188 lines of code)
    • 28 very small files (1,249 lines of code)
0% | 21% | 38% | 19% | 20%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
js0% | 35% | 36% | 23% | 5%
scss0% | 0% | 45% | 14% | 40%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 22% | 39% | 17% | 20%
ROOT0% | 0% | 0% | 100% | 0%
boot0% | 0% | 0% | 0% | 100%
Longest Files (Top 47)
File# lines# units
BowlerCareerChart.js
in src/js/ashes
777 10
BatsmanCareerChart.js
in src/js/ashes
548 9
LineChart.js
in src/js/ashes
378 11
_history.scss
in src/css/modules
320 -
TestMatchMiniChart.js
in src/js/ashes
299 5
detect.js
in src/js/utils
246 22
main.js
in src
244 2
_bowlers-career-charts.scss
in src/css/modules
238 -
_batsmen-career-charts.scss
in src/css/modules
205 -
data.js
in src/js/utils
205 7
_page.scss
in src/css/modules
202 -
192 2
_series-preview.scss
in src/css/modules
170 -
regression.js
in src/js/utils
164 6
_all-series.scss
in src/css/modules
144 -
Bowlers.js
in src/js/ashes
136 3
Batsmen.js
in src/js/ashes
136 3
Series.js
in src/js/ashes
124 3
History.js
in src/js/ashes
122 2
base.html
in src/html
100 -
_mq.scss
in src/css/modules
95 -
_fonts.scss
in src/css/modules
88 -
_vars.scss
in src/css/modules
82 -
_typography.mixins.scss
in src/css/modules
81 -
AshesSummary.js
in src/js/ashes
67 2
_common.scss
in src/css/modules
66 -
main.scss
in src/css
58 -
_palette.scss
in src/css/modules
58 -
_side-margins.scss
in src/css/modules
58 -
_ashes-summary.scss
in src/css/modules
52 -
_typography.config.scss
in src/css/modules
51 -
numbers.js
in src/js/utils
49 -
_career.scss
in src/css/modules
45 -
index.html
in boot
44 -
_grid-system.scss
in src/css/modules
39 -
social.js
in src/js/utils
34 2
getjson.js
in src/js/utils
32 4
socialButtons.html
in src/js/components
30 -
_rem.scss
in src/css/modules
24 -
_grid.scss
in src/css/modules
24 -
_typography.helpers.scss
in src/css/modules
18 -
boot.js
in boot
12 1
_typography.scss
in src/css/modules
12 -
_breakpoints.scss
in src/css/modules
10 -
socialButtons.js
in src/js/components
10 -
subView.js
in src/js
9 1
_sample.scss
in src/css/modules
1 -
Files With Most Units (Top 18)
File# lines# units
detect.js
in src/js/utils
246 22
LineChart.js
in src/js/ashes
378 11
BowlerCareerChart.js
in src/js/ashes
777 10
BatsmanCareerChart.js
in src/js/ashes
548 9
data.js
in src/js/utils
205 7
regression.js
in src/js/utils
164 6
TestMatchMiniChart.js
in src/js/ashes
299 5
getjson.js
in src/js/utils
32 4
Series.js
in src/js/ashes
124 3
Bowlers.js
in src/js/ashes
136 3
Batsmen.js
in src/js/ashes
136 3
192 2
AshesSummary.js
in src/js/ashes
67 2
History.js
in src/js/ashes
122 2
social.js
in src/js/utils
34 2
main.js
in src
244 2
boot.js
in boot
12 1
subView.js
in src/js
9 1
Files With Long Lines (Top 12)

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

File# lines# units# long lines
numbers.js
in src/js/utils
49 - 30
_fonts.scss
in src/css/modules
88 - 22
index.html
in boot
44 - 17
base.html
in src/html
100 - 10
BowlerCareerChart.js
in src/js/ashes
777 10 8
BatsmanCareerChart.js
in src/js/ashes
548 9 2
regression.js
in src/js/utils
164 6 2
detect.js
in src/js/utils
246 22 2
_series-preview.scss
in src/css/modules
170 - 1
LineChart.js
in src/js/ashes
378 11 1
Series.js
in src/js/ashes
124 3 1
main.js
in src
244 2 1
Correlations

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

src/css/main.scss x: 2 commits (all time) y: 58 lines of code src/css/modules/_all-series.scss x: 4 commits (all time) y: 144 lines of code src/css/modules/_batsmen-career-charts.scss x: 10 commits (all time) y: 205 lines of code src/css/modules/_bowlers-career-charts.scss x: 9 commits (all time) y: 238 lines of code src/css/modules/_common.scss x: 2 commits (all time) y: 66 lines of code src/css/modules/_history.scss x: 7 commits (all time) y: 320 lines of code src/css/modules/_mq.scss x: 2 commits (all time) y: 95 lines of code src/css/modules/_series-preview.scss x: 6 commits (all time) y: 170 lines of code src/html/base.html x: 21 commits (all time) y: 100 lines of code src/js/ashes/BatsmanCareerChart.js x: 5 commits (all time) y: 548 lines of code src/js/ashes/BowlerCareerChart.js x: 6 commits (all time) y: 777 lines of code src/js/ashes/LineChart.js x: 2 commits (all time) y: 378 lines of code src/js/ashes/Series.js x: 4 commits (all time) y: 124 lines of code src/js/utils/data.js x: 4 commits (all time) y: 205 lines of code src/main.js x: 9 commits (all time) y: 244 lines of code src/css/modules/_page.scss x: 9 commits (all time) y: 202 lines of code src/js/ashes/History.js x: 6 commits (all time) y: 122 lines of code src/js/utils/social.js x: 3 commits (all time) y: 34 lines of code src/js/ashes/Batsmen.js x: 4 commits (all time) y: 136 lines of code src/js/ashes/Bowlers.js x: 5 commits (all time) y: 136 lines of code src/js/ashes/TestMatchMiniChart.js x: 2 commits (all time) y: 299 lines of code src/css/modules/_typography.config.scss x: 2 commits (all time) y: 51 lines of code Gruntfile.js x: 1 commits (all time) y: 192 lines of code boot/boot.js x: 1 commits (all time) y: 12 lines of code boot/index.html x: 1 commits (all time) y: 44 lines of code src/css/modules/_ashes-summary.scss x: 1 commits (all time) y: 52 lines of code src/css/modules/_fonts.scss x: 1 commits (all time) y: 88 lines of code src/css/modules/_grid-system.scss x: 1 commits (all time) y: 39 lines of code src/css/modules/_grid.scss x: 1 commits (all time) y: 24 lines of code src/css/modules/_palette.scss x: 1 commits (all time) y: 58 lines of code src/css/modules/_sample.scss x: 1 commits (all time) y: 1 lines of code src/css/modules/_typography.helpers.scss x: 1 commits (all time) y: 18 lines of code src/css/modules/_typography.mixins.scss x: 1 commits (all time) y: 81 lines of code src/js/ashes/AshesSummary.js x: 1 commits (all time) y: 67 lines of code src/js/components/socialButtons.html x: 1 commits (all time) y: 30 lines of code src/js/subView.js x: 1 commits (all time) y: 9 lines of code src/js/utils/detect.js x: 1 commits (all time) y: 246 lines of code src/js/utils/getjson.js x: 1 commits (all time) y: 32 lines of code src/js/utils/regression.js x: 1 commits (all time) y: 164 lines of code
777.0
lines of code
  min: 1.0
  average: 129.77
  25th percentile: 34.0
  median: 81.0
  75th percentile: 192.0
  max: 777.0
0 21.0
commits (all time)
min: 1.0 | average: 3.17 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 4.0 | max: 21.0

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

src/css/main.scss x: 1 contributors (all time) y: 58 lines of code src/css/modules/_all-series.scss x: 2 contributors (all time) y: 144 lines of code src/css/modules/_batsmen-career-charts.scss x: 2 contributors (all time) y: 205 lines of code src/css/modules/_bowlers-career-charts.scss x: 2 contributors (all time) y: 238 lines of code src/css/modules/_common.scss x: 1 contributors (all time) y: 66 lines of code src/css/modules/_history.scss x: 2 contributors (all time) y: 320 lines of code src/css/modules/_mq.scss x: 1 contributors (all time) y: 95 lines of code src/css/modules/_series-preview.scss x: 1 contributors (all time) y: 170 lines of code src/html/base.html x: 2 contributors (all time) y: 100 lines of code src/js/ashes/BatsmanCareerChart.js x: 1 contributors (all time) y: 548 lines of code src/js/ashes/BowlerCareerChart.js x: 2 contributors (all time) y: 777 lines of code src/js/ashes/LineChart.js x: 1 contributors (all time) y: 378 lines of code src/js/ashes/Series.js x: 1 contributors (all time) y: 124 lines of code src/js/utils/data.js x: 1 contributors (all time) y: 205 lines of code src/main.js x: 2 contributors (all time) y: 244 lines of code src/css/modules/_page.scss x: 2 contributors (all time) y: 202 lines of code src/js/ashes/History.js x: 2 contributors (all time) y: 122 lines of code src/js/utils/social.js x: 2 contributors (all time) y: 34 lines of code src/js/ashes/Batsmen.js x: 1 contributors (all time) y: 136 lines of code src/js/ashes/TestMatchMiniChart.js x: 1 contributors (all time) y: 299 lines of code src/css/modules/_typography.config.scss x: 2 contributors (all time) y: 51 lines of code Gruntfile.js x: 1 contributors (all time) y: 192 lines of code boot/boot.js x: 1 contributors (all time) y: 12 lines of code boot/index.html x: 1 contributors (all time) y: 44 lines of code src/css/modules/_ashes-summary.scss x: 1 contributors (all time) y: 52 lines of code src/css/modules/_fonts.scss x: 1 contributors (all time) y: 88 lines of code src/css/modules/_grid-system.scss x: 1 contributors (all time) y: 39 lines of code src/css/modules/_grid.scss x: 1 contributors (all time) y: 24 lines of code src/css/modules/_sample.scss x: 1 contributors (all time) y: 1 lines of code src/css/modules/_typography.helpers.scss x: 1 contributors (all time) y: 18 lines of code src/css/modules/_typography.mixins.scss x: 1 contributors (all time) y: 81 lines of code src/js/components/socialButtons.html x: 1 contributors (all time) y: 30 lines of code src/js/subView.js x: 1 contributors (all time) y: 9 lines of code src/js/utils/detect.js x: 1 contributors (all time) y: 246 lines of code src/js/utils/getjson.js x: 1 contributors (all time) y: 32 lines of code src/js/utils/regression.js x: 1 contributors (all time) y: 164 lines of code
777.0
lines of code
  min: 1.0
  average: 129.77
  25th percentile: 34.0
  median: 81.0
  75th percentile: 192.0
  max: 777.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.23 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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".

About This Analysis
  • 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...