JetBrains / cef
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
patch
txt
in
plist
cfg
gn
gypi
gni
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.

main91215 LOC (37%) 801 files
test73131 LOC (29%) 313 files
generated68635 LOC (28%) 723 files
build and deployment81 LOC (<1%) 15 files
other10743 LOC (4%) 112 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
gn
gypi
in
cfg
gni
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 801 files match defined criteria (91,215 LOC, 100.0% vs. main code):
    • 281 *.cc files (51,472 LOC)
    • 436 *.h files (24,901 LOC)
    • 57 *.py files (9,093 LOC)
    • 4 *.gn files (1,882 LOC)
    • 2 *.gypi files (1,422 LOC)
    • 9 *.mm files (1,174 LOC)
    • 6 *.in files (863 LOC)
    • 3 *.cfg files (247 LOC)
    • 2 *.html files (149 LOC)
    • 1 *.gni files (12 LOC)
  • " *.cc" is biggest, containing 56.43% of LOC.
  • " *.gni" is smallest, containing 0.01% of LOC.


*.cc51472 LOC (56%) 281 files
*.h24901 LOC (27%) 436 files
*.py9093 LOC (9%) 57 files
*.gn1882 LOC (2%) 4 files
*.gypi1422 LOC (1%) 2 files
*.mm1174 LOC (1%) 9 files
*.in863 LOC (<1%) 6 files
*.cfg247 LOC (<1%) 3 files
*.html149 LOC (<1%) 2 files
*.gni12 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_tests[.].*".
  • 313 files match defined criteria (73,131 LOC, 80.2% vs. main code):
    • 170 *.cc files (61,029 LOC)
    • 102 *.h files (5,097 LOC)
    • 14 *.mm files (3,508 LOC)
    • 19 *.html files (2,410 LOC)
    • 4 *.in files (600 LOC)
    • 1 *.py files (288 LOC)
    • 2 *.cpp files (189 LOC)
    • 1 *.js files (10 LOC)
  • " *.cc" is biggest, containing 83.45% of LOC.
  • " *.js" is smallest, containing 0.01% of LOC.


*.cc61029 LOC (83%) 170 files
*.h5097 LOC (6%) 102 files
*.mm3508 LOC (4%) 14 files
*.html2410 LOC (3%) 19 files
*.in600 LOC (<1%) 4 files
*.py288 LOC (<1%) 1 file
*.cpp189 LOC (<1%) 2 files
*.js10 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "// This file was generated .*".
  • 723 files match defined criteria (68,635 LOC, 75.2% vs. main code):
    • 312 *.cc files (53,867 LOC)
    • 407 *.h files (13,207 LOC)
    • 4 *.py files (1,561 LOC)
  • " *.cc" is biggest, containing 78.48% of LOC.
  • " *.py" is smallest, containing 2.27% of LOC.


*.cc53867 LOC (78%) 312 files
*.h13207 LOC (19%) 407 files
*.py1561 LOC (2%) 4 files
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 ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 15 files match defined criteria (81 LOC, 0.1% vs. main code):
    • 8 *.bat files (74 LOC)
    • 7 *.sh files (7 LOC)
  • " *.bat" is biggest, containing 91.36% of LOC.
  • " *.sh" is smallest, containing 8.64% of LOC.


*.bat74 LOC (91%) 8 files
*.sh7 LOC (8%) 7 files
Other Code
patch
txt
plist
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]xib".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[.]gitignore".
  • 112 files match defined criteria (10,743 LOC, 11.8% vs. main code):
    • 76 *.patch files (7,310 LOC)
    • 22 *.txt files (2,007 LOC)
    • 3 *.xib files (1,093 LOC)
    • 7 *.plist files (238 LOC)
    • 3 *.json files (86 LOC)
    • 1 *.md files (9 LOC)
  • " *.patch" is biggest, containing 68.04% of LOC.
  • " *.md" is smallest, containing 0.08% of LOC.


*.patch7310 LOC (68%) 76 files
*.txt2007 LOC (18%) 22 files
*.xib1093 LOC (10%) 3 files
*.plist238 LOC (2%) 7 files
*.json86 LOC (<1%) 3 files
*.md9 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:20