microsoft / ApplicationInsights-Kubernetes
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 73 files with 2,054 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (365 lines of code)
    • 70 very small files (1,689 lines of code)
0% | 0% | 0% | 17% | 82%
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% | 0% | 0% | 18% | 81%
props0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/ApplicationInsights.Kubernetes0% | 0% | 0% | 77% | 22%
src/ApplicationInsights.Kubernetes/K8sHttpClient0% | 0% | 0% | 38% | 61%
src/ApplicationInsights.Kubernetes/TelemetryInitializers0% | 0% | 0% | 0% | 100%
src/ApplicationInsights.Kubernetes/Debuggings0% | 0% | 0% | 0% | 100%
src/ApplicationInsights.Kubernetes/Entities0% | 0% | 0% | 0% | 100%
src/ApplicationInsights.Kubernetes/Extensions0% | 0% | 0% | 0% | 100%
src/ApplicationInsights.Kubernetes/Utilities0% | 0% | 0% | 0% | 100%
src/ApplicationInsights.Kubernetes/Interfaces0% | 0% | 0% | 0% | 100%
src/ApplicationInsights.Kubernetes/EntityExtensions0% | 0% | 0% | 0% | 100%
troubleshooting/AIK8sTroubleShooting0% | 0% | 0% | 0% | 100%
dev/F5WebApi0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
dev/F5WebApi/Controllers0% | 0% | 0% | 0% | 100%
troubleshooting/AIK8sTroubleShooting/Controllers0% | 0% | 0% | 0% | 100%
build0% | 0% | 0% | 0% | 100%
src/ApplicationInsights.Kubernetes.HostingStartup0% | 0% | 0% | 0% | 100%
troubleshooting/AIK8sTroubleShooting/k8s0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
K8sEnvironmentFactory.cs
in src/ApplicationInsights.Kubernetes
151 4
K8sQueryClient.cs
in src/ApplicationInsights.Kubernetes
113 3
KubeHttpClientSettingsBase.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
101 5
KubernetesTelemetryInitializer.cs
in src/ApplicationInsights.Kubernetes/TelemetryInitializers
88 2
ApplicationInsightsExtensions.cs
in src/ApplicationInsights.Kubernetes/Extensions
86 7
SimplePerformanceCounterTelemetryInitializer.cs
in src/ApplicationInsights.Kubernetes/TelemetryInitializers
72 4
K8sDebuggingEnvironmentFactory.cs
in src/ApplicationInsights.Kubernetes/Debuggings
69 1
KubernetesServiceCollectionBuilder.cs
in src/ApplicationInsights.Kubernetes/Extensions
69 5
ApplicationInsightsKubernetesDiagnosticSource.cs
in src/ApplicationInsights.Kubernetes/Debuggings
55 9
TelemetryProperty.cs
in src/ApplicationInsights.Kubernetes/TelemetryInitializers
53 -
ApplicationInsightsKubernetesDiagnosticObserver.cs
in src/ApplicationInsights.Kubernetes/Debuggings
52 8
KubeHttpClientSettingsProvider.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
50 3
KubeHttpSettingsWinContainerProvider.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
50 1
ObsoletedExtensions.cs
in src/ApplicationInsights.Kubernetes/Extensions
47 2
K8sEnvironment.cs
in src/ApplicationInsights.Kubernetes
44 1
props
Directory.Build.props
in src
44 -
Startup.cs
in dev/F5WebApi
41 3
Startup.cs
in troubleshooting/AIK8sTroubleShooting
41 3
ValuesController.cs
in dev/F5WebApi/Controllers
35 4
SDKVersionUtils.cs
in src/ApplicationInsights.Kubernetes/Utilities
35 3
ValuesController.cs
in troubleshooting/AIK8sTroubleShooting/Controllers
35 4
PodExtensions.cs
in src/ApplicationInsights.Kubernetes/EntityExtensions
29 2
KubeHttpClient.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
28 1
TelemetryKeyCache.cs
in src/ApplicationInsights.Kubernetes/TelemetryInitializers
28 2
StringUtils.cs
in src/ApplicationInsights.Kubernetes/Utilities
24 2
Arguments.cs
in src/ApplicationInsights.Kubernetes/Utilities
23 2
ReplicaSetExtensions.cs
in src/ApplicationInsights.Kubernetes/EntityExtensions
22 1
cmd
Build.cmd
in build
20 -
KubeDebuggingHttpClientSettings.cs
in src/ApplicationInsights.Kubernetes/Debuggings
20 2
K8sEntityList.cs
in src/ApplicationInsights.Kubernetes/Entities
20 1
OwnerReferenceExtensions.cs
in src/ApplicationInsights.Kubernetes/EntityExtensions
19 1
k8s.yaml
in troubleshooting/AIK8sTroubleShooting/k8s
19 -
ContainerStatus.cs
in src/ApplicationInsights.Kubernetes/Entities
18 -
IK8sEnvironment.cs
in src/ApplicationInsights.Kubernetes/Interfaces
18 -
CertificateVerifier.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
17 1
K8sInjection.cs
in src/ApplicationInsights.Kubernetes.HostingStartup
16 1
KubernetesDebuggingServiceCollectionBuilder.cs
in src/ApplicationInsights.Kubernetes/Debuggings
16 2
KubeHttpClientFactory.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
16 2
Program.cs
in troubleshooting/AIK8sTroubleShooting
16 1
Program.cs
in dev/F5WebApi
15 1
K8sObjectMetadata.cs
in src/ApplicationInsights.Kubernetes/Entities
15 -
AppInsightsForKubernetesOptions.cs
in src/ApplicationInsights.Kubernetes/Extensions
15 -
IK8sQueryClient.cs
in src/ApplicationInsights.Kubernetes
15 -
K8sPod.cs
in src/ApplicationInsights.Kubernetes/Entities
14 -
IKubeHttpClient.cs
in src/ApplicationInsights.Kubernetes/Interfaces
14 -
K8sNodeImage.cs
in src/ApplicationInsights.Kubernetes/Entities
13 -
K8sPodMetadata.cs
in src/ApplicationInsights.Kubernetes/Entities
13 -
K8sPodStatus.cs
in src/ApplicationInsights.Kubernetes/Entities
13 -
K8sQueryClientFactory.cs
in src/ApplicationInsights.Kubernetes
13 1
DiagnosticLogLevel.cs
in src/ApplicationInsights.Kubernetes/Debuggings
12 -
Files With Most Units (Top 20)
File# lines# units
ApplicationInsightsKubernetesDiagnosticSource.cs
in src/ApplicationInsights.Kubernetes/Debuggings
55 9
ApplicationInsightsKubernetesDiagnosticObserver.cs
in src/ApplicationInsights.Kubernetes/Debuggings
52 8
ApplicationInsightsExtensions.cs
in src/ApplicationInsights.Kubernetes/Extensions
86 7
KubernetesServiceCollectionBuilder.cs
in src/ApplicationInsights.Kubernetes/Extensions
69 5
KubeHttpClientSettingsBase.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
101 5
ValuesController.cs
in dev/F5WebApi/Controllers
35 4
K8sEnvironmentFactory.cs
in src/ApplicationInsights.Kubernetes
151 4
SimplePerformanceCounterTelemetryInitializer.cs
in src/ApplicationInsights.Kubernetes/TelemetryInitializers
72 4
ValuesController.cs
in troubleshooting/AIK8sTroubleShooting/Controllers
35 4
Startup.cs
in dev/F5WebApi
41 3
KubeHttpClientSettingsProvider.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
50 3
K8sQueryClient.cs
in src/ApplicationInsights.Kubernetes
113 3
SDKVersionUtils.cs
in src/ApplicationInsights.Kubernetes/Utilities
35 3
Startup.cs
in troubleshooting/AIK8sTroubleShooting
41 3
KubeDebuggingHttpClientSettings.cs
in src/ApplicationInsights.Kubernetes/Debuggings
20 2
KubernetesDebuggingServiceCollectionBuilder.cs
in src/ApplicationInsights.Kubernetes/Debuggings
16 2
KubernetesDebuggingServiceCollectionBuilderFactory.cs
in src/ApplicationInsights.Kubernetes/Debuggings
10 2
PodExtensions.cs
in src/ApplicationInsights.Kubernetes/EntityExtensions
29 2
ObsoletedExtensions.cs
in src/ApplicationInsights.Kubernetes/Extensions
47 2
KubeHttpClientFactory.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
16 2
Files With Long Lines (Top 19)

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

