guardian / french-thrift
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
hx
hxml
txt
m4
csproj
lua
ml
dpr
lisp
properties
in
cfg
vcxproj
filters
mod
cmd
tcc
t
editorconfig
props
mk
ini
vim
yy
tex
eslintignore
nuspec
podspec
st
asd
ll
spec
tac
el
clang-format
xsd
gitattributes
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.

main215228 LOC (61%) 1,369 files
test93010 LOC (26%) 810 files
generated12996 LOC (3%) 3 files
build and deployment2661 LOC (<1%) 66 files
other28329 LOC (8%) 169 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
hx
lua
tcc
yy
vcxproj
ml
filters
st
in
ll
hxml
xsd
lisp
t
spec
dpr
el
cmd
props
tac
asd
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1369 files match defined criteria (215,228 LOC, 100.0% vs. main code):
    • 37 *.cc files (54,958 LOC)
    • 195 *.java files (16,321 LOC)
    • 82 *.cpp files (14,675 LOC)
    • 191 *.h files (13,711 LOC)
    • 48 *.c files (11,491 LOC)
    • 54 *.d files (11,452 LOC)
    • 21 *.pas files (10,240 LOC)
    • 56 *.go files (8,117 LOC)
    • 77 *.swift files (8,023 LOC)
    • 81 *.rb files (7,491 LOC)
    • 75 *.cs files (7,066 LOC)
    • 62 *.hx files (6,464 LOC)
    • 35 *.js files (5,911 LOC)
    • 65 *.php files (5,665 LOC)
    • 17 *.rs files (5,547 LOC)
    • 49 *.py files (5,041 LOC)
    • 28 *.erl files (4,870 LOC)
    • 38 *.dart files (2,647 LOC)
    • 21 *.pm files (2,398 LOC)
    • 12 *.lua files (2,147 LOC)
    • 3 *.tcc files (1,735 LOC)
    • 1 *.yy files (1,253 LOC)
    • 5 *.vcxproj files (1,149 LOC)
    • 21 *.cmake files (1,110 LOC)
    • 11 *.ml files (958 LOC)
    • 5 *.filters files (644 LOC)
    • 1 *.st files (638 LOC)
    • 13 *.thrift files (383 LOC)
    • 8 *.in files (318 LOC)
    • 1 *.ll files (307 LOC)
    • 9 *.hxml files (301 LOC)
    • 1 *.xsd files (242 LOC)
    • 7 *.lisp files (219 LOC)
    • 3 *.t files (211 LOC)
    • 1 *.spec files (200 LOC)
    • 2 *.dpr files (190 LOC)
    • 1 *.rdf files (186 LOC)
    • 3 *.pl files (141 LOC)
    • 1 *.el files (126 LOC)
    • 2 *.hrl files (125 LOC)
    • 2 *.html files (94 LOC)
    • 3 *.cmd files (72 LOC)
    • 5 *.yaml files (70 LOC)
    • 2 *.kts files (67 LOC)
    • 3 *.xml files (66 LOC)
    • 2 *.toml files (38 LOC)
    • 2 *.props files (30 LOC)
    • 1 *.gemspec files (30 LOC)
    • 1 *.inc files (30 LOC)
    • 1 *.tac files (23 LOC)
    • 1 *.asd files (16 LOC)
    • 1 *.css files (13 LOC)
    • 2 *.cfg files (8 LOC)
  • " *.cc" is biggest, containing 25.53% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.cc54958 LOC (25%) 37 files
