microsoft / knack
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 35 files with 3,250 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (566 lines of code)
    • 2 medium size files (541 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,354 lines of code)
    • 24 very small files (789 lines of code)
0% | 17% | 16% | 41% | 24%
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
py0% | 17% | 17% | 42% | 22%
yml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
knack0% | 21% | 20% | 43% | 15%
knack/testsdk0% | 0% | 0% | 48% | 51%
ROOT0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
help.py
in knack
566 36
arguments.py
in knack
312 25
commands.py
in knack
229 22
parser.py
in knack
195 12
base.py
in knack/testsdk
193 18
output.py
in knack
191 22
config.py
in knack
190 26
invocation.py
in knack
164 7
cli.py
in knack
161 12
log.py
in knack
152 14
util.py
in knack
108 16
prompting.py
in knack
88 9
deprecation.py
in knack
84 8
azure-pipeline.yml
in root
81 -
introspection.py
in knack
74 3
checkers.py
in knack/testsdk
72 11
recording_processors.py
in knack/testsdk
69 13
experimental.py
in knack
40 3
preview.py
in knack
40 3
setup.py
in root
40 -
query.py
in knack
39 4
license_verify.py
in scripts
32 2
completion.py
in knack
24 4
util.py
in knack/testsdk
16 2
events.py
in knack
14 -
exceptions.py
in knack/testsdk
14 3
patches.py
in knack/testsdk
13 2
decorators.py
in knack/testsdk
11 2
validators.py
in knack
10 2
__init__.py
in knack/testsdk
8 -
__init__.py
in knack
6 -
help_files.py
in knack
6 1
in
MANIFEST.in
in root
3 -
const.py
in knack/testsdk
3 -
cfg
setup.cfg
in root
2 -
Files With Most Units (Top 20)
File# lines# units
help.py
in knack
566 36
config.py
in knack
190 26
arguments.py
in knack
312 25
commands.py
in knack
229 22
output.py
in knack
191 22
base.py
in knack/testsdk
193 18
util.py
in knack
108 16
log.py
in knack
152 14
recording_processors.py
in knack/testsdk
69 13
cli.py
in knack
161 12
parser.py
in knack
195 12
checkers.py
in knack/testsdk
72 11
prompting.py
in knack
88 9
deprecation.py
in knack
84 8
invocation.py
in knack
164 7
completion.py
in knack
24 4
query.py
in knack
39 4
experimental.py
in knack
40 3
introspection.py
in knack
74 3
preview.py
in knack
40 3
Files With Long Lines (Top 0)

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

File# lines# units# long lines