File# lines# units# long lines
ApplicationInsightsExtensions.cs
in src/ApplicationInsights.Kubernetes/Extensions
86 7 7
K8sEnvironmentFactory.cs
in src/ApplicationInsights.Kubernetes
151 4 6
KubeHttpClientSettingsBase.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
101 5 5
ObsoletedExtensions.cs
in src/ApplicationInsights.Kubernetes/Extensions
47 2 3
KubeHttpSettingsWinContainerProvider.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
50 1 3
KubernetesTelemetryInitializer.cs
in src/ApplicationInsights.Kubernetes/TelemetryInitializers
88 2 3
AssemblyInfo.cs
in src/ApplicationInsights.Kubernetes
3 - 2
PodExtensions.cs
in src/ApplicationInsights.Kubernetes/EntityExtensions
29 2 2
KubernetesServiceCollectionBuilder.cs
in src/ApplicationInsights.Kubernetes/Extensions
69 5 2
K8sQueryClient.cs
in src/ApplicationInsights.Kubernetes
113 3 2
Startup.cs
in dev/F5WebApi
41 3 1
ApplicationInsightsKubernetesDiagnosticSource.cs
in src/ApplicationInsights.Kubernetes/Debuggings
55 9 1
KubernetesDebuggingServiceCollectionBuilderFactory.cs
in src/ApplicationInsights.Kubernetes/Debuggings
10 2 1
KubeHttpClient.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
28 1 1
KubeHttpClientFactory.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
16 2 1
KubeHttpClientSettingsProvider.cs
in src/ApplicationInsights.Kubernetes/K8sHttpClient
50 3 1
K8sQueryClientFactory.cs
in src/ApplicationInsights.Kubernetes
13 1 1
SimplePerformanceCounterTelemetryInitializer.cs
in src/ApplicationInsights.Kubernetes/TelemetryInitializers
72 4 1
props
Directory.Build.props
in src
44 - 1