apache / tomcat-connectors
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
m4
txt
in
properties
mk
htaccess
vbs
xsl
reg
pro
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.

main68411 LOC (97%) 155 files
test175 LOC (<1%) 4 files
generated0 LOC (0%) 0 files
build and deployment887 LOC (1%) 10 files
other1025 LOC (1%) 11 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
vbs
reg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 155 files match defined criteria (68,411 LOC, 100.0% vs. main code):
    • 43 *.c files (45,723 LOC)
    • 47 *.xml files (13,688 LOC)
    • 35 *.h files (5,003 LOC)
    • 15 *.java files (1,885 LOC)
    • 3 *.pl files (742 LOC)
    • 1 *.xsl files (479 LOC)
    • 2 *.css files (248 LOC)
    • 5 *.in files (224 LOC)
    • 1 *.html files (200 LOC)
    • 1 *.vbs files (133 LOC)
    • 1 *.awk files (75 LOC)
    • 1 *.reg files (11 LOC)
  • " *.c" is biggest, containing 66.84% of LOC.
  • " *.reg" is smallest, containing 0.02% of LOC.


*.c45723 LOC (66%) 43 files
*.xml13688 LOC (20%) 47 files
*.h5003 LOC (7%) 35 files
*.java1885 LOC (2%) 15 files
*.pl742 LOC (1%) 3 files
*.xsl479 LOC (<1%) 1 file
*.css248 LOC (<1%) 2 files
*.in224 LOC (<1%) 5 files
*.html200 LOC (<1%) 1 file
*.vbs133 LOC (<1%) 1 file
*.awk75 LOC (<1%) 1 file
*.reg11 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/.*".
  • 4 files match defined criteria (175 LOC, 0.3% vs. main code):
    • 3 *.xml files (139 LOC)
    • 1 *.java files (36 LOC)
  • " *.xml" is biggest, containing 79.43% of LOC.
  • " *.java" is smallest, containing 20.57% of LOC.


*.xml139 LOC (79%) 3 files
*.java36 LOC (20%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
mk
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]mk".
  • 10 files match defined criteria (887 LOC, 1.3% vs. main code):
    • 6 *.sh files (596 LOC)
    • 2 *.xml files (242 LOC)
    • 2 *.mk files (49 LOC)
  • " *.sh" is biggest, containing 67.19% of LOC.
  • " *.mk" is smallest, containing 5.52% of LOC.


*.sh596 LOC (67%) 6 files
*.xml242 LOC (27%) 2 files
*.mk49 LOC (5%) 2 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]indent[.]pro".
  • 11 files match defined criteria (1,025 LOC, 1.5% vs. main code):
    • 7 *.txt files (603 LOC)
    • 1 *.svg files (224 LOC)
    • 3 *.properties files (198 LOC)
  • " *.txt" is biggest, containing 58.83% of LOC.
  • " *.properties" is smallest, containing 19.32% of LOC.


*.txt603 LOC (58%) 7 files
*.svg224 LOC (21%) 1 file
*.properties198 LOC (19%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:45