elastic / detection-rules-dac-demo
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 6 components.
  • 1,614 files, 160,389 LOC (100.0% vs. main code).
  • "rules" is biggest, containing 84.31% of LOC.
  • "ROOT" is smallest, containing 0.04% of LOC.


rules135225 LOC (84%) 1,321 files
detection_rules10095 LOC (6%) 42 files
rules_building_block7785 LOC (4%) 106 files
hunting5939 LOC (3%) 128 files
lib1283 LOC (<1%) 16 files
ROOT62 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.
rules1571 commits (60%)
detection_rules380 commits (14%)
rules_building_block110 commits (4%)
ROOT70 commits (2%)
hunting27 commits (1%)
lib11 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
rules
1787
6406
6277
2893
2663
1438
rules_building_block
39
610
292
detection_rules
27
224
186
141
256
147
hunting
32
173
ROOT
28
25
15
2
lib
51


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 rules rules rules--rules 53 detection_rules detection_rules rules--detection_rules 3 ROOT ROOT rules--ROOT 9 hunting hunting rules--hunting 1 detection_rules--detection_rules 6 detection_rules--ROOT 17 rules_building_block rules_building_block rules_building_block--rules 8 rules_building_block--detection_rules 3 rules_building_block--ROOT 4 rules_building_block--rules_building_block 7 hunting--ROOT 3 hunting--hunting 5


2025-05-13 20:08