apache / logging-log4j-transform
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
gitattributes
editorconfig
cmd
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.

main5473 LOC (52%) 111 files
test2211 LOC (21%) 25 files
generated0 LOC (0%) 0 files
build and deployment1128 LOC (10%) 11 files
other1528 LOC (14%) 25 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 ".*".
  • 111 files match defined criteria (5,473 LOC, 100.0% vs. main code):
    • 85 *.java files (5,201 LOC)
    • 25 *.xml files (211 LOC)
    • 1 *.yaml files (61 LOC)
  • " *.java" is biggest, containing 95.03% of LOC.
  • " *.yaml" is smallest, containing 1.11% of LOC.


*.java5201 LOC (95%) 85 files
*.xml211 LOC (3%) 25 files
*.yaml61 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/.*".
  • 25 files match defined criteria (2,211 LOC, 40.4% vs. main code):
    • 20 *.java files (1,869 LOC)
    • 4 *.xml files (277 LOC)
    • 1 *.yaml files (65 LOC)
  • " *.java" is biggest, containing 84.53% of LOC.
  • " *.yaml" is smallest, containing 2.94% of LOC.


*.java1869 LOC (84%) 20 files
*.xml277 LOC (12%) 4 files
*.yaml65 LOC (2%) 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 ".*/package[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 11 files match defined criteria (1,128 LOC, 20.6% vs. main code). All matches are in *.xml files.


*.xml1128 LOC (100%) 11 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 25 files match defined criteria (1,528 LOC, 27.9% vs. main code):
    • 11 *.adoc files (712 LOC)
    • 8 *.properties files (438 LOC)
    • 2 *.txt files (173 LOC)
    • 3 *.json files (171 LOC)
    • 1 *.java files (34 LOC)
  • " *.adoc" is biggest, containing 46.6% of LOC.
  • " *.java" is smallest, containing 2.23% of LOC.


*.adoc712 LOC (46%) 11 files
*.properties438 LOC (28%) 8 files
*.txt173 LOC (11%) 2 files
*.json171 LOC (11%) 3 files
*.java34 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:46