apache / bigtop-manager
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
proto
properties
st
txt
gitmodules
cmd
eslintignore
prettierignore
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.

main43534 LOC (66%) 816 files
test11468 LOC (17%) 209 files
generated20 LOC (<1%) 1 file
build and deployment6956 LOC (10%) 19 files
other3925 LOC (5%) 73 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
st
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 816 files match defined criteria (43,534 LOC, 100.0% vs. main code):
    • 508 *.java files (20,604 LOC)
    • 67 *.vue files (10,461 LOC)
    • 115 *.xml files (6,655 LOC)
    • 102 *.ts files (3,969 LOC)
    • 3 *.sql files (954 LOC)
    • 5 *.scss files (554 LOC)
    • 8 *.proto files (280 LOC)
    • 3 *.ftl files (31 LOC)
    • 1 *.html files (13 LOC)
    • 1 *.js files (10 LOC)
    • 3 *.st files (3 LOC)
  • " *.java" is biggest, containing 47.33% of LOC.
  • " *.st" is smallest, containing 0.01% of LOC.


*.java20604 LOC (47%) 508 files
*.vue10461 LOC (24%) 67 files
*.xml6655 LOC (15%) 115 files
*.ts3969 LOC (9%) 102 files
*.sql954 LOC (2%) 3 files
*.scss554 LOC (1%) 5 files
*.proto280 LOC (<1%) 8 files
*.ftl31 LOC (<1%) 3 files
*.html13 LOC (<1%) 1 file
*.js10 LOC (<1%) 1 file
*.st3 LOC (<1%) 3 files
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 ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/vitest[.].*".
  • 209 files match defined criteria (11,468 LOC, 26.3% vs. main code):
    • 196 *.java files (11,019 LOC)
    • 8 *.xml files (278 LOC)
    • 5 *.ts files (171 LOC)
  • " *.java" is biggest, containing 96.08% of LOC.
  • " *.ts" is smallest, containing 1.49% of LOC.


*.java11019 LOC (96%) 196 files
*.xml278 LOC (2%) 8 files
*.ts171 LOC (1%) 5 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 1 file matches defined criteria (20 LOC, 0.0% vs. main code). All matches are in *.ftl files.


*.ftl20 LOC (100%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/pnpm.*[.]ya?ml".
  • 19 files match defined criteria (6,956 LOC, 16.0% vs. main code):
    • 1 *.yaml files (5,075 LOC)
    • 15 *.xml files (1,659 LOC)
    • 3 *.sh files (222 LOC)
  • " *.yaml" is biggest, containing 72.96% of LOC.
  • " *.sh" is smallest, containing 3.19% of LOC.


*.yaml5075 LOC (72%) 1 file
*.xml1659 LOC (23%) 15 files
*.sh222 LOC (3%) 3 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]eslintignore".
  • 73 files match defined criteria (3,925 LOC, 9.0% vs. main code):
    • 19 *.json files (2,133 LOC)
    • 45 *.svg files (1,464 LOC)
    • 4 *.md files (168 LOC)
    • 3 *.properties files (148 LOC)
    • 2 *.txt files (12 LOC)
  • " *.json" is biggest, containing 54.34% of LOC.
  • " *.txt" is smallest, containing 0.31% of LOC.


*.json2133 LOC (54%) 19 files
*.svg1464 LOC (37%) 45 files
*.md168 LOC (4%) 4 files
*.properties148 LOC (3%) 3 files
*.txt12 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:59