microsoft / powerbi-visuals-timeline
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 34 files with 2,631 lines of code.
    • 1 very long files (1,192 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (506 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (101 lines of code)
    • 30 very small files (832 lines of code)
45% | 0% | 19% | 3% | 31%
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
ts46% | 0% | 19% | 3% | 29%
less0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src75% | 0% | 18% | 0% | 6%
src/granularity0% | 0% | 34% | 16% | 49%
src/calendars0% | 0% | 0% | 0% | 100%
src/settings0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
style0% | 0% | 0% | 0% | 100%
src/datePeriod0% | 0% | 0% | 0% | 100%
Longest Files (Top 34)
File# lines# units
timeLine.ts
in src
1192 43
utils.ts
in src
296 33
granularityBase.ts
in src/granularity
210 15
granularityData.ts
in src/granularity
101 9
dataInterfaces.ts
in src
98 -
calendar.ts
in src/calendars
96 9
karma.conf.ts
in root
63 -
visual.less
in style
63 -
calendarISO8061.ts
in src/calendars
62 6
weekGranularity.ts
in src/granularity
53 6
yearGranularity.ts
in src/granularity
44 5
dayGranularity.ts
in src/granularity
42 6
monthGranularity.ts
in src/granularity
42 6
quarterGranularity.ts
in src/granularity
40 6
datePeriodBase.ts
in src/datePeriod
39 5
granularityNames.ts
in src/granularity
30 -
granularity.ts
in src/granularity
27 -
settings.ts
in src/settings
24 -
calendarFactory.ts
in src/calendars
22 1
granularitySettings.ts
in src/settings
12 -
datePeriod.ts
in src/datePeriod
11 -
granularityRenderProps.ts
in src/granularity
8 -
granularityName.ts
in src/granularity
7 -
granularityType.ts
in src/granularity
7 -
cellsSettings.ts
in src/settings
6 -
labelsSettings.ts
in src/settings
6 -
weekStandards.ts
in src/calendars
4 -
calendarSettings.ts
in src/settings
4 -
forceSelectionSettings.ts
in src/settings
4 -
generalSettings.ts
in src/settings
4 -
weekDaySettings.ts
in src/settings
4 -
weeksDetermintaionStandardsSettings.ts
in src/settings
4 -
cursorSettings.ts
in src/settings
3 -
scrollAutoAdjustment.ts
in src/settings
3 -
Files With Most Units (Top 13)
File# lines# units
timeLine.ts
in src
1192 43
utils.ts
in src
296 33
granularityBase.ts
in src/granularity
210 15
calendar.ts
in src/calendars
96 9
granularityData.ts
in src/granularity
101 9
calendarISO8061.ts
in src/calendars
62 6
dayGranularity.ts
in src/granularity
42 6
monthGranularity.ts
in src/granularity
42 6
quarterGranularity.ts
in src/granularity
40 6
weekGranularity.ts
in src/granularity
53 6
datePeriodBase.ts
in src/datePeriod
39 5
yearGranularity.ts
in src/granularity
44 5
calendarFactory.ts
in src/calendars
22 1
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 23 long lines.

File# lines# units# long lines
timeLine.ts
in src
1192 43 18
utils.ts
in src
296 33 3
dayGranularity.ts
in src/granularity
42 6 1
monthGranularity.ts
in src/granularity
42 6 1