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.

main122686 LOC (57%) 1,184 files
test82893 LOC (39%) 837 files
generated0 LOC (0%) 0 files
build and deployment3393 LOC (1%) 34 files
other2644 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 ".*".
  • 1184 files match defined criteria (122,686 LOC, 100.0% vs. main code):
    • 1,141 *.java files (117,108 LOC)
    • 7 *.g files (5,008 LOC)
    • 31 *.xml files (300 LOC)
    • 3 *.html files (140 LOC)
    • 1 *.pl files (108 LOC)
    • 1 *.xslt files (22 LOC)
  • " *.java" is biggest, containing 95.45% of LOC.
  • " *.xslt" is smallest, containing 0.02% of LOC.


*.java117108 LOC (95%) 1,141 files
*.g5008 LOC (4%) 7 files
*.xml300 LOC (<1%) 31 files
*.html140 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/.*".
  • 837 files match defined criteria (82,893 LOC, 67.6% vs. main code):
    • 367 *.java files (78,482 LOC)
    • 470 *.xml files (4,411 LOC)
  • " *.java" is biggest, containing 94.68% of LOC.
  • " *.xml" is smallest, containing 5.32% of LOC.


*.java78482 LOC (94%) 367 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,393 LOC, 2.8% vs. main code). All matches are in *.xml files.


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


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


2023-08-10 18:45