apache / tomcat-native
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
txt
dsp
in
m4
xsl
patch
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.

main6781 LOC (75%) 40 files
test26 LOC (<1%) 1 file
generated270 LOC (3%) 2 files
build and deployment603 LOC (6%) 7 files
other1285 LOC (14%) 6 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 40 files match defined criteria (6,781 LOC, 100.0% vs. main code):
    • 9 *.c files (4,297 LOC)
    • 4 *.h files (532 LOC)
    • 10 *.java files (419 LOC)
    • 8 *.xml files (398 LOC)
    • 2 *.pl files (327 LOC)
    • 1 *.xsl files (261 LOC)
    • 1 *.inc files (215 LOC)
    • 2 *.css files (213 LOC)
    • 2 *.in files (109 LOC)
    • 1 *.html files (10 LOC)
  • " *.c" is biggest, containing 63.37% of LOC.
  • " *.html" is smallest, containing 0.15% of LOC.


*.c4297 LOC (63%) 9 files
*.h532 LOC (7%) 4 files
*.java419 LOC (6%) 10 files
*.xml398 LOC (5%) 8 files
*.pl327 LOC (4%) 2 files
*.xsl261 LOC (3%) 1 file
*.inc215 LOC (3%) 1 file
*.css213 LOC (3%) 2 files
*.in109 LOC (1%) 2 files
*.html10 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]est/.*".
  • 1 file matches defined criteria (26 LOC, 0.4% vs. main code). All matches are in *.java files.


*.java26 LOC (100%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
dsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]dsp" AND any line of content like ".*[#] Microsoft Developer Studio Generated Build File.*".
  • 2 files match defined criteria (270 LOC, 4.0% vs. main code). All matches are in *.dsp files.


*.dsp270 LOC (100%) 2 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 ".*/build[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 7 files match defined criteria (603 LOC, 8.9% vs. main code):
    • 5 *.sh files (346 LOC)
    • 2 *.xml files (257 LOC)
  • " *.sh" is biggest, containing 57.38% of LOC.
  • " *.xml" is smallest, containing 42.62% of LOC.


*.sh346 LOC (57%) 5 files
*.xml257 LOC (42%) 2 files
Other Code
txt
dsp
patch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]dsp".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 6 files match defined criteria (1,285 LOC, 19.0% vs. main code):
    • 3 *.txt files (936 LOC)
    • 2 *.dsp files (270 LOC)
    • 1 *.patch files (79 LOC)
  • " *.txt" is biggest, containing 72.84% of LOC.
  • " *.patch" is smallest, containing 6.15% of LOC.


*.txt936 LOC (72%) 3 files
*.dsp270 LOC (21%) 2 files
*.patch79 LOC (6%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:44