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
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.

main17271 LOC (86%) 84 files
test239 LOC (1%) 2 files
generated0 LOC (0%) 0 files
build and deployment312 LOC (1%) 4 files
other2096 LOC (10%) 29 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 ".*".
  • 84 files match defined criteria (17,271 LOC, 100.0% vs. main code):
    • 26 *.c files (12,611 LOC)
    • 14 *.xml files (2,232 LOC)
    • 27 *.h files (1,064 LOC)
    • 10 *.java files (815 LOC)
    • 4 *.in files (227 LOC)
    • 1 *.inc files (199 LOC)
    • 1 *.html files (119 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.c" is biggest, containing 73.02% of LOC.
  • " *.cgi" is smallest, containing 0.02% of LOC.


*.c12611 LOC (73%) 26 files
*.xml2232 LOC (12%) 14 files
*.h1064 LOC (6%) 27 files
*.java815 LOC (4%) 10 files
*.in227 LOC (1%) 4 files
*.inc199 LOC (1%) 1 file
*.html119 LOC (<1%) 1 file
*.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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*/build[.]xml".
  • 4 files match defined criteria (312 LOC, 1.8% vs. main code):
    • 2 *.xml files (229 LOC)
    • 2 *.sh files (83 LOC)
  • " *.xml" is biggest, containing 73.4% of LOC.
  • " *.sh" is smallest, containing 26.6% of LOC.


*.xml229 LOC (73%) 2 files
*.sh83 LOC (26%) 2 files
Other Code
txt
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Mm]an/.*".
    • files with paths like ".*[.]indent[.]pro".
    • files with paths like ".*/INSTALL[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
  • 29 files match defined criteria (2,096 LOC, 12.1% vs. main code):
    • 6 *.java files (887 LOC)
    • 8 *.txt files (461 LOC)
    • 2 *.xml files (302 LOC)
    • 4 *.md files (219 LOC)
    • 6 *.sh files (125 LOC)
    • 2 *.cmd files (85 LOC)
    • 1 *.c files (17 LOC)
  • " *.java" is biggest, containing 42.32% of LOC.
  • " *.c" is smallest, containing 0.81% of LOC.


*.java887 LOC (42%) 6 files
*.txt461 LOC (21%) 8 files
*.xml302 LOC (14%) 2 files
*.md219 LOC (10%) 4 files
*.sh125 LOC (5%) 6 files
*.cmd85 LOC (4%) 2 files
*.c17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:50