*.java16321 LOC (7%) 195 files
*.cpp14675 LOC (6%) 82 files
*.h13711 LOC (6%) 191 files
*.c11491 LOC (5%) 48 files
*.d11452 LOC (5%) 54 files
*.pas10240 LOC (4%) 21 files
*.go8117 LOC (3%) 56 files
*.swift8023 LOC (3%) 77 files
*.rb7491 LOC (3%) 81 files
*.cs7066 LOC (3%) 75 files
*.hx6464 LOC (3%) 62 files
*.js5911 LOC (2%) 35 files
*.php5665 LOC (2%) 65 files
*.rs5547 LOC (2%) 17 files
*.py5041 LOC (2%) 49 files
*.erl4870 LOC (2%) 28 files
*.dart2647 LOC (1%) 38 files
*.pm2398 LOC (1%) 21 files
*.lua2147 LOC (<1%) 12 files
*.tcc1735 LOC (<1%) 3 files
*.yy1253 LOC (<1%) 1 file
*.vcxproj1149 LOC (<1%) 5 files
*.cmake1110 LOC (<1%) 21 files
*.ml958 LOC (<1%) 11 files
*.filters644 LOC (<1%) 5 files
*.st638 LOC (<1%) 1 file
*.thrift383 LOC (<1%) 13 files
*.in318 LOC (<1%) 8 files
*.ll307 LOC (<1%) 1 file
*.hxml301 LOC (<1%) 9 files
*.xsd242 LOC (<1%) 1 file
*.lisp219 LOC (<1%) 7 files
*.t211 LOC (<1%) 3 files
*.spec200 LOC (<1%) 1 file
*.dpr190 LOC (<1%) 2 files
*.rdf186 LOC (<1%) 1 file
*.pl141 LOC (<1%) 3 files
*.el126 LOC (<1%) 1 file
*.hrl125 LOC (<1%) 2 files
*.html94 LOC (<1%) 2 files
*.cmd72 LOC (<1%) 3 files
*.yaml70 LOC (<1%) 5 files
*.kts67 LOC (<1%) 2 files
*.xml66 LOC (<1%) 3 files
*.toml38 LOC (<1%) 2 files
*.props30 LOC (<1%) 2 files
*.gemspec30 LOC (<1%) 1 file
*.inc30 LOC (<1%) 1 file
*.tac23 LOC (<1%) 1 file
*.asd16 LOC (<1%) 1 file
*.css13 LOC (<1%) 1 file
*.cfg8 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
hx
tex
dpr
hxml
lisp
csproj
lua
ml
tcc
cmd
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/tests_.*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*_mock[.][a-zA-Z0-9_\-]+".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*UnitTests[.][a-zA-Z0-9_]+".
    • files with paths like ".*/[Ss]pecs/.*".
  • 810 files match defined criteria (93,010 LOC, 43.2% vs. main code):
    • 78 *.go files (10,925 LOC)
    • 58 *.cpp files (10,754 LOC)
    • 89 *.java files (10,577 LOC)
    • 184 *.thrift files (9,599 LOC)
    • 27 *.c files (8,051 LOC)
    • 51 *.php files (6,371 LOC)
    • 40 *.py files (4,714 LOC)
    • 21 *.erl files (3,739 LOC)
    • 23 *.cs files (3,377 LOC)
    • 16 *.pas files (3,349 LOC)
    • 25 *.js files (2,506 LOC)
    • 12 *.hx files (2,310 LOC)
    • 21 *.swift files (2,193 LOC)
    • 11 *.d files (2,179 LOC)
    • 11 *.h files (1,507 LOC)
    • 4 *.kt files (1,142 LOC)
    • 8 *.dart files (1,096 LOC)
    • 12 *.rb files (894 LOC)
    • 1 *.tex files (885 LOC)
    • 9 *.cc files (859 LOC)
    • 4 *.pl files (812 LOC)
    • 7 *.ts files (735 LOC)
    • 10 *.dpr files (649 LOC)
    • 17 *.hxml files (597 LOC)
    • 6 *.xml files (574 LOC)
    • 16 *.sh files (477 LOC)
    • 4 *.lisp files (300 LOC)
    • 7 *.csproj files (299 LOC)
    • 11 *.html files (284 LOC)
    • 7 *.rs files (268 LOC)
    • 2 *.lua files (229 LOC)
    • 2 *.ml files (201 LOC)
    • 1 *.tcc files (170 LOC)
    • 2 *.kts files (138 LOC)
    • 2 *.bat files (122 LOC)
    • 1 *.cmake files (40 LOC)
    • 3 *.toml files (37 LOC)
    • 1 *.cmd files (23 LOC)
    • 1 *.yaml files (16 LOC)
    • 5 *.cfg files (12 LOC)
  • " *.go" is biggest, containing 11.75% of LOC.
  • " *.cfg" is smallest, containing 0.01% of LOC.


