aws / opsworks-cookbooks
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 (37 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 37 components.
  • 476 files, 13,686 lines of code (100.0% vs. main code).
  • "apache2" is biggest, containing 22.04% of code.
  • "opsworks_shutdown" is smallest, containing 0.05% of code.


apache23016 LOC (22%) 95 files
opsworks_ganglia2613 LOC (19%) 38 files
deploy1030 LOC (7%) 36 files
opsworks_java676 LOC (4%) 24 files
ebs650 LOC (4%) 14 files
mysql460 LOC (3%) 19 files
opsworks_commons436 LOC (3%) 15 files
haproxy410 LOC (2%) 9 files
nginx403 LOC (2%) 14 files
passenger_apache2392 LOC (2%) 11 files
opsworks_initial_setup358 LOC (2%) 25 files
unicorn333 LOC (2%) 10 files
s3_file295 LOC (2%) 8 files
mod_php5_apache2257 LOC (1%) 9 files
scm_helper244 LOC (1%) 9 files
opsworks_aws_flow_ruby217 LOC (1%) 7 files
opsworks_custom_cookbooks200 LOC (1%) 10 files
ssh_users194 LOC (1%) 8 files
opsworks_ecs167 LOC (1%) 11 files
opsworks_agent_monit155 LOC (1%) 13 files
memcached151 LOC (1%) 10 files
opsworks_berkshelf147 LOC (1%) 7 files
rails135 LOC (<1%) 7 files
opsworks_cloudwatchlogs116 LOC (<1%) 6 files
opsworks_nodejs110 LOC (<1%) 11 files
ruby103 LOC (<1%) 4 files
opsworks_stack_state_sync79 LOC (<1%) 6 files
php69 LOC (<1%) 5 files
opsworks_rubygems47 LOC (<1%) 4 files
opsworks_postgresql44 LOC (<1%) 4 files
opsworks_cleanup37 LOC (<1%) 4 files
gem_support32 LOC (<1%) 3 files
ssh_host_keys31 LOC (<1%) 4 files
opsworks_bundler29 LOC (<1%) 4 files
packages24 LOC (<1%) 5 files
agent_version19 LOC (<1%) 5 files
opsworks_shutdown7 LOC (<1%) 2 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-30 22:20