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

main29075 LOC (66%) 322 files
test10617 LOC (24%) 118 files
generated0 LOC (0%) 0 files
build and deployment1250 LOC (2%) 3 files
other2811 LOC (6%) 97 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 ".*".
  • 322 files match defined criteria (29,075 LOC, 100.0% vs. main code):
    • 249 *.java files (24,866 LOC)
    • 52 *.xml files (3,533 LOC)
    • 1 *.cpp files (252 LOC)
    • 16 *.html files (197 LOC)
    • 2 *.css files (152 LOC)
    • 1 *.pl files (41 LOC)
    • 1 *.rdf files (34 LOC)
  • " *.java" is biggest, containing 85.52% of LOC.
  • " *.rdf" is smallest, containing 0.12% of LOC.


*.java24866 LOC (85%) 249 files
*.xml3533 LOC (12%) 52 files
*.cpp252 LOC (<1%) 1 file
*.html197 LOC (<1%) 16 files
*.css152 LOC (<1%) 2 files
*.pl41 LOC (<1%) 1 file
*.rdf34 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]ests/.*".
  • 118 files match defined criteria (10,617 LOC, 36.5% vs. main code):
    • 90 *.java files (9,406 LOC)
    • 26 *.xml files (1,072 LOC)
    • 1 *.bat files (111 LOC)
    • 1 *.pl files (28 LOC)
  • " *.java" is biggest, containing 88.59% of LOC.
  • " *.pl" is smallest, containing 0.26% of LOC.


*.java9406 LOC (88%) 90 files
*.xml1072 LOC (10%) 26 files
*.bat111 LOC (1%) 1 file
*.pl28 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 ".*/build[.]xml".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/pom[.]xml".
  • 3 files match defined criteria (1,250 LOC, 4.3% vs. main code). All matches are in *.xml files.


*.xml1250 LOC (100%) 3 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 ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 97 files match defined criteria (2,811 LOC, 9.7% vs. main code):
    • 68 *.properties files (1,618 LOC)
    • 21 *.java files (840 LOC)
    • 3 *.txt files (160 LOC)
    • 3 *.html files (95 LOC)
    • 1 *.md files (87 LOC)
    • 1 *.xml files (11 LOC)
  • " *.properties" is biggest, containing 57.56% of LOC.
  • " *.xml" is smallest, containing 0.39% of LOC.


*.properties1618 LOC (57%) 68 files
*.java840 LOC (29%) 21 files
*.txt160 LOC (5%) 3 files
*.html95 LOC (3%) 3 files
*.md87 LOC (3%) 1 file
*.xml11 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 10:54