google-gemini / gemma-cookbook
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 5 components.
  • 48 files, 37,612 LOC (100.0% vs. main code).
  • "Gemma" is biggest, containing 69.49% of LOC.
  • "Workshops" is smallest, containing 1.5% of LOC.


Gemma26136 LOC (69%) 39 files
PaliGemma8660 LOC (23%) 5 files
CodeGemma1542 LOC (4%) 2 files
TxGemma711 LOC (1%) 1 file
Workshops563 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.
Gemma46 commits (6%)
CodeGemma15 commits (2%)
TxGemma12 commits (1%)
PaliGemma12 commits (1%)
Workshops5 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
Gemma
205
CodeGemma
24
PaliGemma
24
TxGemma
12
Workshops
5


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 Gemma Gemma Gemma--Gemma 11 CodeGemma CodeGemma Gemma--CodeGemma 7 CodeGemma--CodeGemma 9 PaliGemma PaliGemma PaliGemma--Gemma 7 PaliGemma--CodeGemma 3 PaliGemma--PaliGemma 4 Workshops Workshops Workshops--Gemma 2 Workshops--CodeGemma 2 Workshops--PaliGemma 2 TxGemma TxGemma TxGemma--Gemma 1


2025-06-30 08:43