Spring Boot
Components & Dependencies

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 (9 components)
Logical Decomposition #1: PRIMARY
The decompositions is based on folder structure at level 2 (relative to the source code root).
Components
The "primary" logical decomposition has 9 components.
  • 2,629 files, 131,006 lines of code (69.7% vs. main code).
  • "spring-boot-project/spring-boot" is biggest, containing 26.35% of code.
  • "spring-boot-project/spring-boot-properties-migrator" is smallest, containing 0.27% of code.


spring-boot-project/spring-boot34519 LOC (18%) 624 files
spring-boot-project/spring-boot-autoconfigure33045 LOC (17%) 653 files
spring-boot-project/spring-boot-tools22108 LOC (11%) 316 files
spring-boot-project/spring-boot-actuator12534 LOC (6%) 359 files
spring-boot-project/spring-boot-actuator-autoconfigure11347 LOC (6%) 351 files
spring-boot-project/spring-boot-cli7325 LOC (3%) 144 files
spring-boot-project/spring-boot-devtools5424 LOC (2%) 110 files
buildSrc/src4356 LOC (2%) 67 files
spring-boot-project/spring-boot-properties-migrator348 LOC (<1%) 5 files
Alternative Visuals
Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 11 links (arrows) between components.
  • The number on the arrow represents the number of files from referring component that depend on files in referred component.
  • These 11 links contain 695 dependencies.
G spring-boot-project/spring-boot-autoconfigure spring-boot-project/spring-boot-autoconfigure spring-boot-project/spring-boot spring-boot-project/spring-boot spring-boot-project/spring-boot-autoconfigure->spring-boot-project/spring-boot 270 spring-boot-project/spring-boot-properties-migrator spring-boot-project/spring-boot-properties-migrator spring-boot-project/spring-boot-tools spring-boot-project/spring-boot-tools spring-boot-project/spring-boot-properties-migrator->spring-boot-project/spring-boot-tools 4 spring-boot-project/spring-boot-properties-migrator->spring-boot-project/spring-boot 3 spring-boot-project/spring-boot-cli spring-boot-project/spring-boot-cli spring-boot-project/spring-boot-cli->spring-boot-project/spring-boot-tools 9 spring-boot-project/spring-boot-cli->spring-boot-project/spring-boot 1 spring-boot-project/spring-boot-actuator-autoconfigure spring-boot-project/spring-boot-actuator-autoconfigure spring-boot-project/spring-boot-actuator-autoconfigure->spring-boot-project/spring-boot-autoconfigure 134 spring-boot-project/spring-boot-actuator spring-boot-project/spring-boot-actuator spring-boot-project/spring-boot-actuator-autoconfigure->spring-boot-project/spring-boot-actuator 126 spring-boot-project/spring-boot-actuator-autoconfigure->spring-boot-project/spring-boot 102 spring-boot-project/spring-boot-actuator->spring-boot-project/spring-boot 24 spring-boot-project/spring-boot-devtools spring-boot-project/spring-boot-devtools spring-boot-project/spring-boot-devtools->spring-boot-project/spring-boot-autoconfigure 9 spring-boot-project/spring-boot-devtools->spring-boot-project/spring-boot 13 buildSrc/src buildSrc/src




Show more details about dependencies...




2020-09-11 17:36