apache / sis
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
gitattributes
asc
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.

main292245 LOC (75%) 2,625 files
test89343 LOC (23%) 881 files
generated0 LOC (0%) 0 files
build and deployment483 LOC (<1%) 5 files
other5810 LOC (1%) 130 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 ".*".
  • 2625 files match defined criteria (292,245 LOC, 100.0% vs. main code):
    • 2,595 *.java files (288,285 LOC)
    • 8 *.xml files (1,905 LOC)
    • 6 *.kts files (845 LOC)
    • 4 *.html files (571 LOC)
    • 10 *.sql files (475 LOC)
    • 2 *.css files (164 LOC)
  • " *.java" is biggest, containing 98.64% of LOC.
  • " *.css" is smallest, containing 0.06% of LOC.


*.java288285 LOC (98%) 2,595 files
*.xml1905 LOC (<1%) 8 files
*.kts845 LOC (<1%) 6 files
*.html571 LOC (<1%) 4 files
*.sql475 LOC (<1%) 10 files
*.css164 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
asc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/test[-]data/.*".
  • 881 files match defined criteria (89,343 LOC, 30.6% vs. main code):
    • 824 *.java files (84,344 LOC)
    • 53 *.xml files (4,842 LOC)
    • 3 *.sql files (123 LOC)
    • 1 *.asc files (34 LOC)
  • " *.java" is biggest, containing 94.4% of LOC.
  • " *.asc" is smallest, containing 0.04% of LOC.


*.java84344 LOC (94%) 824 files
*.xml4842 LOC (5%) 53 files
*.sql123 LOC (<1%) 3 files
*.asc34 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 ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
  • 5 files match defined criteria (483 LOC, 0.2% vs. main code):
    • 2 *.xml files (409 LOC)
    • 2 *.bat files (73 LOC)
    • 1 *.sh files (1 LOC)
  • " *.xml" is biggest, containing 84.68% of LOC.
  • " *.sh" is smallest, containing 0.21% of LOC.


*.xml409 LOC (84%) 2 files
*.bat73 LOC (15%) 2 files
*.sh1 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 ".*[.]json".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
  • 130 files match defined criteria (5,810 LOC, 2.0% vs. main code):
    • 63 *.properties files (3,745 LOC)
    • 34 *.json files (903 LOC)
    • 21 *.md files (608 LOC)
    • 11 *.txt files (479 LOC)
    • 1 *.xml files (75 LOC)
  • " *.properties" is biggest, containing 64.46% of LOC.
  • " *.xml" is smallest, containing 1.29% of LOC.


*.properties3745 LOC (64%) 63 files
*.json903 LOC (15%) 34 files
*.md608 LOC (10%) 21 files
*.txt479 LOC (8%) 11 files
*.xml75 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:33