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
txt
gitattributes
cmd
properties
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.

main1802 LOC (40%) 31 files
test1168 LOC (25%) 11 files
generated0 LOC (0%) 0 files
build and deployment998 LOC (22%) 8 files
other527 LOC (11%) 5 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 ".*".
  • 31 files match defined criteria (1,802 LOC, 100.0% vs. main code):
    • 20 *.java files (1,428 LOC)
    • 4 *.adoc files (190 LOC)
    • 6 *.xml files (105 LOC)
    • 1 *.ftl files (79 LOC)
  • " *.java" is biggest, containing 79.25% of LOC.
  • " *.ftl" is smallest, containing 4.38% of LOC.


*.java1428 LOC (79%) 20 files
*.adoc190 LOC (10%) 4 files
*.xml105 LOC (5%) 6 files
*.ftl79 LOC (4%) 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/.*".
  • 11 files match defined criteria (1,168 LOC, 64.8% vs. main code):
    • 10 *.java files (1,157 LOC)
    • 1 *.xml files (11 LOC)
  • " *.java" is biggest, containing 99.06% of LOC.
  • " *.xml" is smallest, containing 0.94% of LOC.


*.java1157 LOC (99%) 10 files
*.xml11 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 8 files match defined criteria (998 LOC, 55.4% vs. main code). All matches are in *.xml files.


*.xml998 LOC (100%) 8 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 5 files match defined criteria (527 LOC, 29.2% vs. main code):
    • 3 *.adoc files (288 LOC)
    • 1 *.txt files (169 LOC)
    • 1 *.md files (70 LOC)
  • " *.adoc" is biggest, containing 54.65% of LOC.
  • " *.md" is smallest, containing 13.28% of LOC.


*.adoc288 LOC (54%) 3 files
*.txt169 LOC (32%) 1 file
*.md70 LOC (13%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:38