microsoft / MIMPowerShellConnectors
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 29 files with 5,976 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,498 lines of code)
    • 6 medium size files (2,460 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,243 lines of code)
    • 12 very small files (775 lines of code)
0% | 25% | 41% | 20% | 12%
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
psm10% | 55% | 44% | 0% | 0%
ps10% | 0% | 38% | 37% | 23%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
LyncConnector/Scripts0% | 27% | 50% | 12% | 9%
ExchangeConnector0% | 51% | 0% | 29% | 19%
FlatFileConnector0% | 0% | 42% | 41% | 16%
Modules0% | 0% | 100% | 0% | 0%
LyncConnector/EventLogConfig0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
1. Lync.Common.psm1
in src/LyncConnector/Scripts
877 -
xADSyncPSConnectorModule.psm1
in src/ExchangeConnector
621 -
xADSyncPSConnectorModule.psm1
in src/FlatFileConnector
482 -
10. ExportScript-Lync.ps1
in src/LyncConnector/Scripts
466 -
TestHarness-Lync.ps1
in src/LyncConnector/Scripts
409 -
7. ImportScript-Lync.ps1
in src/LyncConnector/Scripts
398 -
TestHarness.Common.psm1
in src/LyncConnector/Scripts
363 -
xADSyncPSConnectorModule.psm1
in src/Modules
342 -
ImportData.ps1
in src/ExchangeConnector
193 -
2. ValidationScript-Lync.ps1
in src/LyncConnector/Scripts
192 -
ExportData.ps1
in src/ExchangeConnector
160 -
ImportData.ps1
in src/FlatFileConnector
134 -
6. Begin-ImportScript-Lync.ps1
in src/LyncConnector/Scripts
121 -
BeginExport.ps1
in src/FlatFileConnector
120 -
GetSchema.ps1
in src/FlatFileConnector
117 -
BeginImport.ps1
in src/FlatFileConnector
104 -
4. PartitionScript-Lync.ps1
in src/LyncConnector/Scripts
102 -
GetPartition.ps1
in src/FlatFileConnector
92 -
ExportData.ps1
in src/FlatFileConnector
91 -
5. HierarchyScript-Lync.ps1
in src/LyncConnector/Scripts
88 -
GetHierarchy.ps1
in src/ExchangeConnector
67 -
GetSchema.ps1
in src/ExchangeConnector
66 -
8. End-ImportScript-Lync.ps1
in src/LyncConnector/Scripts
64 -
GetPartition.ps1
in src/ExchangeConnector
62 -
9. Begin-ExportScript-Lync.ps1
in src/LyncConnector/Scripts
57 -
Register-EventSource.ps1
in src/LyncConnector/EventLogConfig
53 -
3. SchemaScript-Lync.ps1
in src/LyncConnector/Scripts
48 -
BeginImport.ps1
in src/ExchangeConnector
45 -
11. End-ExportScript-Lync.ps1
in src/LyncConnector/Scripts
42 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

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

File# lines# units# long lines
TestHarness-Lync.ps1
in src/LyncConnector/Scripts
409 - 149
1. Lync.Common.psm1
in src/LyncConnector/Scripts
877 - 45
10. ExportScript-Lync.ps1
in src/LyncConnector/Scripts
466 - 26
2. ValidationScript-Lync.ps1
in src/LyncConnector/Scripts
192 - 21
ImportData.ps1
in src/ExchangeConnector
193 - 18
ExportData.ps1
in src/ExchangeConnector
160 - 17
xADSyncPSConnectorModule.psm1
in src/ExchangeConnector
621 - 16
xADSyncPSConnectorModule.psm1
in src/FlatFileConnector
482 - 14
7. ImportScript-Lync.ps1
in src/LyncConnector/Scripts
398 - 14
BeginExport.ps1
in src/FlatFileConnector
120 - 10
TestHarness.Common.psm1
in src/LyncConnector/Scripts
363 - 10
xADSyncPSConnectorModule.psm1
in src/Modules
342 - 10
ImportData.ps1
in src/FlatFileConnector
134 - 8
BeginImport.ps1
in src/FlatFileConnector
104 - 6
4. PartitionScript-Lync.ps1
in src/LyncConnector/Scripts
102 - 6
9. Begin-ExportScript-Lync.ps1
in src/LyncConnector/Scripts
57 - 6
ExportData.ps1
in src/FlatFileConnector
91 - 5
GetPartition.ps1
in src/FlatFileConnector
92 - 4
5. HierarchyScript-Lync.ps1
in src/LyncConnector/Scripts
88 - 4
6. Begin-ImportScript-Lync.ps1
in src/LyncConnector/Scripts
121 - 4