apache / yetus
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
bats
gitattributes
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.

main3296 LOC (12%) 39 files
test582 LOC (2%) 19 files
generated0 LOC (0%) 0 files
build and deployment15737 LOC (60%) 92 files
other6202 LOC (24%) 105 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 39 files match defined criteria (3,296 LOC, 100.0% vs. main code):
    • 8 *.py files (1,616 LOC)
    • 1 *.css files (581 LOC)
    • 12 *.java files (400 LOC)
    • 11 *.xml files (309 LOC)
    • 2 *.rb files (177 LOC)
    • 4 *.erb files (175 LOC)
    • 1 *.rdf files (38 LOC)
  • " *.py" is biggest, containing 49.03% of LOC.
  • " *.rdf" is smallest, containing 1.15% of LOC.


*.py1616 LOC (49%) 8 files
*.css581 LOC (17%) 1 file
*.java400 LOC (12%) 12 files
*.xml309 LOC (9%) 11 files
*.rb177 LOC (5%) 2 files
*.erb175 LOC (5%) 4 files
*.rdf38 LOC (1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
bats
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 19 files match defined criteria (582 LOC, 17.7% vs. main code):
    • 11 *.bats files (324 LOC)
    • 2 *.java files (161 LOC)
    • 2 *.sh files (62 LOC)
    • 1 *.bash files (26 LOC)
    • 1 *.yaml files (4 LOC)
    • 1 *.pl files (3 LOC)
    • 1 *.xml files (2 LOC)
  • " *.bats" is biggest, containing 55.67% of LOC.
  • " *.xml" is smallest, containing 0.34% of LOC.


*.bats324 LOC (55%) 11 files
*.java161 LOC (27%) 2 files
*.sh62 LOC (10%) 2 files
*.bash26 LOC (4%) 1 file
*.yaml4 LOC (<1%) 1 file
*.pl3 LOC (<1%) 1 file
*.xml2 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 ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 92 files match defined criteria (15,737 LOC, 477.5% vs. main code):
    • 82 *.sh files (14,478 LOC)
    • 10 *.xml files (1,259 LOC)
  • " *.sh" is biggest, containing 92% of LOC.
  • " *.xml" is smallest, containing 8% of LOC.


*.sh14478 LOC (91%) 82 files
*.xml1259 LOC (8%) 10 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[.]dockerignore".
  • 105 files match defined criteria (6,202 LOC, 188.2% vs. main code):
    • 91 *.md files (5,186 LOC)
    • 2 *.json files (438 LOC)
    • 1 *.sh files (307 LOC)
    • 1 *.html files (217 LOC)
    • 10 *.txt files (54 LOC)
  • " *.md" is biggest, containing 83.62% of LOC.
  • " *.txt" is smallest, containing 0.87% of LOC.


*.md5186 LOC (83%) 91 files
*.json438 LOC (7%) 2 files
*.sh307 LOC (4%) 1 file
*.html217 LOC (3%) 1 file
*.txt54 LOC (<1%) 10 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:54