apache / fluo
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
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.

main19768 LOC (53%) 219 files
test10323 LOC (27%) 88 files
generated0 LOC (0%) 0 files
build and deployment1658 LOC (4%) 13 files
other5304 LOC (14%) 19 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 ".*".
  • 219 files match defined criteria (19,768 LOC, 100.0% vs. main code):
    • 207 *.java files (17,855 LOC)
    • 11 *.xml files (1,904 LOC)
    • 1 *.thrift files (9 LOC)
  • " *.java" is biggest, containing 90.32% of LOC.
  • " *.thrift" is smallest, containing 0.05% of LOC.


*.java17855 LOC (90%) 207 files
*.xml1904 LOC (9%) 11 files
*.thrift9 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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 88 files match defined criteria (10,323 LOC, 52.2% vs. main code):
    • 86 *.java files (10,196 LOC)
    • 2 *.xml files (127 LOC)
  • " *.java" is biggest, containing 98.77% of LOC.
  • " *.xml" is smallest, containing 1.23% of LOC.


*.java10196 LOC (98%) 86 files
*.xml127 LOC (1%) 2 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 13 files match defined criteria (1,658 LOC, 8.4% vs. main code):
    • 9 *.xml files (1,217 LOC)
    • 4 *.sh files (441 LOC)
  • " *.xml" is biggest, containing 73.4% of LOC.
  • " *.sh" is smallest, containing 26.6% of LOC.


*.xml1217 LOC (73%) 9 files
*.sh441 LOC (26%) 4 files
Other Code
properties
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
  • 19 files match defined criteria (5,304 LOC, 26.8% vs. main code):
    • 2 *.json files (4,246 LOC)
    • 11 *.properties files (558 LOC)
    • 3 *.svg files (383 LOC)
    • 2 *.md files (77 LOC)
    • 1 *.txt files (40 LOC)
  • " *.json" is biggest, containing 80.05% of LOC.
  • " *.txt" is smallest, containing 0.75% of LOC.


*.json4246 LOC (80%) 2 files
*.properties558 LOC (10%) 11 files
*.svg383 LOC (7%) 3 files
*.md77 LOC (1%) 2 files
*.txt40 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:33