apache / logging-log4j-scala
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.

main2919 LOC (42%) 48 files
test2887 LOC (42%) 17 files
generated0 LOC (0%) 0 files
build and deployment597 LOC (8%) 6 files
other453 LOC (6%) 13 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 ".*".
  • 48 files match defined criteria (2,919 LOC, 100.0% vs. main code):
    • 20 *.scala files (2,666 LOC)
    • 22 *.xml files (168 LOC)
    • 1 *.yaml files (60 LOC)
    • 5 *.java files (25 LOC)
  • " *.scala" is biggest, containing 91.33% of LOC.
  • " *.java" is smallest, containing 0.86% of LOC.


*.scala2666 LOC (91%) 20 files
*.xml168 LOC (5%) 22 files
*.yaml60 LOC (2%) 1 file
*.java25 LOC (<1%) 5 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/.*".
  • 17 files match defined criteria (2,887 LOC, 98.9% vs. main code). All matches are in *.scala files.


*.scala2887 LOC (100%) 17 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 ".*/package[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 6 files match defined criteria (597 LOC, 20.5% vs. main code). All matches are in *.xml files.


*.xml597 LOC (100%) 6 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 ".*[.]adoc".
    • files with paths like ".*[.]json".
    • 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]+".
  • 13 files match defined criteria (453 LOC, 15.5% vs. main code):
    • 2 *.txt files (200 LOC)
    • 5 *.adoc files (156 LOC)
    • 5 *.properties files (90 LOC)
    • 1 *.json files (7 LOC)
  • " *.txt" is biggest, containing 44.15% of LOC.
  • " *.json" is smallest, containing 1.55% of LOC.


*.txt200 LOC (44%) 2 files
*.adoc156 LOC (34%) 5 files
*.properties90 LOC (19%) 5 files
*.json7 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:05