microsoft / contact-card
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 24 files with 1,342 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (470 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (304 lines of code)
    • 20 very small files (568 lines of code)
0% | 0% | 35% | 22% | 42%
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
tsx0% | 0% | 48% | 0% | 51%
ts0% | 0% | 64% | 0% | 35%
scss0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 45% | 54%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 60% | 23% | 16%
scripts0% | 0% | 0% | 78% | 21%
src/contactCard0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/supporting0% | 0% | 0% | 0% | 100%
config/jest0% | 0% | 0% | 0% | 100%
config0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
PersonaWithCard.tsx
in src
254 5
GraphService.ts
in src
216 15
PersonaWithCard.scss
in src
179 -
build.js
in scripts
125 1
Summary.tsx
in src/contactCard
84 3
OrgDetails.tsx
in src/contactCard
79 4
Persona.tsx
in src
68 6
jest.config.js
in root
57 -
ContactDetails.tsx
in src/contactCard
39 1
test.js
in scripts
35 2
azure-pipelines.yml
in root
31 -
Profile.ts
in src/supporting
29 2
Types.ts
in src
24 -
fileTransform.js
in config/jest
23 1
GraphServiceAuthenticator.ts
in src
19 2
paths.js
in config
18 -
Tools.ts
in src
12 1
Response.ts
in src/supporting
12 1
init.ts
in config/jest
11 -
cssTransform.js
in config/jest
9 2
Promise.ts
in src/supporting
6 2
babel.config.js
in root
5 -
index.ts
in src
4 -
typescriptTransform.js
in config/jest
3 -
Files With Most Units (Top 15)
File# lines# units
GraphService.ts
in src
216 15
Persona.tsx
in src
68 6
PersonaWithCard.tsx
in src
254 5
OrgDetails.tsx
in src/contactCard
79 4
Summary.tsx
in src/contactCard
84 3
cssTransform.js
in config/jest
9 2
test.js
in scripts
35 2
GraphServiceAuthenticator.ts
in src
19 2
Profile.ts
in src/supporting
29 2
Promise.ts
in src/supporting
6 2
fileTransform.js
in config/jest
23 1
build.js
in scripts
125 1
Tools.ts
in src
12 1
ContactDetails.tsx
in src/contactCard
39 1
Response.ts
in src/supporting
12 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 26 long lines.

File# lines# units# long lines
PersonaWithCard.tsx
in src
254 5 8
OrgDetails.tsx
in src/contactCard
79 4 7
GraphService.ts
in src
216 15 4
ContactDetails.tsx
in src/contactCard
39 1 3
Summary.tsx
in src/contactCard
84 3 3
Persona.tsx
in src
68 6 1