epam / acuity
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
xsd
rmd
styl
tex
gitattributes
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.

main261129 LOC (73%) 3,685 files
test81361 LOC (22%) 724 files
generated1449 LOC (<1%) 50 files
build and deployment6167 LOC (1%) 54 files
other5260 LOC (1%) 97 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
styl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3685 files match defined criteria (261,129 LOC, 100.0% vs. main code):
    • 2,047 *.java files (113,319 LOC)
    • 970 *.ts files (62,677 LOC)
    • 83 *.js files (24,310 LOC)
    • 47 *.sql files (14,473 LOC)
    • 69 *.xml files (12,156 LOC)
    • 99 *.css files (10,333 LOC)
    • 240 *.html files (8,622 LOC)
    • 75 *.groovy files (5,932 LOC)
    • 36 *.jsp files (4,904 LOC)
    • 13 *.py files (3,994 LOC)
    • 4 *.styl files (199 LOC)
    • 1 *.less files (139 LOC)
    • 1 *.kt files (71 LOC)
  • " *.java" is biggest, containing 43.4% of LOC.
  • " *.kt" is smallest, containing 0.03% of LOC.


*.java113319 LOC (43%) 2,047 files
*.ts62677 LOC (24%) 970 files
*.js24310 LOC (9%) 83 files
*.sql14473 LOC (5%) 47 files
*.xml12156 LOC (4%) 69 files
*.css10333 LOC (3%) 99 files
*.html8622 LOC (3%) 240 files
*.groovy5932 LOC (2%) 75 files
*.jsp4904 LOC (1%) 36 files
*.py3994 LOC (1%) 13 files
*.styl199 LOC (<1%) 4 files
*.less139 LOC (<1%) 1 file
*.kt71 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 ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*/karma[.]conf[.]js".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
  • 724 files match defined criteria (81,361 LOC, 31.2% vs. main code):
    • 472 *.java files (52,859 LOC)
    • 204 *.ts files (23,620 LOC)
    • 23 *.js files (4,064 LOC)
    • 13 *.xml files (452 LOC)
    • 1 *.groovy files (162 LOC)
    • 4 *.sql files (116 LOC)
    • 6 *.py files (78 LOC)
    • 1 *.html files (10 LOC)
  • " *.java" is biggest, containing 64.97% of LOC.
  • " *.html" is smallest, containing 0.01% of LOC.


*.java52859 LOC (64%) 472 files
*.ts23620 LOC (29%) 204 files
*.js4064 LOC (4%) 23 files
*.xml452 LOC (<1%) 13 files
*.groovy162 LOC (<1%) 1 file
*.sql116 LOC (<1%) 4 files
*.py78 LOC (<1%) 6 files
*.html10 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 "// This file was generated .*".
  • 50 files match defined criteria (1,449 LOC, 0.6% vs. main code). All matches are in *.java files.


*.java1449 LOC (100%) 50 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*/[.]gitattributes".
  • 54 files match defined criteria (6,167 LOC, 2.4% vs. main code):
    • 24 *.xml files (4,777 LOC)
    • 21 *.sh files (1,247 LOC)
    • 2 *.gradle files (75 LOC)
    • 7 *.bat files (68 LOC)
  • " *.xml" is biggest, containing 77.46% of LOC.
  • " *.bat" is smallest, containing 1.1% of LOC.


*.xml4777 LOC (77%) 24 files
*.sh1247 LOC (20%) 21 files
*.gradle75 LOC (1%) 2 files
*.bat68 LOC (1%) 7 files
Other Code
txt
xsd
tex
properties
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/COPYING[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Dd]ocumentation/.*".
  • 97 files match defined criteria (5,260 LOC, 2.0% vs. main code):
    • 38 *.json files (1,818 LOC)
    • 20 *.md files (792 LOC)
    • 8 *.txt files (789 LOC)
    • 6 *.xsd files (737 LOC)
    • 2 *.tex files (463 LOC)
    • 19 *.properties files (371 LOC)
    • 4 *.xml files (290 LOC)
  • " *.json" is biggest, containing 34.56% of LOC.
  • " *.xml" is smallest, containing 5.51% of LOC.


*.json1818 LOC (34%) 38 files
*.md792 LOC (15%) 20 files
*.txt789 LOC (15%) 8 files
*.xsd737 LOC (14%) 6 files
*.tex463 LOC (8%) 2 files
*.properties371 LOC (7%) 19 files
*.xml290 LOC (5%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:37