apache / log4j-extras
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
xslt
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.

main11681 LOC (65%) 143 files
test5217 LOC (29%) 77 files
generated0 LOC (0%) 0 files
build and deployment314 LOC (1%) 2 files
other505 LOC (2%) 21 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 143 files match defined criteria (11,681 LOC, 100.0% vs. main code):
    • 126 *.java files (10,932 LOC)
    • 7 *.sql files (365 LOC)
    • 2 *.css files (152 LOC)
    • 3 *.xml files (130 LOC)
    • 1 *.xslt files (56 LOC)
    • 4 *.html files (46 LOC)
  • " *.java" is biggest, containing 93.59% of LOC.
  • " *.html" is smallest, containing 0.39% of LOC.


*.java10932 LOC (93%) 126 files
*.sql365 LOC (3%) 7 files
*.css152 LOC (1%) 2 files
*.xml130 LOC (1%) 3 files
*.xslt56 LOC (<1%) 1 file
*.html46 LOC (<1%) 4 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/.*".
  • 77 files match defined criteria (5,217 LOC, 44.7% vs. main code):
    • 57 *.java files (4,528 LOC)
    • 20 *.xml files (689 LOC)
  • " *.java" is biggest, containing 86.79% of LOC.
  • " *.xml" is smallest, containing 13.21% of LOC.


*.java4528 LOC (86%) 57 files
*.xml689 LOC (13%) 20 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 ".*/assembly/src[.]xml".
  • 2 files match defined criteria (314 LOC, 2.7% vs. main code). All matches are in *.xml files.


*.xml314 LOC (100%) 2 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 ".*[.]txt".
    • files with paths like ".*[.]properties".
  • 21 files match defined criteria (505 LOC, 4.3% vs. main code):
    • 20 *.properties files (482 LOC)
    • 1 *.txt files (23 LOC)
  • " *.properties" is biggest, containing 95.45% of LOC.
  • " *.txt" is smallest, containing 4.55% of LOC.


*.properties482 LOC (95%) 20 files
*.txt23 LOC (4%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:44