apache / syncope
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
xsl
cfg
diff
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.

main228285 LOC (66%) 3,333 files
test53409 LOC (15%) 438 files
generated0 LOC (0%) 0 files
build and deployment15439 LOC (4%) 138 files
other43697 LOC (12%) 1,377 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3333 files match defined criteria (228,285 LOC, 100.0% vs. main code):
    • 2,826 *.java files (205,739 LOC)
    • 381 *.html files (7,032 LOC)
    • 65 *.xml files (6,705 LOC)
    • 9 *.yaml files (3,321 LOC)
    • 14 *.scss files (2,499 LOC)
    • 8 *.css files (1,564 LOC)
    • 8 *.js files (827 LOC)
    • 19 *.groovy files (459 LOC)
    • 1 *.sql files (66 LOC)
    • 1 *.g4 files (62 LOC)
    • 1 *.cfg files (11 LOC)
  • " *.java" is biggest, containing 90.12% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java205739 LOC (90%) 2,826 files
*.html7032 LOC (3%) 381 files
*.xml6705 LOC (2%) 65 files
*.yaml3321 LOC (1%) 9 files
*.scss2499 LOC (1%) 14 files
*.css1564 LOC (<1%) 8 files
*.js827 LOC (<1%) 8 files
*.groovy459 LOC (<1%) 19 files
*.sql66 LOC (<1%) 1 file
*.g462 LOC (<1%) 1 file
*.cfg11 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
  • 438 files match defined criteria (53,409 LOC, 23.4% vs. main code):
    • 390 *.java files (51,922 LOC)
    • 19 *.xml files (767 LOC)
    • 23 *.groovy files (663 LOC)
    • 1 *.xsl files (25 LOC)
    • 4 *.sql files (21 LOC)
    • 1 *.html files (11 LOC)
  • " *.java" is biggest, containing 97.22% of LOC.
  • " *.html" is smallest, containing 0.02% of LOC.


*.java51922 LOC (97%) 390 files
*.xml767 LOC (1%) 19 files
*.groovy663 LOC (1%) 23 files
*.xsl25 LOC (<1%) 1 file
*.sql21 LOC (<1%) 4 files
*.html11 LOC (<1%) 1 file
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 ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/assembly[.]xml".
  • 138 files match defined criteria (15,439 LOC, 6.8% vs. main code):
    • 131 *.xml files (15,417 LOC)
    • 1 *.bat files (16 LOC)
    • 6 *.sh files (6 LOC)
  • " *.xml" is biggest, containing 99.86% of LOC.
  • " *.sh" is smallest, containing 0.04% of LOC.


*.xml15417 LOC (99%) 131 files
*.bat16 LOC (<1%) 1 file
*.sh6 LOC (<1%) 6 files
Other Code
properties
diff
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]diff".
  • 1377 files match defined criteria (43,697 LOC, 19.1% vs. main code):
    • 1,290 *.properties files (31,184 LOC)
    • 60 *.adoc files (6,967 LOC)
    • 2 *.svg files (2,728 LOC)
    • 17 *.json files (2,494 LOC)
    • 1 *.diff files (136 LOC)
    • 1 *.xml files (83 LOC)
    • 3 *.md files (77 LOC)
    • 2 *.txt files (21 LOC)
    • 1 *.html files (7 LOC)
  • " *.properties" is biggest, containing 71.36% of LOC.
  • " *.html" is smallest, containing 0.02% of LOC.


*.properties31184 LOC (71%) 1,290 files
*.adoc6967 LOC (15%) 60 files
*.svg2728 LOC (6%) 2 files
*.json2494 LOC (5%) 17 files
*.diff136 LOC (<1%) 1 file
*.xml83 LOC (<1%) 1 file
*.md77 LOC (<1%) 3 files
*.txt21 LOC (<1%) 2 files
*.html7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:44