apache / logging-log4j-tools
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
xsd
gitattributes
editorconfig
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.

main1645 LOC (46%) 38 files
test753 LOC (21%) 52 files
generated0 LOC (0%) 0 files
build and deployment527 LOC (14%) 4 files
other636 LOC (17%) 9 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 ".*".
  • 38 files match defined criteria (1,645 LOC, 100.0% vs. main code):
    • 23 *.java files (1,431 LOC)
    • 14 *.xml files (129 LOC)
    • 1 *.adoc files (85 LOC)
  • " *.java" is biggest, containing 86.99% of LOC.
  • " *.adoc" is smallest, containing 5.17% of LOC.


*.java1431 LOC (86%) 23 files
*.xml129 LOC (7%) 14 files
*.adoc85 LOC (5%) 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/.*".
  • 52 files match defined criteria (753 LOC, 45.8% vs. main code):
    • 41 *.xml files (412 LOC)
    • 5 *.java files (187 LOC)
    • 6 *.adoc files (154 LOC)
  • " *.xml" is biggest, containing 54.71% of LOC.
  • " *.adoc" is smallest, containing 20.45% of LOC.


*.xml412 LOC (54%) 41 files
*.java187 LOC (24%) 5 files
*.adoc154 LOC (20%) 6 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 ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 4 files match defined criteria (527 LOC, 32.0% vs. main code). All matches are in *.xml files.


*.xml527 LOC (100%) 4 files
Other Code
txt
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
  • 9 files match defined criteria (636 LOC, 38.7% vs. main code):
    • 3 *.adoc files (360 LOC)
    • 4 *.txt files (197 LOC)
    • 1 *.xsd files (59 LOC)
    • 1 *.md files (20 LOC)
  • " *.adoc" is biggest, containing 56.6% of LOC.
  • " *.md" is smallest, containing 3.14% of LOC.


*.adoc360 LOC (56%) 3 files
*.txt197 LOC (30%) 4 files
*.xsd59 LOC (9%) 1 file
*.md20 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 17:30