apache / flink-ml
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
txt
properties
in
cfg
gitmodules
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.

main37985 LOC (49%) 506 files
test28091 LOC (36%) 191 files
generated0 LOC (0%) 0 files
build and deployment2555 LOC (3%) 25 files
other8422 LOC (10%) 163 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 506 files match defined criteria (37,985 LOC, 100.0% vs. main code):
    • 431 *.java files (33,517 LOC)
    • 70 *.py files (4,265 LOC)
    • 3 *.xml files (173 LOC)
    • 1 *.in files (21 LOC)
    • 1 *.cfg files (9 LOC)
  • " *.java" is biggest, containing 88.24% of LOC.
  • " *.cfg" is smallest, containing 0.02% of LOC.


*.java33517 LOC (88%) 431 files
*.py4265 LOC (11%) 70 files
*.xml173 LOC (<1%) 3 files
*.in21 LOC (<1%) 1 file
*.cfg9 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/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/tests_.*".
    • files with paths like ".*[-]tests/.*".
  • 191 files match defined criteria (28,091 LOC, 74.0% vs. main code):
    • 132 *.java files (22,549 LOC)
    • 58 *.py files (5,497 LOC)
    • 1 *.xml files (45 LOC)
  • " *.java" is biggest, containing 80.27% of LOC.
  • " *.xml" is smallest, containing 0.16% of LOC.


*.java22549 LOC (80%) 132 files
*.py5497 LOC (19%) 58 files
*.xml45 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
  • 25 files match defined criteria (2,555 LOC, 6.7% vs. main code):
    • 15 *.xml files (2,274 LOC)
    • 10 *.sh files (281 LOC)
  • " *.xml" is biggest, containing 89% of LOC.
  • " *.sh" is smallest, containing 11% of LOC.


*.xml2274 LOC (89%) 15 files
*.sh281 LOC (10%) 10 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
  • 163 files match defined criteria (8,422 LOC, 22.2% vs. main code):
    • 16 *.txt files (2,534 LOC)
    • 49 *.java files (2,127 LOC)
    • 36 *.json files (1,693 LOC)
    • 54 *.py files (1,444 LOC)
    • 1 *.xml files (289 LOC)
    • 4 *.md files (257 LOC)
    • 3 *.properties files (78 LOC)
  • " *.txt" is biggest, containing 30.09% of LOC.
  • " *.properties" is smallest, containing 0.93% of LOC.


*.txt2534 LOC (30%) 16 files
*.java2127 LOC (25%) 49 files
*.json1693 LOC (20%) 36 files
*.py1444 LOC (17%) 54 files
*.xml289 LOC (3%) 1 file
*.md257 LOC (3%) 4 files
*.properties78 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:11