azure / Microsoft-Defender-for-Cloud
Components

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 13 components.
  • 108 files, 9,813 LOC (11.3% vs. main code).
  • "Powershell scripts" is biggest, containing 54.32% of LOC.
  • "DemoAutomation" is smallest, containing 0.1% of LOC.


Powershell scripts5330 LOC (6%) 51 files
Remediation scripts2289 LOC (2%) 31 files
Workflow automation652 LOC (<1%) 7 files
Onboarding373 LOC (<1%) 2 files
Policy273 LOC (<1%) 5 files
Legacy Log Analytics dashboards191 LOC (<1%) 3 files
Terraform171 LOC (<1%) 2 files
Container Image Scan Vulnerability Assessment151 LOC (<1%) 1 file
Pricing & Settings145 LOC (<1%) 1 file
Labs129 LOC (<1%) 1 file
Translate Recommendations85 LOC (<1%) 1 file
Secure Score14 LOC (<1%) 2 files
DemoAutomation10 LOC (<1%) 1 file
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
Powershell scripts211 commits (7%)
Remediation scripts59 commits (2%)
Workflow automation19 commits (<1%)
Container Image Scan Vulnerability Assessment17 commits (<1%)
Onboarding14 commits (<1%)
Policy12 commits (<1%)
Pricing & Settings12 commits (<1%)
Terraform7 commits (<1%)
Secure Score7 commits (<1%)
Legacy Log Analytics dashboards4 commits (<1%)
DemoAutomation3 commits (<1%)
Translate Recommendations3 commits (<1%)
Labs1 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2025 2024 2023 2022 2021 2020 2019
Powershell scripts
39
69
62
48
40
32
3
Policy
11
2
6
Workflow automation
6
14
9
Onboarding
2
22
Terraform
2
6
6
Remediation scripts
2
3
39
73
38
Labs
1
Translate Recommendations
1
2
Legacy Log Analytics dashboards
12
DemoAutomation
3
Pricing & Settings
12
Container Image Scan Vulnerability Assessment
5
12
Secure Score
4
3


Dependencies between components in same commits (past 180 days)
The number on the lines shows the number of shared commits.
See detailed temporal dependencies report...

G Policy Policy Policy--Policy 4 Powershell scripts Powershell scripts Powershell scripts--Powershell scripts 2


2025-05-06 21:46