microsoft / AIforEarth-API-Platform
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 57 files with 2,535 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (253 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (392 lines of code)
    • 53 very small files (1,890 lines of code)
0% | 0% | 9% | 15% | 74%
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% | 27% | 23% | 49%
py0% | 0% | 0% | 39% | 60%
yaml0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
R0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ProcessManager/CacheManager0% | 0% | 76% | 0% | 23%
APIs/1.00% | 0% | 0% | 44% | 55%
ProcessManager/BackendQueueProcessor0% | 0% | 0% | 100% | 0%
ProcessManager/RequestReporter0% | 0% | 0% | 59% | 40%
APIs/Charts0% | 0% | 0% | 0% | 100%
ProcessManager/Libraries0% | 0% | 0% | 0% | 100%
Cluster/monitoring0% | 0% | 0% | 0% | 100%
ProcessManager/BackendWebhook0% | 0% | 0% | 0% | 100%
Containers/Common0% | 0% | 0% | 0% | 100%
ProcessManager/TaskProcessLogger0% | 0% | 0% | 0% | 100%
Cluster/config0% | 0% | 0% | 0% | 100%
Containers/base-py0% | 0% | 0% | 0% | 100%
ProcessManager/Classes0% | 0% | 0% | 0% | 100%
Cluster/networking0% | 0% | 0% | 0% | 100%
Cluster/policy0% | 0% | 0% | 0% | 100%
APIManagement0% | 0% | 0% | 0% | 100%
Containers/base-r0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
CacheConnectorUpsert.cs
in ProcessManager/CacheManager
253 5
ai4e_service.py
in APIs/1.0/base-py
172 17
BackendQueueProcessor.cs
in ProcessManager/BackendQueueProcessor
118 2
CurrentProcessingUpsert.cs
in ProcessManager/RequestReporter
102 2
distributed_api_task.py
in APIs/1.0/Common/task_management
95 8
api_task.R
in APIs/1.0/base-r/task_management
89 -
AppInsightsLogger.cs
in ProcessManager/Libraries
81 6
configuration.yaml
in Cluster/monitoring/application-insights-istio-adapter
80 -
BackendWebhook.cs
in ProcessManager/BackendWebhook
80 2
distributed_api_task.py
in Containers/Common/task_management
70 8
deployment.yaml
in APIs/Charts/camera-trap/detection-async/templates
69 -
deployment.yaml
in APIs/Charts/camera-trap/detection-sync/templates
69 -
CurrentProcessingGet.cs
in ProcessManager/RequestReporter
69 1
CacheConnectorGet.cs
in ProcessManager/CacheManager
64 1
deployment.yaml
in APIs/Charts/templates/async-gpu/templates
55 -
deployment.yaml
in APIs/Charts/templates/sync-cpu/templates
55 -
application-insights-istio-mixer-adapter-deployment.yaml
in Cluster/monitoring/application-insights-istio-adapter
50 -
prod-values.yaml
in APIs/Charts/camera-trap/detection-async
44 -
prod-values.yaml
in APIs/Charts/camera-trap/detection-sync
44 -
prod-values.yaml
in APIs/Charts/templates/async-gpu
42 -
nvidia-device-plugin-ds.yaml
in Cluster/config
38 -
QueueLogger.cs
in ProcessManager/Libraries
38 2
api_task.py
in Containers/base-py/task_management
36 9
api_task.py
in APIs/1.0/base-py/task_management
33 9
prod-values.yaml
in APIs/Charts/templates/sync-cpu
32 -
RedisConnection.cs
in ProcessManager/Libraries
32 2
tpl
_helpers.tpl
in APIs/Charts/camera-trap/detection-async/templates
31 -
tpl
_helpers.tpl
in APIs/Charts/camera-trap/detection-sync/templates
31 -
tpl
_helpers.tpl
in APIs/Charts/templates/async-gpu/templates
31 -
tpl
_helpers.tpl
in APIs/Charts/templates/sync-cpu/templates
31 -
api_management_customizer.py
in APIManagement
30 4
routing.yaml
in APIs/Charts/camera-trap/detection-async
30 -
routing.yaml
in APIs/Charts/camera-trap/detection-sync
28 -
routing.yml
in APIs/Charts/templates
28 -
APITask.cs
in ProcessManager/Classes
24 -
TaskProcessLogger.cs
in ProcessManager/TaskProcessLogger
24 1
autoscaler.yaml
in APIs/Charts/templates/async-gpu
21 -
autoscaler.yaml
in APIs/Charts/templates/sync-cpu
21 -
TaskQueueLogger.cs
in ProcessManager/TaskProcessLogger
20 1
api_task.R
in Containers/base-r/task_management
19 -
secure_routing_base.yml
in Cluster/networking
18 -
rbac_config.yaml
in Cluster/policy
18 -
autoscaler.yaml
in APIs/Charts/camera-trap/detection-async
17 -
service.yaml
in APIs/Charts/camera-trap/detection-async/templates
17 -
autoscaler.yaml
in APIs/Charts/camera-trap/detection-sync
17 -
service.yaml
in APIs/Charts/camera-trap/detection-sync/templates
17 -
service.yaml
in APIs/Charts/templates/async-gpu/templates
17 -
service.yaml
in APIs/Charts/templates/sync-cpu/templates
17 -
Chart.yaml
in APIs/Charts/camera-trap/detection-async
16 -
Chart.yaml
in APIs/Charts/camera-trap/detection-sync
16 -
Files With Most Units (Top 18)
File# lines# units
ai4e_service.py
in APIs/1.0/base-py
172 17
api_task.py
in APIs/1.0/base-py/task_management
33 9
api_task.py
in Containers/base-py/task_management
36 9
distributed_api_task.py
in APIs/1.0/Common/task_management
95 8
distributed_api_task.py
in Containers/Common/task_management
70 8
AppInsightsLogger.cs
in ProcessManager/Libraries
81 6
CacheConnectorUpsert.cs
in ProcessManager/CacheManager
253 5
api_management_customizer.py
in APIManagement
30 4
BackendQueueProcessor.cs
in ProcessManager/BackendQueueProcessor
118 2
BackendWebhook.cs
in ProcessManager/BackendWebhook
80 2
QueueLogger.cs
in ProcessManager/Libraries
38 2
RedisConnection.cs
in ProcessManager/Libraries
32 2
CurrentProcessingUpsert.cs
in ProcessManager/RequestReporter
102 2
BackendQueueProcessor.cs
in ProcessManager/CacheManager
15 1
CacheConnectorGet.cs
in ProcessManager/CacheManager
64 1
CurrentProcessingGet.cs
in ProcessManager/RequestReporter
69 1
TaskProcessLogger.cs
in ProcessManager/TaskProcessLogger
24 1
TaskQueueLogger.cs
in ProcessManager/TaskProcessLogger
20 1
Files With Long Lines (Top 20)

There are 20 files with lines longer than 120 characters. In total, there are 85 long lines.

File# lines# units# long lines
CacheConnectorUpsert.cs
in ProcessManager/CacheManager
253 5 19
ai4e_service.py
in APIs/1.0/base-py
172 17 12
BackendQueueProcessor.cs
in ProcessManager/BackendQueueProcessor
118 2 10
BackendWebhook.cs
in ProcessManager/BackendWebhook
80 2 9
AppInsightsLogger.cs
in ProcessManager/Libraries
81 6 6
CurrentProcessingUpsert.cs
in ProcessManager/RequestReporter
102 2 5
RedisConnection.cs
in ProcessManager/Libraries
32 2 4
api_management_customizer.py
in APIManagement
30 4 3
prod-values.yaml
in APIs/Charts/camera-trap/detection-async
44 - 3
configuration.yaml
in Cluster/monitoring/application-insights-istio-adapter
80 - 2
CacheConnectorGet.cs
in ProcessManager/CacheManager
64 1 2
CurrentProcessingGet.cs
in ProcessManager/RequestReporter
69 1 2
distributed_api_task.py
in APIs/1.0/Common/task_management
95 8 1
prod-values.yaml
in APIs/Charts/camera-trap/detection-sync
44 - 1
distributed_api_task.py
in Containers/Common/task_management
70 8 1
api_task.py
in Containers/base-py/task_management
36 9 1
BackendQueueProcessor.cs
in ProcessManager/CacheManager
15 1 1
QueueLogger.cs
in ProcessManager/Libraries
38 2 1
TaskProcessLogger.cs
in ProcessManager/TaskProcessLogger
24 1 1
TaskQueueLogger.cs
in ProcessManager/TaskProcessLogger
20 1 1