microsoft / vs-streamjsonrpc
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 148 files with 12,753 lines of code.
    • 3 very long files (4,711 lines of code)
    • 2 long files (1,199 lines of code)
    • 2 medium size files (691 lines of codeclsfd_ftr_w_mp_ins)
    • 17 small files (2,650 lines of code)
    • 124 very small files (3,502 lines of code)
36% | 9% | 5% | 20% | 27%
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
cs43% | 11% | 6% | 20% | 18%
ps10% | 0% | 0% | 28% | 71%
yml0% | 0% | 0% | 15% | 84%
props0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/StreamJsonRpc60% | 8% | 4% | 14% | 12%
src/StreamJsonRpc/Reflection0% | 27% | 17% | 40% | 15%
src/StreamJsonRpc/Protocol0% | 0% | 0% | 50% | 49%
tools0% | 0% | 0% | 48% | 51%
ROOT0% | 0% | 0% | 50% | 49%
azure-pipelines0% | 0% | 0% | 12% | 87%
src/StreamJsonRpc/Exceptions0% | 0% | 0% | 0% | 100%
azure-pipelines/artifacts0% | 0% | 0% | 0% | 100%
azure-pipelines/variables0% | 0% | 0% | 0% | 100%
src/StreamJsonRpc/EventArgs0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/StreamJsonRpc/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
MessagePackFormatter.cs
in src/StreamJsonRpc
1980 116
JsonRpc.cs
in src/StreamJsonRpc
1494 71
JsonMessageFormatter.cs
in src/StreamJsonRpc
1237 85
ProxyGeneration.cs
in src/StreamJsonRpc
641 20
RpcTargetInfo.cs
in src/StreamJsonRpc/Reflection
558 23
MessageFormatterEnumerableTracker.cs
in src/StreamJsonRpc/Reflection
357 16
HeaderDelimitedMessageHandler.cs
in src/StreamJsonRpc
334 14
Install-DotNetSdk.ps1
in tools
199 -
JsonRpcEventSource.cs
in src/StreamJsonRpc
198 17
MessageFormatterDuplexPipeTracker.cs
in src/StreamJsonRpc/Reflection
193 10
MessageFormatterRpcMarshaledContextTracker.cs
in src/StreamJsonRpc/Reflection
177 6
MessageHandlerBase.cs
in src/StreamJsonRpc
173 9
PipeMessageHandler.cs
in src/StreamJsonRpc
172 10
MessageFormatterProgressTracker.cs
in src/StreamJsonRpc/Reflection
171 9
SkipClrVisibilityChecks.cs
in src/StreamJsonRpc
167 11
JsonRpcExtensions.cs
in src/StreamJsonRpc
163 13
TargetMethod.cs
in src/StreamJsonRpc/Reflection
153 5
WebSocketMessageHandler.cs
in src/StreamJsonRpc
137 4
JsonRpcRequest.cs
in src/StreamJsonRpc/Protocol
136 3
ExceptionSerializationHelpers.cs
in src/StreamJsonRpc/Reflection
133 7
TraceParent.cs
in src/StreamJsonRpc/Protocol
124 3
NewLineDelimitedMessageHandler.cs
in src/StreamJsonRpc
121 7
init.ps1
in root
119 -
official.yml
in azure-pipelines
114 -
OptProf.yml
in azure-pipelines
100 -
MethodSignature.cs
in src/StreamJsonRpc/Reflection
92 5
StandardCancellationStrategy.cs
in src/StreamJsonRpc
92 6
CorrelationManagerTracingStrategy.cs
in src/StreamJsonRpc
85 5
RemoteInvocationException.cs
in src/StreamJsonRpc/Exceptions
82 7
Set-EnvVars.ps1
in tools
82 -
Utilities.cs
in src/StreamJsonRpc
80 5
LengthHeaderMessageHandler.cs
in src/StreamJsonRpc
78 5
build.yml
in azure-pipelines
75 -
release.yml
in azure-pipelines
71 -
Get-SymbolFiles.ps1
in azure-pipelines
68 -
dotnet.yml
in azure-pipelines
67 -
props
Directory.Build.props
in root
65 -
JsonRpcError.cs
in src/StreamJsonRpc/Protocol
63 3
secure-development-tools.yml
in azure-pipelines
62 -
Install-NuGetCredProvider.ps1
in tools
61 -
_all.ps1
in azure-pipelines/artifacts
59 -
vs-insertion.yml
in azure-pipelines
58 -
RequestId.cs
in src/StreamJsonRpc
58 3
microbuild.after.yml
in azure-pipelines
55 -
Constants.cs
in src/StreamJsonRpc/Protocol
53 3
_stage_all.ps1
in azure-pipelines/artifacts
50 -
ActivityTracingStrategy.cs
in src/StreamJsonRpc
50 4
Hex.cs
in src/StreamJsonRpc
50 2
RpcArgumentDeserializationException.cs
in src/StreamJsonRpc/Exceptions
48 5
MethodSignatureAndTarget.cs
in src/StreamJsonRpc/Reflection
48 5
Files With Most Units (Top 20)
File# lines# units
MessagePackFormatter.cs
in src/StreamJsonRpc
1980 116
JsonMessageFormatter.cs
in src/StreamJsonRpc
1237 85
JsonRpc.cs
in src/StreamJsonRpc
1494 71
RpcTargetInfo.cs
in src/StreamJsonRpc/Reflection
558 23
ProxyGeneration.cs
in src/StreamJsonRpc
641 20
JsonRpcEventSource.cs
in src/StreamJsonRpc
198 17
MessageFormatterEnumerableTracker.cs
in src/StreamJsonRpc/Reflection
357 16
HeaderDelimitedMessageHandler.cs
in src/StreamJsonRpc
334 14
JsonRpcExtensions.cs
in src/StreamJsonRpc
163 13
SkipClrVisibilityChecks.cs
in src/StreamJsonRpc
167 11
PipeMessageHandler.cs
in src/StreamJsonRpc
172 10
MessageFormatterDuplexPipeTracker.cs
in src/StreamJsonRpc/Reflection
193 10
MessageHandlerBase.cs
in src/StreamJsonRpc
173 9
MessageFormatterProgressTracker.cs
in src/StreamJsonRpc/Reflection
171 9
RemoteInvocationException.cs
in src/StreamJsonRpc/Exceptions
82 7
NewLineDelimitedMessageHandler.cs
in src/StreamJsonRpc
121 7
ExceptionSerializationHelpers.cs
in src/StreamJsonRpc/Reflection
133 7
MessageFormatterRpcMarshaledContextTracker.cs
in src/StreamJsonRpc/Reflection
177 6
StandardCancellationStrategy.cs
in src/StreamJsonRpc
92 6
CorrelationManagerTracingStrategy.cs
in src/StreamJsonRpc
85 5
Files With Long Lines (Top 20)

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

