fbsamples / workplace-platform-samples
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 (46 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 46 components.
  • 75 files, 5,874 lines of code (61.4% vs. main code).
  • "SampleIntegrations/SampleBots/NodeJS" is biggest, containing 25.14% of code.
  • "SupportScripts/Python/BulkReactivateUsers" is smallest, containing 0.29% of code.


SampleIntegrations/SampleBots/NodeJS1477 LOC (15%) 14 files
SampleIntegrations/SamplePlatforms/NodeJS462 LOC (4%) 11 files
SupportScripts/Python/AccountManagement438 LOC (4%) 3 files
SupportScripts/Powershell/MigrateGroupContentToNewTenant434 LOC (4%) 1 files
SupportScripts/Powershell/ExportCampaignActivity176 LOC (1%) 1 files
SupportScripts/Powershell/ExportPostActivity151 LOC (1%) 1 files
SupportScripts/Powershell/CleanGroupMembers142 LOC (1%) 1 files
SupportScripts/Python/ManageGroupMembers136 LOC (1%) 2 files
SupportScripts/Powershell/DownloadGroupFeed130 LOC (1%) 1 files
SupportScripts/Powershell/ExportUsersSCIM115 LOC (1%) 1 files
SupportScripts/Powershell/MigrateUsersToPeopleSets114 LOC (1%) 1 files
SupportScripts/Powershell/DeleteUserMessages111 LOC (1%) 2 files
SampleIntegrations/SampleWebhooks/NodeJS108 LOC (1%) 1 files
SupportScripts/Powershell/ChangeBulkObjectId108 LOC (1%) 1 files
SupportScripts/Powershell/UpdateExternalIdFromAzureAd105 LOC (1%) 1 files
SupportScripts/Powershell/ChangeBulkEmail104 LOC (1%) 1 files
SupportScripts/Powershell/AnonymiseUserProfileData104 LOC (1%) 2 files
SupportScripts/Powershell/ArchiveGroupsInBulk89 LOC (<1%) 1 files
SupportScripts/Python/GetGroupFeedWithDetails85 LOC (<1%) 1 files
SupportScripts/Powershell/BackupAllUsersGroups85 LOC (<1%) 1 files
SupportScripts/Powershell/ChangeBulkLocale84 LOC (<1%) 1 files
SupportScripts/Powershell/ExportGroupLastActivityDate83 LOC (<1%) 1 files
SupportScripts/Python/DownloadGroupFeed76 LOC (<1%) 1 files
SupportScripts/Powershell/RetrieveMessageInfo74 LOC (<1%) 1 files
SupportScripts/Powershell/ActivateInBulk72 LOC (<1%) 1 files
SupportScripts/Powershell/ExportUserDataWithInsights69 LOC (<1%) 2 files
SupportScripts/Python/GetKLCategoryInfo61 LOC (<1%) 1 files
SampleIntegrations/SampleWebhooks/PHP60 LOC (<1%) 1 files
SupportScripts/Powershell/ExportGroupMembers60 LOC (<1%) 1 files
SupportScripts/Python/GetGroupListWithDetails57 LOC (<1%) 1 files
SupportScripts/Python/RemoveMembersFromGroupUsingClaimDate55 LOC (<1%) 1 files
SupportScripts/Python/ExportUserDataWithInsights51 LOC (<1%) 1 files
SupportScripts/Python/RemoveInactiveMembersFromGroup50 LOC (<1%) 1 files
SupportScripts/Powershell/MessageUsersWithoutProfilePicture43 LOC (<1%) 1 files
SupportScripts/Python/DownloadMessagesFromMember41 LOC (<1%) 1 files
SupportScripts/Python/GetPostViewers38 LOC (<1%) 1 files
SupportScripts/Python/AccessQRCodes31 LOC (<1%) 1 files
SupportScripts/Python/RemoveGroupMembers28 LOC (<1%) 1 files
SupportScripts/Python/UpdateUserFrontlineStatus27 LOC (<1%) 1 files
SupportScripts/Python/AddUsersToGroup24 LOC (<1%) 1 files
SupportScripts/Python/ConnectivityTest20 LOC (<1%) 1 files
SupportScripts/Python/DeleteUsers20 LOC (<1%) 1 files
SupportScripts/Python/PromoteGroupMemberToAdmin20 LOC (<1%) 1 files
SupportScripts/Python/UpdateGroupDescription20 LOC (<1%) 1 files
SupportScripts/Python/UpdateUserEmails19 LOC (<1%) 1 files
SupportScripts/Python/BulkReactivateUsers17 LOC (<1%) 1 files
Dependencies
Dependencies among components are static code dependencies among files in different components.

No component dependencies found.



2022-01-26 09:33