epam / TimeBaseCommons
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
props
csproj
cake
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.

main56250 LOC (87%) 721 files
test3995 LOC (6%) 44 files
generated0 LOC (0%) 0 files
build and deployment561 LOC (<1%) 9 files
other3569 LOC (5%) 48 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cake
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 721 files match defined criteria (56,250 LOC, 100.0% vs. main code):
    • 602 *.java files (45,671 LOC)
    • 116 *.cs files (10,326 LOC)
    • 1 *.ps1 files (177 LOC)
    • 1 *.cake files (70 LOC)
    • 1 *.props files (6 LOC)
  • " *.java" is biggest, containing 81.19% of LOC.
  • " *.props" is smallest, containing 0.01% of LOC.


*.java45671 LOC (81%) 602 files
*.cs10326 LOC (18%) 116 files
*.ps1177 LOC (<1%) 1 file
*.cake70 LOC (<1%) 1 file
*.props6 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/.*".
  • 44 files match defined criteria (3,995 LOC, 7.1% vs. main code). All matches are in *.java files.


*.java3995 LOC (100%) 44 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]bat".
  • 9 files match defined criteria (561 LOC, 1.0% vs. main code):
    • 6 *.gradle files (368 LOC)
    • 1 *.sh files (71 LOC)
    • 1 *.bat files (68 LOC)
    • 1 *.csproj files (54 LOC)
  • " *.gradle" is biggest, containing 65.6% of LOC.
  • " *.csproj" is smallest, containing 9.63% of LOC.


*.gradle368 LOC (65%) 6 files
*.sh71 LOC (12%) 1 file
*.bat68 LOC (12%) 1 file
*.csproj54 LOC (9%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 48 files match defined criteria (3,569 LOC, 6.3% vs. main code):
    • 4 *.txt files (3,183 LOC)
    • 41 *.properties files (352 LOC)
    • 2 *.json files (26 LOC)
    • 1 *.md files (8 LOC)
  • " *.txt" is biggest, containing 89.18% of LOC.
  • " *.md" is smallest, containing 0.22% of LOC.


*.txt3183 LOC (89%) 4 files
*.properties352 LOC (9%) 41 files
*.json26 LOC (<1%) 2 files
*.md8 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:15