microsoft / MIEngine
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 317 files with 42,371 lines of code.
    • 6 very long files (10,251 lines of code)
    • 9 long files (5,936 lines of code)
    • 38 medium size files (11,287 lines of codeclsfd_ftr_w_mp_ins)
    • 45 small files (6,311 lines of code)
    • 219 very small files (8,586 lines of code)
24% | 14% | 26% | 14% | 20%
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
cs26% | 11% | 28% | 15% | 18%
natvis0% | 100% | 0% | 0% | 0%
xaml0% | 100% | 0% | 0% | 0%
csx0% | 0% | 100% | 0% | 0%
cmd0% | 0% | 0% | 43% | 56%
yml0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
vsixmanifest0% | 0% | 0% | 0% | 100%
MD0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/MICore50% | 6% | 18% | 14% | 10%
src/OpenDebugAD754% | 0% | 13% | 18% | 14%
src/MIDebugEngine22% | 26% | 37% | 8% | 4%
src/AndroidDebugLauncher0% | 54% | 8% | 15% | 20%
src/SSHDebugPS0% | 9% | 29% | 23% | 36%
src/tools0% | 0% | 100% | 0% | 0%
src/MIDebugPackage0% | 0% | 67% | 0% | 32%
src/JDbg0% | 0% | 34% | 37% | 27%
src/DebugEngineHost.Stub0% | 0% | 83% | 0% | 16%
tools0% | 0% | 93% | 0% | 6%
src/WindowsDebugLauncher0% | 0% | 54% | 45% | 0%
src/SSHDebugTests0% | 0% | 54% | 0% | 45%
src/DebugEngineHost0% | 0% | 17% | 10% | 72%
src/IOSDebugLauncher0% | 0% | 0% | 63% | 36%
src/DebugEngineHost.VSCode0% | 0% | 0% | 28% | 71%
eng/pipelines0% | 0% | 0% | 0% | 100%
build0% | 0% | 0% | 0% | 100%
tools/iOS0% | 0% | 0% | 0% | 100%
src/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier0% | 0% | 0% | 0% | 100%
eng/Scripts0% | 0% | 0% | 0% | 100%
src/MakePIAPortable0% | 0% | 0% | 0% | 100%
IL0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
AD7DebugSession.cs
in src/OpenDebugAD7
3062 77
DebuggedProcess.cs
in src/MIDebugEngine/Engine.Impl
1901 50
LaunchOptions.cs
in src/MICore
1817 69
Debugger.cs
in src/MICore
1419 68
MIResults.cs
in src/MICore
1038 67
Natvis.cs
in src/MIDebugEngine/Natvis.Impl
1014 29
AD7Engine.cs
in src/MIDebugEngine/AD7.Impl
871 60
Launcher.cs
in src/AndroidDebugLauncher
783 19
Variables.cs
in src/MIDebugEngine/Engine.Impl
750 27
natvis
Microsoft.Android.natvis
in src/AndroidDebugLauncher
711 -
AD7PendingBreakpoint.cs
in src/MIDebugEngine/AD7.Impl
659 19
MICommandFactory.cs
in src/MICore/CommandFactories
556 52
xaml
ContainerPickerDialogWindow.xaml
in src/SSHDebugPS/UI
552 -
ExceptionManager.cs
in src/MIDebugEngine/Engine.Impl
538 22
AD7Property.cs
in src/MIDebugEngine/AD7.Impl
516 43
AD7StackFrame.cs
in src/MIDebugEngine/AD7.Impl
483 10
AD7Events.cs
in src/MIDebugEngine/AD7.Impl
476 32
DebuggedThread.cs
in src/MIDebugEngine/Engine.Impl
468 16
Tracepoint.cs
in src/OpenDebugAD7
452 11
MakePIAPortableTool.cs
in src/tools/MakePIAPortableTool
443 16
JsonLaunchOptions.cs
in src/MICore
434 22
ContainerPickerViewModel.cs
in src/SSHDebugPS/UI/ViewModels
394 10
CommandRunner.cs
in src/SSHDebugPS
364 32
Breakpoints.cs
in src/MIDebugEngine/Engine.Impl
363 24
MIDebugPackagePackage.cs
in src/MIDebugPackage
349 10
Disassembly.cs
in src/MIDebugEngine/Engine.Impl
331 13
OperationThread.cs
in src/MIDebugEngine/Engine.Impl
308 16
Utilities.cs
in src/OpenDebugAD7/OpenDebug
304 14
PipeTransport.cs
in src/MICore/Transports
300 15
NatvisNames.cs
in src/MIDebugEngine/Natvis.Impl
298 11
gdb.cs
in src/MICore/CommandFactories
297 21
EngineUtils.cs
in src/MIDebugEngine/Engine.Impl
289 15
JdwpCommand.cs
in src/JDbg
287 18
RunInTerminalTransport.cs
in src/MICore/Transports
287 11
AD7Thread.cs
in src/MIDebugEngine/AD7.Impl
278 5
AD7Process.cs
in src/SSHDebugPS/AD7
256 19
DockerHelper.cs
in src/SSHDebugPS/Docker
254 7
DebugEngineHost.ref.cs
in src/DebugEngineHost.Stub
245 43
CommandLock.cs
in src/MICore
245 17
DebugUnixChildProcess.cs
in src/MIDebugEngine/Engine.Impl
240 11
InstallPaths.cs
in src/AndroidDebugLauncher
239 5
AD7Hresult.cs
in src/MIDebugEngine/AD7.Definitions
237 -
BreakpointManager.cs
in src/MIDebugEngine/Engine.Impl
234 11
CygwinFileMapper.cs
in src/MIDebugEngine/Engine.Impl
229 5
csx
Setup.csx
in tools
228 6
EngineCallback.cs
in src/MIDebugEngine/Engine.Impl
225 28
DebugLauncher.cs
in src/WindowsDebugLauncher
225 12
AD7Port.cs
in src/SSHDebugPS/AD7
207 15
SSHConnectionStringTests.cs
in src/SSHDebugTests
206 4
HostNatvisProject.cs
in src/DebugEngineHost
205 7
Files With Most Units (Top 20)
File# lines# units
AD7DebugSession.cs
in src/OpenDebugAD7
3062 77
LaunchOptions.cs
in src/MICore
1817 69
Debugger.cs
in src/MICore
1419 68
MIResults.cs
in src/MICore
1038 67
AD7Engine.cs
in src/MIDebugEngine/AD7.Impl
871 60
MICommandFactory.cs
in src/MICore/CommandFactories
556 52
DebuggedProcess.cs
in src/MIDebugEngine/Engine.Impl
1901 50
DebugEngineHost.ref.cs
in src/DebugEngineHost.Stub
245 43
AD7Property.cs
in src/MIDebugEngine/AD7.Impl
516 43
AD7Events.cs
in src/MIDebugEngine/AD7.Impl
476 32
CommandRunner.cs
in src/SSHDebugPS
364 32
Natvis.cs
in src/MIDebugEngine/Natvis.Impl
1014 29
EngineCallback.cs
in src/MIDebugEngine/Engine.Impl
225 28
Variables.cs
in src/MIDebugEngine/Engine.Impl
750 27
Breakpoints.cs
in src/MIDebugEngine/Engine.Impl
363 24
AD7Enums.cs
in src/MIDebugEngine/AD7.Impl
162 23
JsonLaunchOptions.cs
in src/MICore
434 22
ExceptionManager.cs
in src/MIDebugEngine/Engine.Impl
538 22
AD7Program.cs
in src/OpenDebugAD7/AD7Impl
105 22
gdb.cs
in src/MICore/CommandFactories
297 21
Files With Long Lines (Top 20)

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

