facebookresearch / hiplot
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 53 files with 6,405 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,861 lines of code)
    • 9 medium size files (2,442 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (584 lines of code)
    • 37 very small files (1,518 lines of code)
0% | 29% | 38% | 9% | 23%
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
tsx0% | 53% | 15% | 16% | 13%
py0% | 0% | 68% | 0% | 31%
ts0% | 0% | 59% | 0% | 40%
scss0% | 0% | 73% | 0% | 26%
html0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 43% | 30% | 10% | 15%
src/parallel0% | 92% | 0% | 0% | 7%
hiplot0% | 0% | 70% | 0% | 29%
src/lib0% | 0% | 58% | 0% | 41%
src/distribution0% | 0% | 66% | 33% | 0%
src/style0% | 0% | 87% | 0% | 12%
src/tutorial0% | 0% | 0% | 85% | 14%
src/streamlit0% | 0% | 0% | 0% | 100%
src/dataproviders0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
hiplot/templates0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
parallel.tsx
in src/parallel
757 23
plotxy.tsx
in src
566 29
component.tsx
in src
538 16
d3_scales.ts
in src/lib
346 36
infertypes.ts
in src
298 14
experiment.py
in hiplot
294 30
fetchers_demo.py
in hiplot
282 21
rowsdisplaytable.tsx
in src
265 11
plot.tsx
in src/distribution
256 11
bs-dark.scss
in src/style
256 -
fetchers.py
in hiplot
225 17
hiplot.scss
in src
220 -
tutorial.tsx
in src/tutorial
190 18
header.tsx
in src
157 10
plugin.tsx
in src/distribution
129 5
controls.tsx
in src
108 13
streamlit_helpers.py
in hiplot
89 7
filters.ts
in src
89 6
render.py
in hiplot
85 6
StreamlitReact.tsx
in src/streamlit
84 4
ipython.py
in hiplot
80 6
hiplot_streamlit.tsx
in src
77 3
streamlit.ts
in src/streamlit
74 -
webserver.tsx
in src/dataproviders
74 7
types.ts
in src
70 1
contextmenu.tsx
in src
70 8
savedstate.ts
in src/lib
64 7
resizable.tsx
in src/lib
59 4
parallel.scss
in src/parallel
58 -
upload.tsx
in src/dataproviders
58 3
setup.py
in root
41 1
svghelpers.ts
in src/lib
41 2
server.py
in hiplot
39 2
index.html
in hiplot/templates
36 -
plugin.ts
in src
36 -
hiplot_web.tsx
in src
36 2
global.scss
in src/style
34 -
style.scss
in src/tutorial
32 -
categoricalcolors.ts
in src/lib
26 2
compress.py
in hiplot
24 2
upload.scss
in src/dataproviders
24 -
browsercompat.ts
in src/lib
18 3
resizable.scss
in src/lib
17 -
compress.ts
in src/lib
17 1
index_streamlit.html
in src
15 -
__init__.py
in hiplot
10 -
index.tsx
in src/streamlit
9 -
hiplot.tsx
in src
8 -
in
MANIFEST.in
in root
7 -
static.tsx
in src/dataproviders
7 1
Files With Most Units (Top 20)
File# lines# units
d3_scales.ts
in src/lib
346 36
experiment.py
in hiplot
294 30
plotxy.tsx
in src
566 29
parallel.tsx
in src/parallel
757 23
fetchers_demo.py
in hiplot
282 21
tutorial.tsx
in src/tutorial
190 18
fetchers.py
in hiplot
225 17
component.tsx
in src
538 16
infertypes.ts
in src
298 14
controls.tsx
in src
108 13
plot.tsx
in src/distribution
256 11
rowsdisplaytable.tsx
in src
265 11
header.tsx
in src
157 10
contextmenu.tsx
in src
70 8
streamlit_helpers.py
in hiplot
89 7
webserver.tsx
in src/dataproviders
74 7
savedstate.ts
in src/lib
64 7
render.py
in hiplot
85 6
ipython.py
in hiplot
80 6
filters.ts
in src
89 6
Files With Long Lines (Top 20)

There are 24 files with lines longer than 120 characters. In total, there are 112 long lines.

File# lines# units# long lines
component.tsx
in src
538 16 18
plotxy.tsx
in src
566 29 13
tutorial.tsx
in src/tutorial
190 18 11
header.tsx
in src
157 10 10
parallel.tsx
in src/parallel
757 23 9
plot.tsx
in src/distribution
256 11 9
experiment.py
in hiplot
294 30 8
infertypes.ts
in src
298 14 8
fetchers_demo.py
in hiplot
282 21 3
controls.tsx
in src
108 13 3
rowsdisplaytable.tsx
in src
265 11 3
server.py
in hiplot
39 2 2
render.py
in hiplot
85 6 2
__init__.py
in hiplot
10 - 2
upload.tsx
in src/dataproviders
58 3 2
streamlit_helpers.py
in hiplot
89 7 1
setup.py
in root
41 1 1
plugin.ts
in src
36 - 1
plugin.tsx
in src/distribution
129 5 1
bs-dark.scss
in src/style
256 - 1