apache / directory-kerby
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
cmd
properties
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.

main45169 LOC (74%) 792 files
test10493 LOC (17%) 172 files
generated0 LOC (0%) 0 files
build and deployment2601 LOC (4%) 47 files
other2649 LOC (4%) 36 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 792 files match defined criteria (45,169 LOC, 100.0% vs. main code):
    • 790 *.java files (45,086 LOC)
    • 2 *.xml files (83 LOC)
  • " *.java" is biggest, containing 99.82% of LOC.
  • " *.xml" is smallest, containing 0.18% of LOC.


*.java45086 LOC (99%) 790 files
*.xml83 LOC (<1%) 2 files
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/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test[.].*".
  • 172 files match defined criteria (10,493 LOC, 23.2% vs. main code):
    • 161 *.java files (10,385 LOC)
    • 1 *.xml files (72 LOC)
    • 8 *.cc files (25 LOC)
    • 2 *.sh files (11 LOC)
  • " *.java" is biggest, containing 98.97% of LOC.
  • " *.sh" is smallest, containing 0.1% of LOC.


*.java10385 LOC (98%) 161 files
*.xml72 LOC (<1%) 1 file
*.cc25 LOC (<1%) 8 files
*.sh11 LOC (<1%) 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[.]xml".
  • 47 files match defined criteria (2,601 LOC, 5.8% vs. main code):
    • 45 *.xml files (2,588 LOC)
    • 2 *.sh files (13 LOC)
  • " *.xml" is biggest, containing 99.5% of LOC.
  • " *.sh" is smallest, containing 0.5% of LOC.


*.xml2588 LOC (99%) 45 files
*.sh13 LOC (<1%) 2 files
Other Code
txt
properties
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 ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle.*".
  • 36 files match defined criteria (2,649 LOC, 5.9% vs. main code):
    • 23 *.txt files (2,071 LOC)
    • 7 *.md files (442 LOC)
    • 5 *.properties files (129 LOC)
    • 1 *.xml files (7 LOC)
  • " *.txt" is biggest, containing 78.18% of LOC.
  • " *.xml" is smallest, containing 0.26% of LOC.


*.txt2071 LOC (78%) 23 files
*.md442 LOC (16%) 7 files
*.properties129 LOC (4%) 5 files
*.xml7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:46