microsoft / vsts-team-calendar
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 5,588 lines of code.
    • 1 very long files (1,028 lines of code)
    • 3 long files (1,846 lines of code)
    • 5 medium size files (1,527 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (569 lines of code)
    • 21 very small files (618 lines of code)
18% | 33% | 27% | 10% | 11%
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
tsx50% | 24% | 10% | 7% | 6%
ts0% | 42% | 41% | 8% | 8%
scss0% | 0% | 0% | 67% | 32%
html0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
legacy/src/Calendar45% | 32% | 15% | 5% | 1%
legacy/src/Calendar/EventSources0% | 58% | 29% | 11% | 0%
src0% | 27% | 48% | 8% | 15%
legacy/src/Calendar/Style0% | 0% | 0% | 100% | 0%
legacy/src/Calendar/Utils0% | 0% | 0% | 0% | 100%
legacy/static0% | 0% | 0% | 0% | 100%
legacy/src/Calendar/Enhancers0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
legacy0% | 0% | 0% | 0% | 100%
Longest Files (Top 34)
File# lines# units
Views.tsx
in legacy/src/Calendar
1028 49
Dialogs.ts
in legacy/src/Calendar
740 38
VSOCapacityEventSource.ts
in legacy/src/Calendar/EventSources
599 18
Calendar.tsx
in src
507 10
VSOCapacityEventSource.ts
in src
443 5
Calendar.ts
in legacy/src/Calendar
353 22
FreeFormEventsSource.ts
in legacy/src/Calendar/EventSources
297 15
FreeFormEventSource.ts
in src
228 1
AddEditDaysOffDialog.tsx
in src
206 2
AddEditEventDialog.tsx
in src
160 1
style.scss
in legacy/src/Calendar/Style
154 -
Contracts.ts
in legacy/src/Calendar
133 -
VSOIterationEventSource.ts
in legacy/src/Calendar/EventSources
122 8
SummaryComponent.tsx
in src
90 2
Calendar.scss
in src
74 -
TimeLib.ts
in src
54 7
Color.ts
in legacy/src/Calendar/Utils
53 2
Promise.ts
in legacy/src/Calendar/Utils
51 3
calendar.html
in legacy/static
34 -
Date.ts
in legacy/src/Calendar/Utils
33 4
MessageDialog.tsx
in src
31 1
daysOffControls.html
in legacy/static
29 -
freeFormControls.html
in legacy/static
29 -
CalendarServices.ts
in legacy/src/Calendar
22 -
calendarServices.html
in legacy/static
22 -
Color.ts
in src
18 1
VSOCapacityEnhancer.ts
in legacy/src/Calendar/Enhancers
16 3
FreeFormEnhancer.ts
in legacy/src/Calendar/Enhancers
15 3
azure-pipelines-steps.yml
in root
11 -
azure-pipelines.yml
in root
11 -
Extension.tsx
in legacy/src/Calendar
8 -
Guid.ts
in legacy/src/Calendar/Utils
7 -
calendar.html
in src
7 -
postcss.config.js
in legacy
3 -
Files With Most Units (Top 20)
File# lines# units
Views.tsx
in legacy/src/Calendar
1028 49
Dialogs.ts
in legacy/src/Calendar
740 38
Calendar.ts
in legacy/src/Calendar
353 22
VSOCapacityEventSource.ts
in legacy/src/Calendar/EventSources
599 18
FreeFormEventsSource.ts
in legacy/src/Calendar/EventSources
297 15
Calendar.tsx
in src
507 10
VSOIterationEventSource.ts
in legacy/src/Calendar/EventSources
122 8
TimeLib.ts
in src
54 7
VSOCapacityEventSource.ts
in src
443 5
Date.ts
in legacy/src/Calendar/Utils
33 4
FreeFormEnhancer.ts
in legacy/src/Calendar/Enhancers
15 3
VSOCapacityEnhancer.ts
in legacy/src/Calendar/Enhancers
16 3
Promise.ts
in legacy/src/Calendar/Utils
51 3
Color.ts
in legacy/src/Calendar/Utils
53 2
AddEditDaysOffDialog.tsx
in src
206 2
SummaryComponent.tsx
in src
90 2
AddEditEventDialog.tsx
in src
160 1
Color.ts
in src
18 1
FreeFormEventSource.ts
in src
228 1
MessageDialog.tsx
in src
31 1
Files With Long Lines (Top 19)

There are 19 files with lines longer than 120 characters. In total, there are 85 long lines.

File# lines# units# long lines
Views.tsx
in legacy/src/Calendar
1028 49 14
Calendar.tsx
in src
507 10 11
VSOCapacityEventSource.ts
in src
443 5 10
Dialogs.ts
in legacy/src/Calendar
740 38 9
FreeFormEventSource.ts
in src
228 1 9
Calendar.ts
in legacy/src/Calendar
353 22 5
AddEditDaysOffDialog.tsx
in src
206 2 5
VSOCapacityEventSource.ts
in legacy/src/Calendar/EventSources
599 18 4
AddEditEventDialog.tsx
in src
160 1 3
SummaryComponent.tsx
in src
90 2 3
FreeFormEnhancer.ts
in legacy/src/Calendar/Enhancers
15 3 2
VSOCapacityEnhancer.ts
in legacy/src/Calendar/Enhancers
16 3 2
FreeFormEventsSource.ts
in legacy/src/Calendar/EventSources
297 15 2
VSOIterationEventSource.ts
in legacy/src/Calendar/EventSources
122 8 1
calendarServices.html
in legacy/static
22 - 1
daysOffControls.html
in legacy/static
29 - 1
freeFormControls.html
in legacy/static
29 - 1
Color.ts
in src
18 1 1
TimeLib.ts
in src
54 7 1