apache / directory-ldap-api
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
properties
txt
xslt
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.

main123692 LOC (57%) 1,189 files
test83791 LOC (39%) 840 files
generated0 LOC (0%) 0 files
build and deployment3454 LOC (1%) 34 files
other2656 LOC (1%) 51 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1189 files match defined criteria (123,692 LOC, 100.0% vs. main code):
    • 1,146 *.java files (118,030 LOC)
    • 7 *.g files (4,984 LOC)
    • 31 *.xml files (407 LOC)
    • 3 *.html files (141 LOC)
    • 1 *.pl files (108 LOC)
    • 1 *.xslt files (22 LOC)
  • " *.java" is biggest, containing 95.42% of LOC.
  • " *.xslt" is smallest, containing 0.02% of LOC.


*.java118030 LOC (95%) 1,146 files
*.g4984 LOC (4%) 7 files
*.xml407 LOC (<1%) 31 files
*.html141 LOC (<1%) 3 files
*.pl108 LOC (<1%) 1 file
*.xslt22 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/.*".
  • 840 files match defined criteria (83,791 LOC, 67.7% vs. main code):
    • 370 *.java files (79,380 LOC)
    • 470 *.xml files (4,411 LOC)
  • " *.java" is biggest, containing 94.74% of LOC.
  • " *.xml" is smallest, containing 5.26% of LOC.


*.java79380 LOC (94%) 370 files
*.xml4411 LOC (5%) 470 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 ".*/assembly/src[.]xml".
  • 34 files match defined criteria (3,454 LOC, 2.8% vs. main code). All matches are in *.xml files.


*.xml3454 LOC (100%) 34 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 51 files match defined criteria (2,656 LOC, 2.1% vs. main code):
    • 20 *.properties files (1,808 LOC)
    • 12 *.txt files (341 LOC)
    • 2 *.md files (319 LOC)
    • 17 *.xml files (188 LOC)
  • " *.properties" is biggest, containing 68.07% of LOC.
  • " *.xml" is smallest, containing 7.08% of LOC.


*.properties1808 LOC (68%) 20 files
*.txt341 LOC (12%) 12 files
*.md319 LOC (12%) 2 files
*.xml188 LOC (7%) 17 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:00