microsoft / Validate-DCB
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 9 files with 2,312 lines of code.
    • 1 very long files (1,386 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (283 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (339 lines of code)
    • 5 very small files (304 lines of code)
59% | 0% | 12% | 14% | 13%
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
psm169% | 0% | 14% | 16% | 0%
psd10% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
helpers/UI100% | 0% | 0% | 0% | 0%
helpers/NetworkConfig0% | 0% | 76% | 0% | 23%
ROOT0% | 0% | 0% | 60% | 39%
helpers0% | 0% | 0% | 65% | 34%
helpers/drivers0% | 0% | 0% | 0% | 100%
Longest Files (Top 9)
File# lines# units
vDCBUI.psm1
in helpers/UI
1386 -
NetworkConfig.psm1
in helpers/NetworkConfig
283 -
Validate-DCB.psm1
in root
184 -
helpers.psm1
in helpers
155 -
Validate-DCB.psd1
in root
92 -
NetworkConfig.psd1
in helpers/NetworkConfig
89 -
helpers.psd1
in helpers
82 -
appveyor.yml
in root
27 -
drivers.psd1
in helpers/drivers
14 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 8)

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

File# lines# units# long lines
vDCBUI.psm1
in helpers/UI
1386 - 92
helpers.psd1
in helpers
82 - 19
Validate-DCB.psm1
in root
184 - 17
Validate-DCB.psd1
in root
92 - 7
NetworkConfig.psd1
in helpers/NetworkConfig
89 - 6
helpers.psm1
in helpers
155 - 6
NetworkConfig.psm1
in helpers/NetworkConfig
283 - 4
drivers.psd1
in helpers/drivers
14 - 3