opensearch-project / dashboards-visualizations
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 803 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (233 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (313 lines of code)
    • 9 very small files (257 lines of code)
0% | 0% | 29% | 38% | 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
tsx0% | 0% | 46% | 37% | 15%
ts0% | 0% | 0% | 41% | 58%
scss0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
public/components0% | 0% | 46% | 37% | 15%
public0% | 0% | 0% | 57% | 42%
server/routes0% | 0% | 0% | 0% | 100%
server0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
options_editor.tsx
in gantt-chart/public/components
233 -
gantt_chart.tsx
in gantt-chart/public/components
191 -
gantt_vis_type.ts
in gantt-chart/public
122 1
gantt_chart_editor.tsx
in gantt-chart/public/components
79 1
index.ts
in gantt-chart/server/routes
55 1
gantt_request_handler.ts
in gantt-chart/public
51 -
plugin.ts
in gantt-chart/server
26 4
plugin.ts
in gantt-chart/public
24 3
index.ts
in gantt-chart/public
10 -
index.ts
in gantt-chart/server
6 1
index.scss
in gantt-chart/public
4 -
types.ts
in gantt-chart/server
2 -
Files With Most Units (Top 6)
File# lines# units
plugin.ts
in gantt-chart/server
26 4
plugin.ts
in gantt-chart/public
24 3
gantt_vis_type.ts
in gantt-chart/public
122 1
gantt_chart_editor.tsx
in gantt-chart/public/components
79 1
index.ts
in gantt-chart/server
6 1
index.ts
in gantt-chart/server/routes
55 1
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