twitter / vireo
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
m4
in
txt
properties
mk
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.

main34568 LOC (98%) 286 files
test90 LOC (<1%) 2 files
generated0 LOC (0%) 0 files
build and deployment130 LOC (<1%) 6 files
other208 LOC (<1%) 3 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 286 files match defined criteria (34,568 LOC, 100.0% vs. main code):
    • 111 *.cpp files (22,150 LOC)
    • 120 *.h files (5,275 LOC)
    • 5 *.in files (4,805 LOC)
    • 43 *.scala files (1,976 LOC)
    • 6 *.hpp files (352 LOC)
    • 1 *.java files (10 LOC)
  • " *.cpp" is biggest, containing 64.08% of LOC.
  • " *.java" is smallest, containing 0.03% of LOC.


*.cpp22150 LOC (64%) 111 files
*.h5275 LOC (15%) 120 files
*.in4805 LOC (13%) 5 files
*.scala1976 LOC (5%) 43 files
*.hpp352 LOC (1%) 6 files
*.java10 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/.*".
    • files with paths like ".*/test_.*".
  • 2 files match defined criteria (90 LOC, 0.3% vs. main code):
    • 1 *.cpp files (70 LOC)
    • 1 *.h files (20 LOC)
  • " *.cpp" is biggest, containing 77.78% of LOC.
  • " *.h" is smallest, containing 22.22% of LOC.


*.cpp70 LOC (77%) 1 file
*.h20 LOC (22%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
mk
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]mk".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (130 LOC, 0.4% vs. main code):
    • 5 *.sh files (105 LOC)
    • 1 *.mk files (25 LOC)
  • " *.sh" is biggest, containing 80.77% of LOC.
  • " *.mk" is smallest, containing 19.23% of LOC.


*.sh105 LOC (80%) 5 files
*.mk25 LOC (19%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 3 files match defined criteria (208 LOC, 0.6% vs. main code):
    • 2 *.md files (207 LOC)
    • 1 *.properties files (1 LOC)
  • " *.md" is biggest, containing 99.52% of LOC.
  • " *.properties" is smallest, containing 0.48% of LOC.


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


2025-01-17 11:59