microsoft / Application-Insights-Istio-Adapter
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 3,598 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,242 lines of code)
    • 2 medium size files (581 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,122 lines of code)
    • 17 very small files (653 lines of code)
0% | 34% | 16% | 31% | 18%
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
cs0% | 36% | 16% | 32% | 14%
yaml0% | 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/LibraryTest/Library0% | 45% | 21% | 26% | 5%
src/Library0% | 43% | 19% | 25% | 11%
src/LibraryTest/Library/Inputs0% | 0% | 0% | 100% | 0%
src/Library/Inputs/GrpcInput0% | 0% | 0% | 100% | 0%
src/LibraryTest0% | 0% | 0% | 74% | 25%
src/kubernetes0% | 0% | 0% | 0% | 100%
src/Common0% | 0% | 0% | 0% | 100%
src/ConsoleHost0% | 0% | 0% | 0% | 100%
src/LibraryTest/Common0% | 0% | 0% | 0% | 100%
src/Library/Inputs0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
TelemetryGeneratorTests.cs
in src/LibraryTest/Library
709 12
TelemetryGenerator.cs
in src/Library
533 21
LibraryTests.cs
in src/LibraryTest/Library
339 11
Configuration.cs
in src/Library
242 1
Library.cs
in src/Library
196 7
GrpcInputTests.cs
in src/LibraryTest/Library/Inputs
168 8
ConfigurationTests.cs
in src/LibraryTest/Library
141 3
ClusterInfoListenerTests.cs
in src/LibraryTest/Library
140 10
HostTests.cs
in src/LibraryTest/Library
129 2
GrpcInput.cs
in src/Library/Inputs/GrpcInput
123 7
ClusterInfoListener.cs
in src/Library
118 4
Common.cs
in src/LibraryTest
107 6
Diagnostics.cs
in src/Common
95 9
Host.cs
in src/Library
92 6
configuration.yaml
in src/kubernetes
80 -
Program.cs
in src/ConsoleHost
75 2
application-insights-istio-mixer-adapter-deployment.yaml
in src/kubernetes
54 -
HeartbeatCustomizer.cs
in src/Library
53 2
HeartbeatCustomizerTests.cs
in src/LibraryTest/Library
52 5
GrpcWriter.cs
in src/LibraryTest/Library
38 2
StubTelemetryChannel.cs
in src/LibraryTest
36 4
DiagnosticsTest.cs
in src/LibraryTest/Common
28 1
targets
Signing.targets
in src
15 -
InputStats.cs
in src/Library/Inputs
14 1
ClusterIdPayloadObject.cs
in src/Library/Inputs
12 1
cmd
push-docker-acr.cmd
in src
3 -
InternalsVisibleToAssemblyInfo.cs
in src
2 -
cmd
build-docker.cmd
in src
2 -
cmd
push-docker-testrepo.cmd
in src
2 -
Files With Most Units (Top 20)
File# lines# units
TelemetryGenerator.cs
in src/Library
533 21
TelemetryGeneratorTests.cs
in src/LibraryTest/Library
709 12
LibraryTests.cs
in src/LibraryTest/Library
339 11
ClusterInfoListenerTests.cs
in src/LibraryTest/Library
140 10
Diagnostics.cs
in src/Common
95 9
GrpcInputTests.cs
in src/LibraryTest/Library/Inputs
168 8
GrpcInput.cs
in src/Library/Inputs/GrpcInput
123 7
Library.cs
in src/Library
196 7
Host.cs
in src/Library
92 6
Common.cs
in src/LibraryTest
107 6
HeartbeatCustomizerTests.cs
in src/LibraryTest/Library
52 5
ClusterInfoListener.cs
in src/Library
118 4
StubTelemetryChannel.cs
in src/LibraryTest
36 4
ConfigurationTests.cs
in src/LibraryTest/Library
141 3
Program.cs
in src/ConsoleHost
75 2
HeartbeatCustomizer.cs
in src/Library
53 2
GrpcWriter.cs
in src/LibraryTest/Library
38 2
HostTests.cs
in src/LibraryTest/Library
129 2
Configuration.cs
in src/Library
242 1
ClusterIdPayloadObject.cs
in src/Library/Inputs
12 1
Files With Long Lines (Top 19)

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

File# lines# units# long lines
TelemetryGenerator.cs
in src/Library
533 21 74
TelemetryGeneratorTests.cs
in src/LibraryTest/Library
709 12 53
Configuration.cs
in src/Library
242 1 16
ConfigurationTests.cs
in src/LibraryTest/Library
141 3 16
Library.cs
in src/Library
196 7 10
Host.cs
in src/Library
92 6 5
GrpcInput.cs
in src/Library/Inputs/GrpcInput
123 7 5
Program.cs
in src/ConsoleHost
75 2 4
ClusterInfoListener.cs
in src/Library
118 4 4
LibraryTests.cs
in src/LibraryTest/Library
339 11 4
configuration.yaml
in src/kubernetes
80 - 4
Common.cs
in src/LibraryTest
107 6 3
HostTests.cs
in src/LibraryTest/Library
129 2 3
GrpcInputTests.cs
in src/LibraryTest/Library/Inputs
168 8 3
HeartbeatCustomizer.cs
in src/Library
53 2 2
cmd
build-docker.cmd
in src
2 - 2
InternalsVisibleToAssemblyInfo.cs
in src
2 - 1
InputStats.cs
in src/Library/Inputs
14 1 1
ClusterInfoListenerTests.cs
in src/LibraryTest/Library
140 10 1