epam / TimeBaseClientCpp
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
filters
txt
vcxproj
targets
nuspec
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.

main22784 LOC (93%) 160 files
test1668 LOC (6%) 19 files
generated0 LOC (0%) 0 files
build and deployment25 LOC (<1%) 1 file
other3 LOC (<1%) 2 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
vcxproj
filters
targets
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 160 files match defined criteria (22,784 LOC, 100.0% vs. main code):
    • 56 *.cpp files (14,046 LOC)
    • 96 *.h files (7,376 LOC)
    • 2 *.vcxproj files (602 LOC)
    • 2 *.filters files (591 LOC)
    • 2 *.c files (125 LOC)
    • 1 *.targets files (29 LOC)
    • 1 *.yaml files (15 LOC)
  • " *.cpp" is biggest, containing 61.65% of LOC.
  • " *.yaml" is smallest, containing 0.07% of LOC.


*.cpp14046 LOC (61%) 56 files
*.h7376 LOC (32%) 96 files
*.vcxproj602 LOC (2%) 2 files
*.filters591 LOC (2%) 2 files
*.c125 LOC (<1%) 2 files
*.targets29 LOC (<1%) 1 file
*.yaml15 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]ests/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[-]tests[-].*".
  • 19 files match defined criteria (1,668 LOC, 7.3% vs. main code):
    • 15 *.cpp files (1,510 LOC)
    • 4 *.h files (158 LOC)
  • " *.cpp" is biggest, containing 90.53% of LOC.
  • " *.h" is smallest, containing 9.47% of LOC.


*.cpp1510 LOC (90%) 15 files
*.h158 LOC (9%) 4 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
nuspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (25 LOC, 0.1% vs. main code). All matches are in *.nuspec files.


*.nuspec25 LOC (100%) 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 ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 2 files match defined criteria (3 LOC, 0.0% vs. main code):
    • 1 *.txt files (2 LOC)
    • 1 *.properties files (1 LOC)
  • " *.txt" is biggest, containing 66.67% of LOC.
  • " *.properties" is smallest, containing 33.33% of LOC.


*.txt2 LOC (66%) 1 file
*.properties1 LOC (33%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:13