twitter / iago2
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
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.

main3450 LOC (55%) 53 files
test1402 LOC (22%) 26 files
generated0 LOC (0%) 0 files
build and deployment423 LOC (6%) 1 file
other967 LOC (15%) 24 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 ".*".
  • 53 files match defined criteria (3,450 LOC, 100.0% vs. main code):
    • 50 *.scala files (3,356 LOC)
    • 1 *.xml files (54 LOC)
    • 2 *.thrift files (40 LOC)
  • " *.scala" is biggest, containing 97.28% of LOC.
  • " *.thrift" is smallest, containing 1.16% of LOC.


*.scala3356 LOC (97%) 50 files
*.xml54 LOC (1%) 1 file
*.thrift40 LOC (1%) 2 files
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 ".*_tests[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 26 files match defined criteria (1,402 LOC, 40.6% vs. main code). All matches are in *.scala files.


*.scala1402 LOC (100%) 26 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".
  • 1 file matches defined criteria (423 LOC, 12.3% vs. main code). All matches are in *.xml files.


*.xml423 LOC (100%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
  • 24 files match defined criteria (967 LOC, 28.0% vs. main code):
    • 4 *.xml files (520 LOC)
    • 5 *.sh files (138 LOC)
    • 6 *.scala files (114 LOC)
    • 4 *.java files (113 LOC)
    • 3 *.md files (69 LOC)
    • 1 *.properties files (8 LOC)
    • 1 *.thrift files (5 LOC)
  • " *.xml" is biggest, containing 53.77% of LOC.
  • " *.thrift" is smallest, containing 0.52% of LOC.


*.xml520 LOC (53%) 4 files
*.sh138 LOC (14%) 5 files
*.scala114 LOC (11%) 6 files
*.java113 LOC (11%) 4 files
*.md69 LOC (7%) 3 files
*.properties8 LOC (<1%) 1 file
*.thrift5 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 11:59