apache / turbine-archetypes
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
properties
txt
project
props
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.

main2703 LOC (47%) 60 files
test1036 LOC (18%) 8 files
generated0 LOC (0%) 0 files
build and deployment562 LOC (9%) 3 files
other1443 LOC (25%) 13 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 60 files match defined criteria (2,703 LOC, 100.0% vs. main code):
    • 36 *.java files (1,637 LOC)
    • 18 *.xml files (912 LOC)
    • 1 *.css files (84 LOC)
    • 3 *.sql files (50 LOC)
    • 1 *.props files (18 LOC)
    • 1 *.js files (2 LOC)
  • " *.java" is biggest, containing 60.56% of LOC.
  • " *.js" is smallest, containing 0.07% of LOC.


*.java1637 LOC (60%) 36 files
*.xml912 LOC (33%) 18 files
*.css84 LOC (3%) 1 file
*.sql50 LOC (1%) 3 files
*.props18 LOC (<1%) 1 file
*.js2 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 ".*/[Tt]est/.*".
  • 8 files match defined criteria (1,036 LOC, 38.3% vs. main code):
    • 3 *.java files (854 LOC)
    • 5 *.xml files (182 LOC)
  • " *.java" is biggest, containing 82.43% of LOC.
  • " *.xml" is smallest, containing 17.57% of LOC.


*.java854 LOC (82%) 3 files
*.xml182 LOC (17%) 5 files
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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/docker[-]compose[.]yml".
  • 3 files match defined criteria (562 LOC, 20.8% vs. main code):
    • 2 *.xml files (524 LOC)
    • 1 *.yml files (38 LOC)
  • " *.xml" is biggest, containing 93.24% of LOC.
  • " *.yml" is smallest, containing 6.76% of LOC.


*.xml524 LOC (93%) 2 files
*.yml38 LOC (6%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • 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 ".*[.]properties".
  • 13 files match defined criteria (1,443 LOC, 53.4% vs. main code):
    • 11 *.properties files (1,412 LOC)
    • 1 *.md files (30 LOC)
    • 1 *.txt files (1 LOC)
  • " *.properties" is biggest, containing 97.85% of LOC.
  • " *.txt" is smallest, containing 0.07% of LOC.


*.properties1412 LOC (97%) 11 files
*.md30 LOC (2%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:16