apache / npanday-its
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
aspx
xaml
resx
cscfg
csdef
txt
asax
ccproj
ascx
wsdl
xsd
gitattributes
as
vbproj
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.

main0 LOC (0%) 0 files
test16906 LOC (93%) 461 files
generated666 LOC (3%) 25 files
build and deployment234 LOC (1%) 2 files
other185 LOC (1%) 6 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
wsdl
aspx
xaml
ccproj
vbproj
csdef
cscfg
asax
as
ascx
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 461 files match defined criteria (16,906 LOC, ∞% vs. main code):
    • 147 *.xml files (4,738 LOC)
    • 128 *.cs files (2,962 LOC)
    • 64 *.java files (2,845 LOC)
    • 29 *.csproj files (2,357 LOC)
    • 1 *.wsdl files (1,126 LOC)
    • 26 *.aspx files (665 LOC)
    • 2 *.css files (550 LOC)
    • 14 *.xaml files (467 LOC)
    • 21 *.vb files (350 LOC)
    • 4 *.ccproj files (215 LOC)
    • 1 *.vbproj files (150 LOC)
    • 2 *.html files (132 LOC)
    • 7 *.csdef files (106 LOC)
    • 8 *.cscfg files (84 LOC)
    • 4 *.asax files (76 LOC)
    • 1 *.as files (53 LOC)
    • 2 *.ascx files (30 LOC)
  • " *.xml" is biggest, containing 28.03% of LOC.
  • " *.ascx" is smallest, containing 0.18% of LOC.


*.xml4738 LOC (28%) 147 files
*.cs2962 LOC (17%) 128 files
*.java2845 LOC (16%) 64 files
*.csproj2357 LOC (13%) 29 files
*.wsdl1126 LOC (6%) 1 file
*.aspx665 LOC (3%) 26 files
*.css550 LOC (3%) 2 files
*.xaml467 LOC (2%) 14 files
*.vb350 LOC (2%) 21 files
*.ccproj215 LOC (1%) 4 files
*.vbproj150 LOC (<1%) 1 file
*.html132 LOC (<1%) 2 files
*.csdef106 LOC (<1%) 7 files
*.cscfg84 LOC (<1%) 8 files
*.asax76 LOC (<1%) 4 files
*.as53 LOC (<1%) 1 file
*.ascx30 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 ".*[.]designer[.](cs|vb)".
    • files with paths like ".*[.]cs" AND any line of content like "[/][/][ ]*".
    • files with any line of content like "// Generated using .*".
  • 25 files match defined criteria (666 LOC, ∞% vs. main code):
    • 22 *.cs files (650 LOC)
    • 3 *.vb files (16 LOC)
  • " *.cs" is biggest, containing 97.6% of LOC.
  • " *.vb" is smallest, containing 2.4% of LOC.


*.cs650 LOC (97%) 22 files
*.vb16 LOC (2%) 3 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 ".*[.]bat".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]vbproj".
  • 2 files match defined criteria (234 LOC, ∞% vs. main code):
    • 1 *.xml files (210 LOC)
    • 1 *.bat files (24 LOC)
  • " *.xml" is biggest, containing 89.74% of LOC.
  • " *.bat" is smallest, containing 10.26% of LOC.


*.xml210 LOC (89%) 1 file
*.bat24 LOC (10%) 1 file
Other Code
xsd
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/resources/.*[.]xsd".
  • 6 files match defined criteria (185 LOC, ∞% vs. main code):
    • 1 *.xsd files (116 LOC)
    • 5 *.txt files (69 LOC)
  • " *.xsd" is biggest, containing 62.7% of LOC.
  • " *.txt" is smallest, containing 37.3% of LOC.


*.xsd116 LOC (62%) 1 file
*.txt69 LOC (37%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:06