gitlab-org / gitlab-pygments_rb
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
txt
pytb
hs
as
lsp
mod
moo
hx
nim
in
mak
pov
lasso
rhtml
lhs
mu
nc
p6
prolog
r3
ps
vert
gst
agda
hy
tea
fan
sce
bas
sci
vim
scm
bro
ik
ceylon
ahk
lasso9
tcsh
rd
moon
ebnf
bb
jl
nsi
rexx
myt
intr
sml
lgt
rkt
sp
dylan
st
sv
cfg
i
j
cfm
n
p
cw
cob
stan
au3
fun
smali
monkey
asy
lid
ls
bmx
vhdl
xtend
spec
ecl
lagda
reg
aspx
adb
ec
ml
opa
xqy
mo
eh
prg
lisp
pro
sh-session
proto
weechatlog
frag
boo
dcl
fs
sig
xsl
qml
fy
plot
pm6
factor
ini
gs
scaml
coffee
lua
f90
properties
po
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.

main540 LOC (17%) 8 files
test2443 LOC (78%) 3 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other149 LOC (4%) 3 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 8 files match defined criteria (540 LOC, 100.0% vs. main code):
    • 6 *.rb files (335 LOC)
    • 1 *.py files (188 LOC)
    • 1 *.gemspec files (17 LOC)
  • " *.rb" is biggest, containing 62.04% of LOC.
  • " *.gemspec" is smallest, containing 3.15% of LOC.


*.rb335 LOC (62%) 6 files
*.py188 LOC (34%) 1 file
*.gemspec17 LOC (3%) 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_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 3 files match defined criteria (2,443 LOC, 452.4% vs. main code):
    • 1 *.c files (1,869 LOC)
    • 1 *.py files (343 LOC)
    • 1 *.rb files (231 LOC)
  • " *.c" is biggest, containing 76.5% of LOC.
  • " *.rb" is smallest, containing 9.46% of LOC.


*.c1869 LOC (76%) 1 file
*.py343 LOC (14%) 1 file
*.rb231 LOC (9%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*[.]po".
    • files with paths like ".*[.]scm".
    • files with paths like ".*[.]vim".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 3 files match defined criteria (149 LOC, 27.6% vs. main code). All matches are in *.md files.


*.md149 LOC (100%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-16 13:50