apache / zeppelin
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
properties
cmd
txt
npmignore
editorconfig
proto
babelrc
cql
gitattributes
xsl
ttl
prettierignore
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.

main116556 LOC (63%) 1,128 files
test41896 LOC (22%) 313 files
generated0 LOC (0%) 0 files
build and deployment10207 LOC (5%) 91 files
other13875 LOC (7%) 170 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1128 files match defined criteria (116,556 LOC, 100.0% vs. main code):
    • 556 *.java files (71,932 LOC)
    • 93 *.js files (13,429 LOC)
    • 217 *.ts files (11,081 LOC)
    • 101 *.html files (7,298 LOC)
    • 27 *.scala files (4,150 LOC)
    • 31 *.css files (3,176 LOC)
    • 65 *.less files (2,546 LOC)
    • 16 *.py files (1,620 LOC)
    • 2 *.yaml files (384 LOC)
    • 12 *.xml files (339 LOC)
    • 2 *.thrift files (184 LOC)
    • 1 *.groovy files (182 LOC)
    • 2 *.proto files (164 LOC)
    • 2 *.jinja files (47 LOC)
    • 1 *.xsl files (24 LOC)
  • " *.java" is biggest, containing 61.71% of LOC.
  • " *.xsl" is smallest, containing 0.02% of LOC.


*.java71932 LOC (61%) 556 files
*.js13429 LOC (11%) 93 files
*.ts11081 LOC (9%) 217 files
*.html7298 LOC (6%) 101 files
*.scala4150 LOC (3%) 27 files
*.css3176 LOC (2%) 31 files
*.less2546 LOC (2%) 65 files
*.py1620 LOC (1%) 16 files
*.yaml384 LOC (<1%) 2 files
*.xml339 LOC (<1%) 12 files
*.thrift184 LOC (<1%) 2 files
*.groovy182 LOC (<1%) 1 file
*.proto164 LOC (<1%) 2 files
*.jinja47 LOC (<1%) 2 files
*.xsl24 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cql
ttl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/karma[.]conf[.]js".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/protractor[.]conf[.]js".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.]spec[.]js".
  • 313 files match defined criteria (41,896 LOC, 35.9% vs. main code):
    • 243 *.java files (36,862 LOC)
    • 32 *.js files (2,864 LOC)
    • 12 *.scala files (1,204 LOC)
    • 11 *.xml files (527 LOC)
    • 1 *.cql files (153 LOC)
    • 3 *.yaml files (140 LOC)
    • 6 *.ts files (78 LOC)
    • 3 *.html files (47 LOC)
    • 1 *.ttl files (16 LOC)
    • 1 *.sql files (5 LOC)
  • " *.java" is biggest, containing 87.98% of LOC.
  • " *.sql" is smallest, containing 0.01% of LOC.


*.java36862 LOC (87%) 243 files
*.js2864 LOC (6%) 32 files
*.scala1204 LOC (2%) 12 files
*.xml527 LOC (1%) 11 files
*.cql153 LOC (<1%) 1 file
*.yaml140 LOC (<1%) 3 files
*.ts78 LOC (<1%) 6 files
*.html47 LOC (<1%) 3 files
*.ttl16 LOC (<1%) 1 file
*.sql5 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 ".*/pom[.]xml".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 91 files match defined criteria (10,207 LOC, 8.8% vs. main code):
    • 72 *.xml files (9,415 LOC)
    • 16 *.sh files (566 LOC)
    • 3 *.js files (226 LOC)
  • " *.xml" is biggest, containing 92.24% of LOC.
  • " *.js" is smallest, containing 2.21% of LOC.


*.xml9415 LOC (92%) 72 files
*.sh566 LOC (5%) 16 files
*.js226 LOC (2%) 3 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]npmignore".
  • 170 files match defined criteria (13,875 LOC, 11.9% vs. main code):
    • 86 *.json files (6,594 LOC)
    • 11 *.svg files (4,722 LOC)
    • 28 *.md files (897 LOC)
    • 31 *.properties files (875 LOC)
    • 11 *.java files (608 LOC)
    • 1 *.xml files (161 LOC)
    • 2 *.txt files (18 LOC)
  • " *.json" is biggest, containing 47.52% of LOC.
  • " *.txt" is smallest, containing 0.13% of LOC.


*.json6594 LOC (47%) 86 files
*.svg4722 LOC (34%) 11 files
*.md897 LOC (6%) 28 files
*.properties875 LOC (6%) 31 files
*.java608 LOC (4%) 11 files
*.xml161 LOC (1%) 1 file
*.txt18 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:47