File# lines# units# long lines
AD7DebugSession.cs
in src/OpenDebugAD7
3062 77 190
LaunchOptions.cs
in src/MICore
1817 69 87
DebuggedProcess.cs
in src/MIDebugEngine/Engine.Impl
1901 50 87
Launcher.cs
in src/AndroidDebugLauncher
783 19 41
Natvis.cs
in src/MIDebugEngine/Natvis.Impl
1014 29 35
AD7PendingBreakpoint.cs
in src/MIDebugEngine/AD7.Impl
659 19 31
Debugger.cs
in src/MICore
1419 68 29
Variables.cs
in src/MIDebugEngine/Engine.Impl
750 27 29
MICommandFactory.cs
in src/MICore/CommandFactories
556 52 27
JdwpCommand.cs
in src/JDbg
287 18 25
ExceptionManager.cs
in src/MIDebugEngine/Engine.Impl
538 22 25
MakePIAPortableTool.cs
in src/tools/MakePIAPortableTool
443 16 25
targets
GenerateXmlSerializersAssembly.targets
in src/MICore
72 - 24
AD7Engine.cs
in src/MIDebugEngine/AD7.Impl
871 60 18
AD7Property.cs
in src/MIDebugEngine/AD7.Impl
516 43 17
RunInTerminalTransport.cs
in src/MICore/Transports
287 11 16
Tracepoint.cs
in src/OpenDebugAD7
452 11 16
xaml
ContainerPickerDialogWindow.xaml
in src/SSHDebugPS/UI
552 - 16
targets
package_versions.settings.targets
in build
34 - 15
DebugEngineHost.ref.cs
in src/DebugEngineHost.Stub
245 43 14