elastic / detection-rules
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,718 files, 169,942 LOC (100.0% vs. main code).
  • "rules" is biggest, containing 84.8% of LOC.
  • "ROOT" is smallest, containing 0.04% of LOC.


rules144106 LOC (84%) 1,409 files
detection_rules10122 LOC (5%) 42 files
rules_building_block7898 LOC (4%) 107 files
hunting6476 LOC (3%) 143 files
lib1278 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.
rules1653 commits (61%)
detection_rules401 commits (14%)
rules_building_block115 commits (4%)
ROOT103 commits (3%)
hunting31 commits (1%)
lib13 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
2612
6387
6260
2871
2657
1438
rules_building_block
96
610
292
detection_rules
67
224
186
141
256
147
hunting
48
173
ROOT
61
25
15
2
lib
4
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 72 detection_rules detection_rules rules--detection_rules 9 ROOT ROOT rules--ROOT 22 hunting hunting rules--hunting 2 detection_rules--detection_rules 19 detection_rules--ROOT 38 rules_building_block rules_building_block rules_building_block--rules 12 rules_building_block--detection_rules 6 rules_building_block--ROOT 7 rules_building_block--rules_building_block 10 hunting--ROOT 5 hunting--hunting 7 lib lib lib--detection_rules 2 lib--ROOT 2 lib--lib 2


2025-05-13 19:52