epam / eco-kafka-manager
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
proto
cmd
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.

main65155 LOC (80%) 443 files
test5801 LOC (7%) 86 files
generated880 LOC (1%) 3 files
build and deployment1160 LOC (1%) 8 files
other7813 LOC (9%) 23 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 ".*".
  • 443 files match defined criteria (65,155 LOC, 100.0% vs. main code):
    • 361 *.java files (26,504 LOC)
    • 19 *.css files (18,229 LOC)
    • 12 *.js files (14,128 LOC)
    • 39 *.html files (5,516 LOC)
    • 6 *.yaml files (448 LOC)
    • 6 *.xml files (330 LOC)
  • " *.java" is biggest, containing 40.68% of LOC.
  • " *.xml" is smallest, containing 0.51% of LOC.


*.java26504 LOC (40%) 361 files
*.css18229 LOC (27%) 19 files
*.js14128 LOC (21%) 12 files
*.html5516 LOC (8%) 39 files
*.yaml448 LOC (<1%) 6 files
*.xml330 LOC (<1%) 6 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 86 files match defined criteria (5,801 LOC, 8.9% vs. main code):
    • 85 *.java files (5,791 LOC)
    • 1 *.proto files (10 LOC)
  • " *.java" is biggest, containing 99.83% of LOC.
  • " *.proto" is smallest, containing 0.17% of LOC.


*.java5791 LOC (99%) 85 files
*.proto10 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "//[ ]*Generated by .*".
    • files with paths like ".*[.](py|java|h|cc|cpp|m|rb|php)" AND any line of content like ".*Generated by the protocol buffer compiler[.][ ]+DO NOT EDIT[!].*".
  • 3 files match defined criteria (880 LOC, 1.4% vs. main code). All matches are in *.java files.


*.java880 LOC (100%) 3 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 ".*/docker[-]compose[.]yaml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 8 files match defined criteria (1,160 LOC, 1.8% vs. main code):
    • 7 *.xml files (1,148 LOC)
    • 1 *.yaml files (12 LOC)
  • " *.xml" is biggest, containing 98.97% of LOC.
  • " *.yaml" is smallest, containing 1.03% of LOC.


*.xml1148 LOC (98%) 7 files
*.yaml12 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 ".*/[Ss]amples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
  • 23 files match defined criteria (7,813 LOC, 12.0% vs. main code):
    • 4 *.svg files (7,053 LOC)
    • 8 *.md files (446 LOC)
    • 2 *.yaml files (210 LOC)
    • 8 *.properties files (99 LOC)
    • 1 *.txt files (5 LOC)
  • " *.svg" is biggest, containing 90.27% of LOC.
  • " *.txt" is smallest, containing 0.06% of LOC.


*.svg7053 LOC (90%) 4 files
*.md446 LOC (5%) 8 files
*.yaml210 LOC (2%) 2 files
*.properties99 LOC (1%) 8 files
*.txt5 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:13