apache / fineract
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
feature
properties
txt
launch
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.

main361091 LOC (64%) 4,723 files
test189467 LOC (33%) 859 files
generated0 LOC (0%) 0 files
build and deployment4062 LOC (<1%) 63 files
other6713 LOC (1%) 62 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 ".*".
  • 4723 files match defined criteria (361,091 LOC, 100.0% vs. main code):
    • 4,344 *.java files (311,592 LOC)
    • 259 *.xml files (34,361 LOC)
    • 78 *.avsc files (10,611 LOC)
    • 12 *.sql files (2,231 LOC)
    • 9 *.groovy files (1,160 LOC)
    • 1 *.css files (630 LOC)
    • 20 *.ftl files (506 LOC)
  • " *.java" is biggest, containing 86.29% of LOC.
  • " *.ftl" is smallest, containing 0.14% of LOC.


*.java311592 LOC (86%) 4,344 files
*.xml34361 LOC (9%) 259 files
*.avsc10611 LOC (2%) 78 files
*.sql2231 LOC (<1%) 12 files
*.groovy1160 LOC (<1%) 9 files
*.css630 LOC (<1%) 1 file
*.ftl506 LOC (<1%) 20 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]feature".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*[-]test[-].*".
  • 859 files match defined criteria (189,467 LOC, 52.5% vs. main code):
    • 791 *.java files (144,646 LOC)
    • 48 *.feature files (44,097 LOC)
    • 8 *.gradle files (387 LOC)
    • 1 *.html files (132 LOC)
    • 4 *.mustache files (115 LOC)
    • 6 *.xml files (89 LOC)
    • 1 *.jsp files (1 LOC)
  • " *.java" is biggest, containing 76.34% of LOC.
  • " *.jsp" is smallest, containing 0% of LOC.


*.java144646 LOC (76%) 791 files
*.feature44097 LOC (23%) 48 files
*.gradle387 LOC (<1%) 8 files
*.html132 LOC (<1%) 1 file
*.mustache115 LOC (<1%) 4 files
*.xml89 LOC (<1%) 6 files
*.jsp1 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 ".*[.]gradle".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 63 files match defined criteria (4,062 LOC, 1.1% vs. main code):
    • 58 *.gradle files (3,900 LOC)
    • 4 *.sh files (91 LOC)
    • 1 *.bat files (71 LOC)
  • " *.gradle" is biggest, containing 96.01% of LOC.
  • " *.bat" is smallest, containing 1.75% of LOC.


*.gradle3900 LOC (96%) 58 files
*.sh91 LOC (2%) 4 files
*.bat71 LOC (1%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/config/checkstyle/.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
  • 62 files match defined criteria (6,713 LOC, 1.9% vs. main code):
    • 19 *.json files (4,140 LOC)
    • 24 *.properties files (1,723 LOC)
    • 13 *.md files (649 LOC)
    • 2 *.xml files (190 LOC)
    • 4 *.txt files (11 LOC)
  • " *.json" is biggest, containing 61.67% of LOC.
  • " *.txt" is smallest, containing 0.16% of LOC.


*.json4140 LOC (61%) 19 files
*.properties1723 LOC (25%) 24 files
*.md649 LOC (9%) 13 files
*.xml190 LOC (2%) 2 files
*.txt11 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:58