apache / logging-log4net
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
csproj
xaml
txt
plist
editorconfig
props
gitattributes
targets
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.

main17349 LOC (32%) 301 files
test6581 LOC (12%) 63 files
generated7150 LOC (13%) 1 file
build and deployment268 LOC (<1%) 9 files
other21237 LOC (40%) 119 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
targets
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 301 files match defined criteria (17,349 LOC, 100.0% vs. main code):
    • 248 *.cs files (16,513 LOC)
    • 38 *.xml files (336 LOC)
    • 5 *.ps1 files (171 LOC)
    • 5 *.js files (154 LOC)
    • 2 *.ts files (73 LOC)
    • 1 *.yaml files (60 LOC)
    • 1 *.props files (28 LOC)
    • 1 *.targets files (14 LOC)
  • " *.cs" is biggest, containing 95.18% of LOC.
  • " *.targets" is smallest, containing 0.08% of LOC.


*.cs16513 LOC (95%) 248 files
*.xml336 LOC (1%) 38 files
*.ps1171 LOC (<1%) 5 files
*.js154 LOC (<1%) 5 files
*.ts73 LOC (<1%) 2 files
*.yaml60 LOC (<1%) 1 file
*.props28 LOC (<1%) 1 file
*.targets14 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 63 files match defined criteria (6,581 LOC, 37.9% vs. main code):
    • 60 *.cs files (6,526 LOC)
    • 1 *.csproj files (37 LOC)
    • 2 *.xml files (18 LOC)
  • " *.cs" is biggest, containing 99.16% of LOC.
  • " *.xml" is smallest, containing 0.27% of LOC.


*.cs6526 LOC (99%) 60 files
*.csproj37 LOC (<1%) 1 file
*.xml18 LOC (<1%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (7,150 LOC, 41.2% vs. main code). All matches are in *.json files.


*.json7150 LOC (100%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 9 files match defined criteria (268 LOC, 1.5% vs. main code):
    • 7 *.csproj files (204 LOC)
    • 1 *.xml files (54 LOC)
    • 1 *.sh files (10 LOC)
  • " *.csproj" is biggest, containing 76.12% of LOC.
  • " *.sh" is smallest, containing 3.73% of LOC.


*.csproj204 LOC (76%) 7 files
*.xml54 LOC (20%) 1 file
*.sh10 LOC (3%) 1 file
Other Code
xaml
csproj
plist
txt
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
  • 119 files match defined criteria (21,237 LOC, 122.4% vs. main code):
    • 44 *.cs files (9,746 LOC)
    • 3 *.json files (7,208 LOC)
    • 35 *.adoc files (3,088 LOC)
    • 6 *.xaml files (498 LOC)
    • 11 *.csproj files (250 LOC)
    • 4 *.md files (197 LOC)
    • 3 *.plist files (71 LOC)
    • 5 *.txt files (66 LOC)
    • 1 *.props files (47 LOC)
    • 4 *.xml files (46 LOC)
    • 3 *.svg files (20 LOC)
  • " *.cs" is biggest, containing 45.89% of LOC.
  • " *.svg" is smallest, containing 0.09% of LOC.


*.cs9746 LOC (45%) 44 files
*.json7208 LOC (33%) 3 files
*.adoc3088 LOC (14%) 35 files
*.xaml498 LOC (2%) 6 files
*.csproj250 LOC (1%) 11 files
*.md197 LOC (<1%) 4 files
*.plist71 LOC (<1%) 3 files
*.txt66 LOC (<1%) 5 files
*.props47 LOC (<1%) 1 file
*.xml46 LOC (<1%) 4 files
*.svg20 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:56