apache / tcl-rivet
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
tcl
m4
txt
xsl
in
vim
el
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.

main27580 LOC (91%) 146 files
test1646 LOC (5%) 24 files
generated0 LOC (0%) 0 files
build and deployment6 LOC (<1%) 1 file
other907 LOC (3%) 16 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tcl
in
xsl
el
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 146 files match defined criteria (27,580 LOC, 100.0% vs. main code):
    • 65 *.tcl files (9,734 LOC)
    • 21 *.xml files (8,658 LOC)
    • 24 *.c files (6,554 LOC)
    • 5 *.cmake files (832 LOC)
    • 14 *.h files (561 LOC)
    • 2 *.css files (353 LOC)
    • 3 *.in files (350 LOC)
    • 3 *.xsl files (315 LOC)
    • 1 *.el files (110 LOC)
    • 6 *.sql files (78 LOC)
    • 2 *.html files (35 LOC)
  • " *.tcl" is biggest, containing 35.29% of LOC.
  • " *.html" is smallest, containing 0.13% of LOC.


*.tcl9734 LOC (35%) 65 files
*.xml8658 LOC (31%) 21 files
*.c6554 LOC (23%) 24 files
*.cmake832 LOC (3%) 5 files
*.h561 LOC (2%) 14 files
*.css353 LOC (1%) 2 files
*.in350 LOC (1%) 3 files
*.xsl315 LOC (1%) 3 files
*.el110 LOC (<1%) 1 file
*.sql78 LOC (<1%) 6 files
*.html35 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
tcl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
  • 24 files match defined criteria (1,646 LOC, 6.0% vs. main code):
    • 22 *.tcl files (1,622 LOC)
    • 1 *.sh files (13 LOC)
    • 1 *.html files (11 LOC)
  • " *.tcl" is biggest, containing 98.54% of LOC.
  • " *.html" is smallest, containing 0.67% of LOC.


*.tcl1622 LOC (98%) 22 files
*.sh13 LOC (<1%) 1 file
*.html11 LOC (<1%) 1 file
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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (6 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh6 LOC (100%) 1 file
Other Code
txt
tcl
vim
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]vim".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 16 files match defined criteria (907 LOC, 3.3% vs. main code):
    • 5 *.txt files (587 LOC)
    • 5 *.tcl files (180 LOC)
    • 2 *.vim files (57 LOC)
    • 1 *.cmake files (35 LOC)
    • 2 *.html files (35 LOC)
    • 1 *.md files (13 LOC)
  • " *.txt" is biggest, containing 64.72% of LOC.
  • " *.md" is smallest, containing 1.43% of LOC.


*.txt587 LOC (64%) 5 files
*.tcl180 LOC (19%) 5 files
*.vim57 LOC (6%) 2 files
*.cmake35 LOC (3%) 1 file
*.html35 LOC (3%) 2 files
*.md13 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:18