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
vbproj
txt
resx
asax
aspx
xproj
gitattributes
targets
props
cmd
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.

main34841 LOC (71%) 284 files
test6393 LOC (13%) 52 files
generated0 LOC (0%) 0 files
build and deployment911 LOC (1%) 12 files
other6638 LOC (13%) 129 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xproj
cmd
targets
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 284 files match defined criteria (34,841 LOC, 100.0% vs. main code):
    • 245 *.cs files (24,203 LOC)
    • 22 *.xml files (8,877 LOC)
    • 8 *.js files (1,149 LOC)
    • 1 *.xproj files (224 LOC)
    • 1 *.rdf files (111 LOC)
    • 1 *.cmd files (106 LOC)
    • 1 *.css files (70 LOC)
    • 2 *.ps1 files (65 LOC)
    • 1 *.targets files (22 LOC)
    • 1 *.yml files (9 LOC)
    • 1 *.props files (5 LOC)
  • " *.cs" is biggest, containing 69.47% of LOC.
  • " *.props" is smallest, containing 0.01% of LOC.


*.cs24203 LOC (69%) 245 files
*.xml8877 LOC (25%) 22 files
*.js1149 LOC (3%) 8 files
*.xproj224 LOC (<1%) 1 file
*.rdf111 LOC (<1%) 1 file
*.cmd106 LOC (<1%) 1 file
*.css70 LOC (<1%) 1 file
*.ps165 LOC (<1%) 2 files
*.targets22 LOC (<1%) 1 file
*.yml9 LOC (<1%) 1 file
*.props5 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
xproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.]tests[.].*".
    • files with paths like ".*/[Tt]ests/.*".
  • 52 files match defined criteria (6,393 LOC, 18.3% vs. main code):
    • 50 *.cs files (6,253 LOC)
    • 1 *.csproj files (93 LOC)
    • 1 *.xproj files (47 LOC)
  • " *.cs" is biggest, containing 97.81% of LOC.
  • " *.xproj" is smallest, containing 0.74% of LOC.


*.cs6253 LOC (97%) 50 files
*.csproj93 LOC (1%) 1 file
*.xproj47 LOC (<1%) 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 ".*[.]bat".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]vbproj".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
  • 12 files match defined criteria (911 LOC, 2.6% vs. main code):
    • 9 *.csproj files (650 LOC)
    • 1 *.xml files (234 LOC)
    • 1 *.bat files (17 LOC)
    • 1 *.sh files (10 LOC)
  • " *.csproj" is biggest, containing 71.35% of LOC.
  • " *.sh" is smallest, containing 1.1% of LOC.


*.csproj650 LOC (71%) 9 files
*.xml234 LOC (25%) 1 file
*.bat17 LOC (1%) 1 file
*.sh10 LOC (1%) 1 file
Other Code
csproj
vbproj
txt
aspx
asax
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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 129 files match defined criteria (6,638 LOC, 19.1% vs. main code):
    • 65 *.cs files (2,731 LOC)
    • 13 *.csproj files (1,554 LOC)
    • 6 *.vbproj files (733 LOC)
    • 17 *.vb files (665 LOC)
    • 4 *.txt files (249 LOC)
    • 4 *.md files (208 LOC)
    • 10 *.js files (204 LOC)
    • 4 *.json files (160 LOC)
    • 2 *.cpp files (78 LOC)
    • 2 *.aspx files (54 LOC)
    • 2 *.asax files (2 LOC)
  • " *.cs" is biggest, containing 41.14% of LOC.
  • " *.asax" is smallest, containing 0.03% of LOC.


*.cs2731 LOC (41%) 65 files
*.csproj1554 LOC (23%) 13 files
*.vbproj733 LOC (11%) 6 files
*.vb665 LOC (10%) 17 files
*.txt249 LOC (3%) 4 files
*.md208 LOC (3%) 4 files
*.js204 LOC (3%) 10 files
*.json160 LOC (2%) 4 files
*.cpp78 LOC (1%) 2 files
*.aspx54 LOC (<1%) 2 files
*.asax2 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:19