golang / appengine
Components & Dependencies

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.

  • A software system can have one or more logical decompositions.
  • A logical decomposition can be defined in two ways in Sokrates.
  • First approach is based on the folders structure. Components are mapped to folders at defined folder depth relative to the source code root.
  • Second approach is based on explicit definition of each component. In such explicit definitions, components are explicitly named and their files are selected based on explicitly defined path and content filters.
  • A logical decomposition is considered invalid if a file is selected into two or more components.This constraint is introduced in order to facilitate measuring of dependencies among components.
  • Files not assigned to any component are put into a special "Unclassified" component.
Learn more...
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

  • primary (25 components)

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure (relative to the source code root), with automatically defined folder depth to have at least 10 components.

Bubble Chart | Tree Map
Components
The "primary" logical decomposition has 25 components.
  • 194 files, 56,348 lines of code (100.0% vs. main code).
  • "internal" is biggest, containing 43.98% of code.
  • "file" is smallest, containing 0.03% of code.


internal24784 LOC (43%) 54 files
v222659 LOC (40%) 79 files
datastore2494 LOC (4%) 12 files
cmd1848 LOC (3%) 6 files
search1112 LOC (1%) 4 files
taskqueue394 LOC (<1%) 1 files
memcache347 LOC (<1%) 1 files
aetest339 LOC (<1%) 5 files
blobstore338 LOC (<1%) 2 files
remote_api264 LOC (<1%) 2 files
socket261 LOC (<1%) 3 files
log230 LOC (<1%) 2 files
delay215 LOC (<1%) 1 files
ROOT197 LOC (<1%) 6 files
xmpp169 LOC (<1%) 1 files
urlfetch147 LOC (<1%) 1 files
user143 LOC (<1%) 4 files
runtime99 LOC (<1%) 1 files
module79 LOC (<1%) 1 files
mail76 LOC (<1%) 1 files
channel48 LOC (<1%) 1 files
image44 LOC (<1%) 1 files
cloudsql23 LOC (<1%) 3 files
capability22 LOC (<1%) 1 files
file16 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-02-03 01:25