epam / TimeBaseClientPython
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
i
properties
cfg
filters
txt
vcxproj
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.

main7122 LOC (69%) 25 files
test2100 LOC (20%) 19 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1015 LOC (9%) 4 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
i
vcxproj
filters
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 25 files match defined criteria (7,122 LOC, 100.0% vs. main code):
    • 7 *.i files (1,762 LOC)
    • 2 *.py files (1,496 LOC)
    • 7 *.h files (1,384 LOC)
    • 1 *.hpp files (1,089 LOC)
    • 5 *.cpp files (769 LOC)
    • 1 *.vcxproj files (538 LOC)
    • 1 *.filters files (82 LOC)
    • 1 *.cfg files (2 LOC)
  • " *.i" is biggest, containing 24.74% of LOC.
  • " *.cfg" is smallest, containing 0.03% of LOC.


*.i1762 LOC (24%) 7 files
*.py1496 LOC (21%) 2 files
*.h1384 LOC (19%) 7 files
*.hpp1089 LOC (15%) 1 file
*.cpp769 LOC (10%) 5 files
*.vcxproj538 LOC (7%) 1 file
*.filters82 LOC (1%) 1 file
*.cfg2 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]ests/.*".
  • 19 files match defined criteria (2,100 LOC, 29.5% vs. main code):
    • 17 *.py files (2,076 LOC)
    • 2 *.xml files (24 LOC)
  • " *.py" is biggest, containing 98.86% of LOC.
  • " *.xml" is smallest, containing 1.14% of LOC.


*.py2076 LOC (98%) 17 files
*.xml24 LOC (1%) 2 files
Other Code
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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
  • 4 files match defined criteria (1,015 LOC, 14.3% vs. main code):
    • 2 *.md files (1,013 LOC)
    • 2 *.properties files (2 LOC)
  • " *.md" is biggest, containing 99.8% of LOC.
  • " *.properties" is smallest, containing 0.2% of LOC.


*.md1013 LOC (99%) 2 files
*.properties2 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:12