*.go10925 LOC (11%) 78 files
*.cpp10754 LOC (11%) 58 files
*.java10577 LOC (11%) 89 files
*.thrift9599 LOC (10%) 184 files
*.c8051 LOC (8%) 27 files
*.php6371 LOC (6%) 51 files
*.py4714 LOC (5%) 40 files
*.erl3739 LOC (4%) 21 files
*.cs3377 LOC (3%) 23 files
*.pas3349 LOC (3%) 16 files
*.js2506 LOC (2%) 25 files
*.hx2310 LOC (2%) 12 files
*.swift2193 LOC (2%) 21 files
*.d2179 LOC (2%) 11 files
*.h1507 LOC (1%) 11 files
*.kt1142 LOC (1%) 4 files
*.dart1096 LOC (1%) 8 files
*.rb894 LOC (<1%) 12 files
*.tex885 LOC (<1%) 1 file
*.cc859 LOC (<1%) 9 files
*.pl812 LOC (<1%) 4 files
*.ts735 LOC (<1%) 7 files
*.dpr649 LOC (<1%) 10 files
*.hxml597 LOC (<1%) 17 files
*.xml574 LOC (<1%) 6 files
*.sh477 LOC (<1%) 16 files
*.lisp300 LOC (<1%) 4 files
*.csproj299 LOC (<1%) 7 files
*.html284 LOC (<1%) 11 files
*.rs268 LOC (<1%) 7 files
*.lua229 LOC (<1%) 2 files
*.ml201 LOC (<1%) 2 files
*.tcc170 LOC (<1%) 1 file
*.kts138 LOC (<1%) 2 files
*.bat122 LOC (<1%) 2 files
*.cmake40 LOC (<1%) 1 file
*.toml37 LOC (<1%) 3 files
*.cmd23 LOC (<1%) 1 file
*.yaml16 LOC (<1%) 1 file
*.cfg12 LOC (<1%) 5 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 3 files match defined criteria (12,996 LOC, 6.0% vs. main code). All matches are in *.json files.


*.json12996 LOC (100%) 3 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
mk
nuspec
podspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]mk".
    • files with paths like ".*[.]podspec".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]nuspec".
  • 66 files match defined criteria (2,661 LOC, 1.2% vs. main code):
    • 12 *.bat files (715 LOC)
    • 27 *.sh files (597 LOC)
    • 11 *.gradle files (487 LOC)
    • 5 *.xml files (440 LOC)
    • 7 *.csproj files (332 LOC)
    • 2 *.mk files (53 LOC)
    • 1 *.nuspec files (22 LOC)
    • 1 *.podspec files (15 LOC)
  • " *.bat" is biggest, containing 26.87% of LOC.
  • " *.podspec" is smallest, containing 0.56% of LOC.


*.bat715 LOC (26%) 12 files
*.sh597 LOC (22%) 27 files
*.gradle487 LOC (18%) 11 files
*.xml440 LOC (16%) 5 files
*.csproj332 LOC (12%) 7 files
*.mk53 LOC (1%) 2 files
*.nuspec22 LOC (<1%) 1 file
*.podspec15 LOC (<1%) 1 file
Other Code
txt
properties
vim
mod
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]vim".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[Ee]xamples/.*".
  • 169 files match defined criteria (28,329 LOC, 13.2% vs. main code):
    • 18 *.json files (15,860 LOC)
    • 99 *.md files (9,898 LOC)
    • 23 *.txt files (1,960 LOC)
    • 9 *.js files (215 LOC)
    • 9 *.properties files (198 LOC)
    • 1 *.vim files (79 LOC)
    • 1 *.html files (43 LOC)
    • 2 *.thrift files (31 LOC)
    • 4 *.mod files (26 LOC)
    • 1 *.py files (15 LOC)
    • 2 *.ini files (4 LOC)
  • " *.json" is biggest, containing 55.99% of LOC.
  • " *.ini" is smallest, containing 0.01% of LOC.


*.json15860 LOC (55%) 18 files
*.md9898 LOC (34%) 99 files
*.txt1960 LOC (6%) 23 files
*.js215 LOC (<1%) 9 files
*.properties198 LOC (<1%) 9 files
*.vim79 LOC (<1%) 1 file
*.html43 LOC (<1%) 1 file
*.thrift31 LOC (<1%) 2 files
*.mod26 LOC (<1%) 4 files
*.py15 LOC (<1%) 1 file
*.ini4 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:48