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

main4661 LOC (56%) 83 files
test1137 LOC (13%) 16 files
generated0 LOC (0%) 0 files
build and deployment1047 LOC (12%) 8 files
other1356 LOC (16%) 17 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 ".*".
  • 83 files match defined criteria (4,661 LOC, 100.0% vs. main code):
    • 73 *.java files (4,440 LOC)
    • 9 *.ftl files (201 LOC)
    • 1 *.xml files (20 LOC)
  • " *.java" is biggest, containing 95.26% of LOC.
  • " *.xml" is smallest, containing 0.43% of LOC.


*.java4440 LOC (95%) 73 files
*.ftl201 LOC (4%) 9 files
*.xml20 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/.*".
  • 16 files match defined criteria (1,137 LOC, 24.4% vs. main code). All matches are in *.java files.


*.java1137 LOC (100%) 16 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 ".*[.]sh".
  • 8 files match defined criteria (1,047 LOC, 22.5% vs. main code). All matches are in *.xml files.


*.xml1047 LOC (100%) 8 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
  • 17 files match defined criteria (1,356 LOC, 29.1% vs. main code):
    • 1 *.json files (645 LOC)
    • 4 *.md files (387 LOC)
    • 7 *.properties files (187 LOC)
    • 3 *.txt files (116 LOC)
    • 1 *.sh files (15 LOC)
    • 1 *.yml files (6 LOC)
  • " *.json" is biggest, containing 47.57% of LOC.
  • " *.yml" is smallest, containing 0.44% of LOC.


*.json645 LOC (47%) 1 file
*.md387 LOC (28%) 4 files
*.properties187 LOC (13%) 7 files
*.txt116 LOC (8%) 3 files
*.sh15 LOC (1%) 1 file
*.yml6 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:13