aws / amazon-chime-sdk-android
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
txt
pro
properties
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • The main category contains all manually created source code files that are being used in the production.
  • Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity.
  • Test source code files are used only for testing of the product. These files are normally not deployed to production.
  • Build and deployment source code files are used to configure or support build and deployment process.
  • Generated source code files are automatically generated files that have not been manually changed after generation.
  • While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers.
  • Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.

main15369 LOC (51%) 280 files
test10194 LOC (33%) 63 files
generated0 LOC (0%) 0 files
build and deployment592 LOC (1%) 8 files
other3972 LOC (13%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
pro
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 280 files match defined criteria (15,369 LOC, 100.0% vs. main code):
    • 231 *.kt files (13,827 LOC)
    • 48 *.xml files (1,541 LOC)
    • 1 *.pro files (1 LOC)
  • " *.kt" is biggest, containing 89.97% of LOC.
  • " *.pro" is smallest, containing 0.01% of LOC.


*.kt13827 LOC (89%) 231 files
*.xml1541 LOC (10%) 48 files
*.pro1 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/src/androidTest/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 63 files match defined criteria (10,194 LOC, 66.3% vs. main code):
    • 62 *.kt files (10,098 LOC)
    • 1 *.java files (96 LOC)
  • " *.kt" is biggest, containing 99.06% of LOC.
  • " *.java" is smallest, containing 0.94% of LOC.


*.kt10098 LOC (99%) 62 files
*.java96 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
  • 8 files match defined criteria (592 LOC, 3.9% vs. main code):
    • 5 *.gradle files (467 LOC)
    • 1 *.bat files (78 LOC)
    • 2 *.xml files (47 LOC)
  • " *.gradle" is biggest, containing 78.89% of LOC.
  • " *.xml" is smallest, containing 7.94% of LOC.


*.gradle467 LOC (78%) 5 files
*.bat78 LOC (13%) 1 file
*.xml47 LOC (7%) 2 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 17 files match defined criteria (3,972 LOC, 25.8% vs. main code):
    • 3 *.txt files (2,094 LOC)
    • 12 *.md files (1,821 LOC)
    • 2 *.properties files (57 LOC)
  • " *.txt" is biggest, containing 52.72% of LOC.
  • " *.properties" is smallest, containing 1.44% of LOC.


*.txt2094 LOC (52%) 3 files
*.md1821 LOC (45%) 12 files
*.properties57 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:09