JUnit 5
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 (17 components)
Logical Decomposition #1: PRIMARY
The decompositions is based on folder structure at level 1 (relative to the source code root).
Components
The "primary" logical decomposition has 17 components.
  • 673 files, 29,500 lines of code (59.9% vs. main code).
  • "junit-jupiter-engine" is biggest, containing 17.25% of code.
  • "src" is smallest, containing 0% of code.


junit-jupiter-engine5088 LOC (10%) 90 files
junit-jupiter-api4958 LOC (10%) 133 files
junit-platform-engine4740 LOC (9%) 102 files
junit-platform-launcher3199 LOC (6%) 65 files
junit-platform-commons2899 LOC (5%) 42 files
junit-vintage-engine2241 LOC (4%) 88 files
junit-jupiter-params1877 LOC (3%) 51 files
junit-platform-console1496 LOC (3%) 22 files
junit-platform-testkit1140 LOC (2%) 16 files
junit-platform-reporting530 LOC (1%) 8 files
junit-platform-runner415 LOC (<1%) 5 files
junit-jupiter-migrationsupport399 LOC (<1%) 22 files
junit-platform-suite-api206 LOC (<1%) 14 files
junit-platform-jfr154 LOC (<1%) 3 files
documentation152 LOC (<1%) 10 files
junit-jupiter5 LOC (<1%) 1 files
src1 LOC (<1%) 1 files
Alternative Visuals
Dependencies
Dependencies among components are static code dependencies among files in different components.
  • Analyzed system has 33 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 33 links contain 468 dependencies.
G junit-platform-engine junit-platform-engine junit-platform-commons junit-platform-commons junit-platform-engine->junit-platform-commons 57 documentation documentation junit-jupiter-api junit-jupiter-api documentation->junit-jupiter-api 1 junit-vintage-engine junit-vintage-engine junit-vintage-engine->junit-platform-engine 13 junit-platform-suite-api junit-platform-suite-api junit-vintage-engine->junit-platform-suite-api 1 junit-vintage-engine->junit-jupiter-api 4 junit-vintage-engine->junit-platform-commons 13 junit-platform-runner junit-platform-runner junit-vintage-engine->junit-platform-runner 1 junit-platform-testkit junit-platform-testkit junit-platform-testkit->junit-platform-engine 11 junit-platform-testkit->junit-platform-commons 10 junit-platform-launcher junit-platform-launcher junit-platform-testkit->junit-platform-launcher 1 junit-jupiter-api->junit-platform-commons 39 junit-platform-reporting junit-platform-reporting junit-platform-reporting->junit-platform-engine 4 junit-platform-reporting->junit-platform-commons 2 junit-platform-reporting->junit-platform-launcher 4 junit-jupiter-migrationsupport junit-jupiter-migrationsupport junit-jupiter-migrationsupport->junit-jupiter-api 7 junit-jupiter-migrationsupport->junit-platform-commons 5 junit-platform-runner->junit-platform-engine 3 junit-platform-runner->junit-platform-suite-api 2 junit-platform-runner->junit-platform-commons 2 junit-platform-runner->junit-platform-launcher 3 junit-platform-jfr junit-platform-jfr junit-platform-jfr->junit-platform-engine 1 junit-platform-jfr->junit-platform-launcher 1 junit-jupiter-params junit-jupiter-params junit-jupiter-params->junit-jupiter-api 17 junit-jupiter-params->junit-platform-commons 21 junit-jupiter junit-jupiter junit-platform-console junit-platform-console junit-platform-console->junit-platform-engine 10 junit-platform-console->junit-platform-commons 8 junit-platform-console->junit-platform-reporting 1 junit-platform-console->junit-platform-launcher 9 junit-platform-launcher->junit-platform-engine 39 junit-platform-launcher->junit-platform-commons 29 junit-jupiter-engine junit-jupiter-engine junit-jupiter-engine->junit-platform-engine 35 junit-jupiter-engine->junit-jupiter-api 63 junit-jupiter-engine->junit-platform-commons 51 src src




Show more details about dependencies...




2020-09-11 16:25