microsoft / PowerBI-visuals-TimeBrush
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 21 files with 1,231 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (739 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (261 lines of code)
    • 17 very small files (231 lines of code)
0% | 0% | 60% | 21% | 18%
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
ts0% | 0% | 64% | 22% | 12%
scss0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
timebrush/src0% | 0% | 96% | 0% | 3%
timebrush-powerbi/src0% | 0% | 47% | 48% | 4%
timebrush-powerbi/powerbi-visuals-utils0% | 0% | 0% | 0% | 100%
timebrush/css0% | 0% | 0% | 0% | 100%
timebrush-powerbi/src/settings0% | 0% | 0% | 0% | 100%
timebrush/src/base0% | 0% | 0% | 0% | 100%
timebrush-powerbi0% | 0% | 0% | 0% | 100%
timebrush0% | 0% | 0% | 0% | 100%
timebrush-powerbi/src/css0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
TimeBrush.ts
in packages/timebrush/src
480 35
TimeBrushVisual.ts
in packages/timebrush-powerbi/src
259 17
dataConversion.ts
in packages/timebrush-powerbi/src
156 7
state.ts
in packages/timebrush-powerbi/src
105 1
EventEmitter.ts
in packages/timebrush/src/base
29 3
YAxisSettings.ts
in packages/timebrush-powerbi/src/settings
28 -
Base.scss
in packages/timebrush/css
26 -
models.ts
in packages/timebrush-powerbi/src
22 -
wallaby.conf.js
in packages/timebrush-powerbi
20 2
wallaby.conf.js
in packages/timebrush
20 2
models.ts
in packages/timebrush/src
17 -
index.ts
in packages/timebrush-powerbi/powerbi-visuals-utils
13 -
TimeBrushVisual.scss
in packages/timebrush-powerbi/src/css
12 -
TimeBrush.scss
in packages/timebrush/css
11 -
interactivity.ts
in packages/timebrush-powerbi/powerbi-visuals-utils
10 -
formatting.ts
in packages/timebrush-powerbi/powerbi-visuals-utils
8 -
dataview.ts
in packages/timebrush-powerbi/powerbi-visuals-utils
5 -
svg.ts
in packages/timebrush-powerbi/powerbi-visuals-utils
4 -
type.ts
in packages/timebrush-powerbi/powerbi-visuals-utils
3 -
index.ts
in packages/timebrush/src
2 -
index.ts
in packages/timebrush-powerbi/src/settings
1 -
Files With Most Units (Top 7)
File# lines# units
TimeBrush.ts
in packages/timebrush/src
480 35
TimeBrushVisual.ts
in packages/timebrush-powerbi/src
259 17
dataConversion.ts
in packages/timebrush-powerbi/src
156 7
EventEmitter.ts
in packages/timebrush/src/base
29 3
wallaby.conf.js
in packages/timebrush-powerbi
20 2
wallaby.conf.js
in packages/timebrush
20 2
state.ts
in packages/timebrush-powerbi/src
105 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 8 long lines.

File# lines# units# long lines
TimeBrushVisual.ts
in packages/timebrush-powerbi/src
259 17 4
dataConversion.ts
in packages/timebrush-powerbi/src
156 7 2
TimeBrush.ts
in packages/timebrush/src
480 35 2