apache / commons-daemon
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
in
m4
cmd
cgi
gitattributes
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.

main16687 LOC (83%) 83 files
test239 LOC (1%) 2 files
generated0 LOC (0%) 0 files
build and deployment251 LOC (1%) 3 files
other2702 LOC (13%) 30 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 83 files match defined criteria (16,687 LOC, 100.0% vs. main code):
    • 26 *.c files (12,684 LOC)
    • 14 *.xml files (1,715 LOC)
    • 27 *.h files (1,064 LOC)
    • 10 *.java files (818 LOC)
    • 1 *.inc files (186 LOC)
    • 1 *.html files (119 LOC)
    • 3 *.in files (97 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.c" is biggest, containing 76.01% of LOC.
  • " *.cgi" is smallest, containing 0.02% of LOC.


*.c12684 LOC (76%) 26 files
*.xml1715 LOC (10%) 14 files
*.h1064 LOC (6%) 27 files
*.java818 LOC (4%) 10 files
*.inc186 LOC (1%) 1 file
*.html119 LOC (<1%) 1 file
*.in97 LOC (<1%) 3 files
*.cgi4 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/.*".
  • 2 files match defined criteria (239 LOC, 1.4% vs. main code). All matches are in *.java files.


*.java239 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 ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 3 files match defined criteria (251 LOC, 1.5% vs. main code):
    • 2 *.xml files (240 LOC)
    • 1 *.sh files (11 LOC)
  • " *.xml" is biggest, containing 95.62% of LOC.
  • " *.sh" is smallest, containing 4.38% of LOC.


*.xml240 LOC (95%) 2 files
*.sh11 LOC (4%) 1 file
Other Code
txt
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Mm]an/.*".
    • files with paths like ".*/INSTALL[.][a-z0-9]+".
    • files with paths like ".*[.]indent[.]pro".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 30 files match defined criteria (2,702 LOC, 16.2% vs. main code):
    • 3 *.xml files (920 LOC)
    • 6 *.java files (880 LOC)
    • 8 *.txt files (451 LOC)
    • 4 *.md files (224 LOC)
    • 6 *.sh files (125 LOC)
    • 2 *.cmd files (85 LOC)
    • 1 *.c files (17 LOC)
  • " *.xml" is biggest, containing 34.05% of LOC.
  • " *.c" is smallest, containing 0.63% of LOC.


*.xml920 LOC (34%) 3 files
*.java880 LOC (32%) 6 files
*.txt451 LOC (16%) 8 files
*.md224 LOC (8%) 4 files
*.sh125 LOC (4%) 6 files
*.cmd85 LOC (3%) 2 files
*.c17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:35