File# lines# units# long lines
JsonRpc.cs
in src/StreamJsonRpc
1494 71 138
MessagePackFormatter.cs
in src/StreamJsonRpc
1980 116 125
ProxyGeneration.cs
in src/StreamJsonRpc
641 20 94
JsonMessageFormatter.cs
in src/StreamJsonRpc
1237 85 84
RpcTargetInfo.cs
in src/StreamJsonRpc/Reflection
558 23 48
MessageFormatterEnumerableTracker.cs
in src/StreamJsonRpc/Reflection
357 16 22
MessageFormatterDuplexPipeTracker.cs
in src/StreamJsonRpc/Reflection
193 10 21
JsonRpcEventSource.cs
in src/StreamJsonRpc
198 17 15
MessageFormatterRpcMarshaledContextTracker.cs
in src/StreamJsonRpc/Reflection
177 6 15
JsonRpcExtensions.cs
in src/StreamJsonRpc
163 13 13
MessageFormatterProgressTracker.cs
in src/StreamJsonRpc/Reflection
171 9 13
Install-DotNetSdk.ps1
in tools
199 - 13
init.ps1
in root
119 - 12
HeaderDelimitedMessageHandler.cs
in src/StreamJsonRpc
334 14 12
ExceptionSerializationHelpers.cs
in src/StreamJsonRpc/Reflection
133 7 10
TargetMethod.cs
in src/StreamJsonRpc/Reflection
153 5 10
SkipClrVisibilityChecks.cs
in src/StreamJsonRpc
167 11 10
PipeMessageHandler.cs
in src/StreamJsonRpc
172 10 9
dotnet.yml
in azure-pipelines
67 - 6
MethodSignature.cs
in src/StreamJsonRpc/Reflection
92 5 6