microsoft / powerbi-visuals-globemap
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 2,926 lines of code.
    • 1 very long files (1,385 lines of code)
    • 1 long files (542 lines of code)
    • 1 medium size files (458 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (128 lines of code)
    • 8 very small files (413 lines of code)
47% | 18% | 15% | 4% | 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
ts56% | 22% | 0% | 5% | 15%
js0% | 0% | 100% | 0% | 0%
less0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src82% | 0% | 0% | 0% | 17%
src/geocoder0% | 75% | 0% | 17% | 6%
src/lib0% | 0% | 100% | 0% | 0%
src/UrlUtils0% | 0% | 0% | 0% | 100%
style0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
globemap.ts
in src
1385 53
geocoder.ts
in src/geocoder
542 36
OrbitControls.js
in src/lib
458 41
geocodingCache.ts
in src/geocoder
128 7
visualLayout.ts
in src
93 16
bingmap.ts
in src
86 10
dataInterfaces.ts
in src
65 -
UrlUtils.ts
in src/UrlUtils
55 5
geocoderInterfaces.ts
in src/geocoder
46 -
columns.ts
in src
33 2
globemap.less
in style
27 -
settings.ts
in src
8 -
Files With Most Units (Top 8)
File# lines# units
globemap.ts
in src
1385 53
OrbitControls.js
in src/lib
458 41
geocoder.ts
in src/geocoder
542 36
visualLayout.ts
in src
93 16
bingmap.ts
in src
86 10
geocodingCache.ts
in src/geocoder
128 7
UrlUtils.ts
in src/UrlUtils
55 5
columns.ts
in src
33 2
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 97 long lines.

File# lines# units# long lines
globemap.ts
in src
1385 53 62
geocoder.ts
in src/geocoder
542 36 22
geocoderInterfaces.ts
in src/geocoder
46 - 5
OrbitControls.js
in src/lib
458 41 3
bingmap.ts
in src
86 10 2
geocodingCache.ts
in src/geocoder
128 7 2
UrlUtils.ts
in src/UrlUtils
55 5 1