File Size Overall
  • There are 32 files with 2,933 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (835 lines of code)
    • 5 medium size files (1,243 lines of code)
    • 2 small files (278 lines of code)
    • 24 very small files (577 lines of code)
0% | 28% | 42% | 9% | 19%
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% | 41% | 38% | 8% | 11%
scss0% | 0% | 55% | 12% | 32%
html0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
harness0% | 97% | 0% | 0% | 2%
src0% | 0% | 55% | 14% | 29%
ROOT0% | 0% | 100% | 0% | 0%
Longest Files (Top 32)
File# lines# units
curl.js
in harness
835 77
sankeyChart.js
in src/js/components
316 30
_fonts.scss
in src/css
268 -
sankey.js
in src/js
238 27
218 4
_layout.scss
in src/css
203 -
main.js
in src/js
168 10
110 -
_tooltip.scss
in src/css
93 -
config.js
in src/js
75 -
_general.scss
in src/css
53 -
Tooltip.js
in src/js/components
46 3
main.scss
in src/css
45 -
_share.scss
in src/css
35 -
throttle.js
in src/js/lib
31 2
tpl
boot.js.tpl
in src/js
28 -
23 -
share.js
in src/js/lib
21 1
index.html
in harness
19 -
15 -
debounce.js
in src/js/lib
14 2
embed.js
in src/js
13 -
_mq.scss
in src/css
12 -
embed.scss
in src/css
10 -
fetch.js
in src/js/lib
9 1
array.js
in src/js/lib
9 1
boundsprojection.js
in src/js/lib
7 -
chart.html
in src/js/components/templates
6 -
_palette.scss
in src/css
4 -
sheetURL.js
in src/js/lib
4 1
main.html
in src/js/text
4 -
embed.html
in src/js/text
1 -
Files With Most Units (Top 12)
File# lines# units
curl.js
in harness
835 77
sankeyChart.js
in src/js/components
316 30
sankey.js
in src/js
238 27
main.js
in src/js
168 10
218 4
Tooltip.js
in src/js/components
46 3
debounce.js
in src/js/lib
14 2
throttle.js
in src/js/lib
31 2
fetch.js
in src/js/lib
9 1
array.js
in src/js/lib
9 1
sheetURL.js
in src/js/lib
4 1
share.js
in src/js/lib
21 1
Files With Long Lines (Top 7)

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

File# lines# units# long lines
_fonts.scss
in src/css
268 - 52
main.js
in src/js
168 10 5
_share.scss
in src/css
35 - 3
218 4 2
tpl
boot.js.tpl
in src/js
28 - 1
sankeyChart.js
in src/js/components
316 30 1
share.js
in src/js/lib
21 1 1
Correlations

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

src/css/_sankey-chart-view.scss x: 1 commits (all time) y: 23 lines of code src/js/main.js x: 3 commits (all time) y: 168 lines of code src/js/components/sankeyChart.js x: 2 commits (all time) y: 316 lines of code
316.0
lines of code
  min: 23.0
  average: 169.0
  25th percentile: 23.0
  median: 168.0
  75th percentile: 316.0
  max: 316.0
0 3.0
commits (all time)
min: 1.0 | average: 2.0 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.0

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

src/css/_sankey-chart-view.scss x: 1 contributors (all time) y: 23 lines of code src/js/main.js x: 1 contributors (all time) y: 168 lines of code src/js/components/sankeyChart.js x: 1 contributors (all time) y: 316 lines of code
316.0
lines of code
  min: 23.0
  average: 169.0
  25th percentile: 23.0
  median: 168.0
  75th percentile: 316.0
  max: 316.0
0 1.0
contributors (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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...