microsoft / powerbi-visuals-dualkpi
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 16 files with 1,566 lines of code.
    • 1 very long files (1,189 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (151 lines of code)
    • 14 very small files (226 lines of code)
75% | 0% | 0% | 9% | 14%
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
ts85% | 0% | 0% | 0% | 14%
less0% | 0% | 0% | 100% | 0%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src97% | 0% | 0% | 0% | 2%
style0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
src/settings0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
visual.ts
in src
1189 37
visual.less
in style
151 -
karma.conf.ts
in root
88 -
dualKpiPropertiesSettings.ts
in src/settings
22 -
settings.ts
in src/settings
20 -
azure-pipelines.yml
in root
18 -
helper.ts
in src
16 1
enums.ts
in src
13 -
dualKpiAxisSettings.ts
in src/settings
8 -
dualKpiFormattingSettings.ts
in src/settings
7 -
dualKpiValuesSettings.ts
in src/settings
7 -
dualKpiColorsBottomSettings.ts
in src/settings
6 -
dualKpiValueFormattingSettings.ts
in src/settings
6 -
dualKpiChartSettings.ts
in src/settings
5 -
dualKpiColorsSettings.ts
in src/settings
5 -
dualKpiTitleFormattingSettings.ts
in src/settings
5 -
Files With Most Units (Top 2)
File# lines# units
visual.ts
in src
1189 37
helper.ts
in src
16 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 45 long lines.

File# lines# units# long lines
visual.ts
in src
1189 37 45