microsoft / PowerBI-visuals-CardBrowser
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 42 files with 3,169 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,012 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (998 lines of code)
    • 32 very small files (1,159 lines of code)
0% | 0% | 31% | 31% | 36%
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
scss0% | 0% | 61% | 14% | 24%
ts0% | 0% | 50% | 36% | 12%
js0% | 0% | 0% | 52% | 47%
handlebars0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 47% | 34% | 18%
style0% | 0% | 100% | 0% | 0%
lib/@uncharted/cards/src/components/card0% | 0% | 53% | 29% | 17%
lib/@uncharted/cards/src/components/inlineCardsView0% | 0% | 0% | 86% | 13%
lib/@uncharted/cards/src/components/readerContent0% | 0% | 0% | 50% | 49%
lib/@uncharted/cards/src/components/cards0% | 0% | 0% | 91% | 8%
lib/@uncharted/cards/src/util0% | 0% | 0% | 58% | 41%
lib/@uncharted/cards/src/components/verticalReader0% | 0% | 0% | 0% | 100%
lib/@uncharted/cards/src/components/wrappedCardsView0% | 0% | 0% | 0% | 100%
lib/@uncharted/cards/src/components/headerImage0% | 0% | 0% | 0% | 100%
lib/@uncharted/cards/src/style0% | 0% | 0% | 0% | 100%
lib/@uncharted/cards/example0% | 0% | 0% | 0% | 100%
lib/@uncharted/cards/src/components0% | 0% | 0% | 0% | 100%
lib/@uncharted/cards/src/handlebarHelper0% | 0% | 0% | 0% | 100%
lib/@uncharted/cards/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
VisualMain.ts
in src
409 14
visual.scss
in style
340 -
_card.scss
in lib/@uncharted/cards/src/components/card
263 -
dataConversion.ts
in src
182 10
inlineCardsView.js
in lib/@uncharted/cards/src/components/inlineCardsView
174 11
card.js
in lib/@uncharted/cards/src/components/card
143 16
_readerContent.scss
in lib/@uncharted/cards/src/components/readerContent
142 -
cards.js
in lib/@uncharted/cards/src/components/cards
132 16
IBindable.js
in lib/@uncharted/cards/src/util
114 9
utils.ts
in src
111 10
_base.scss
in lib/@uncharted/cards/src/style
97 -
verticalReader.js
in lib/@uncharted/cards/src/components/verticalReader
95 13
constants.ts
in src
92 -
handlebars
card.handlebars
in lib/@uncharted/cards/src/components/card
85 -
headerImage.js
in lib/@uncharted/cards/src/components/headerImage
79 5
wrappedCardsView.js
in lib/@uncharted/cards/src/components/wrappedCardsView
77 11
readerContent.js
in lib/@uncharted/cards/src/components/readerContent
76 6
style.css
in lib/@uncharted/cards/example
63 -
handlebars
readerContent.handlebars
in lib/@uncharted/cards/src/components/readerContent
61 -
images.js
in lib/@uncharted/cards/src/util
50 1
_verticalReader.scss
in lib/@uncharted/cards/src/components/verticalReader
46 -
constants.js
in lib/@uncharted/cards/src/components
38 -
_headerImage.scss
in lib/@uncharted/cards/src/components/headerImage
37 -
linkify.js
in lib/@uncharted/cards/src/handlebarHelper
30 6
handlebars
wrappedCardsView.handlebars
in lib/@uncharted/cards/src/components/wrappedCardsView
29 -
scroll.js
in lib/@uncharted/cards/src/util
27 3
handlebars
visual.handlebars
in src
24 -
sandboxPolyfill.js
in src
23 1
_wrappedCardsView.scss
in lib/@uncharted/cards/src/components/wrappedCardsView
18 -
_inlineCardsView.scss
in lib/@uncharted/cards/src/components/inlineCardsView
17 -
handlebars
verticalReader.handlebars
in lib/@uncharted/cards/src/components/verticalReader
16 -
types.ts
in src
11 -
_variables.scss
in lib/@uncharted/cards/src/components
10 -
handlebars
inlineCardsView.handlebars
in lib/@uncharted/cards/src/components/inlineCardsView
10 -
main.scss
in lib/@uncharted/cards/src
10 -
cardImages.js
in lib/@uncharted/cards/src/handlebarHelper
8 1
handlebars
cards.handlebars
in lib/@uncharted/cards/src/components/cards
7 -
isImageDataUrl.js
in lib/@uncharted/cards/src/handlebarHelper
7 1
handlebars
loader.handlebars
in src
6 -
_cards.scss
in lib/@uncharted/cards/src/components/cards
5 -
index.js
in lib/@uncharted/cards/src/util
3 -
index.js
in lib/@uncharted/cards/src
2 -
Files With Most Units (Top 17)
File# lines# units
card.js
in lib/@uncharted/cards/src/components/card
143 16
cards.js
in lib/@uncharted/cards/src/components/cards
132 16
VisualMain.ts
in src
409 14
verticalReader.js
in lib/@uncharted/cards/src/components/verticalReader
95 13
inlineCardsView.js
in lib/@uncharted/cards/src/components/inlineCardsView
174 11
wrappedCardsView.js
in lib/@uncharted/cards/src/components/wrappedCardsView
77 11
dataConversion.ts
in src
182 10
utils.ts
in src
111 10
IBindable.js
in lib/@uncharted/cards/src/util
114 9
readerContent.js
in lib/@uncharted/cards/src/components/readerContent
76 6
linkify.js
in lib/@uncharted/cards/src/handlebarHelper
30 6
headerImage.js
in lib/@uncharted/cards/src/components/headerImage
79 5
scroll.js
in lib/@uncharted/cards/src/util
27 3
cardImages.js
in lib/@uncharted/cards/src/handlebarHelper
8 1
isImageDataUrl.js
in lib/@uncharted/cards/src/handlebarHelper
7 1
images.js
in lib/@uncharted/cards/src/util
50 1
sandboxPolyfill.js
in src
23 1
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 37 long lines.

File# lines# units# long lines
handlebars
card.handlebars
in lib/@uncharted/cards/src/components/card
85 - 7
card.js
in lib/@uncharted/cards/src/components/card
143 16 7
inlineCardsView.js
in lib/@uncharted/cards/src/components/inlineCardsView
174 11 6
headerImage.js
in lib/@uncharted/cards/src/components/headerImage
79 5 4
handlebars
readerContent.handlebars
in lib/@uncharted/cards/src/components/readerContent
61 - 4
cards.js
in lib/@uncharted/cards/src/components/cards
132 16 2
wrappedCardsView.js
in lib/@uncharted/cards/src/components/wrappedCardsView
77 11 2
verticalReader.js
in lib/@uncharted/cards/src/components/verticalReader
95 13 1
isImageDataUrl.js
in lib/@uncharted/cards/src/handlebarHelper
7 1 1
IBindable.js
in lib/@uncharted/cards/src/util
114 9 1
scroll.js
in lib/@uncharted/cards/src/util
27 3 1
sandboxPolyfill.js
in src
23 1 1