apache / drill-site
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
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.

main4511 LOC (<1%) 63 files
test0 LOC (0%) 0 files
generated1673616 LOC (97%) 10,522 files
build and deployment0 LOC (0%) 0 files
other37632 LOC (2%) 458 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 ".*".
  • 63 files match defined criteria (4,511 LOC, 100.0% vs. main code):
    • 22 *.scss files (2,128 LOC)
    • 29 *.html files (908 LOC)
    • 4 *.css files (893 LOC)
    • 3 *.js files (315 LOC)
    • 1 *.py files (81 LOC)
    • 1 *.yml files (58 LOC)
    • 1 *.rb files (57 LOC)
    • 1 *.rdf files (41 LOC)
    • 1 *.xml files (30 LOC)
  • " *.scss" is biggest, containing 47.17% of LOC.
  • " *.xml" is smallest, containing 0.67% of LOC.


*.scss2128 LOC (47%) 22 files
*.html908 LOC (20%) 29 files
*.css893 LOC (19%) 4 files
*.js315 LOC (6%) 3 files
*.py81 LOC (1%) 1 file
*.yml58 LOC (1%) 1 file
*.rb57 LOC (1%) 1 file
*.rdf41 LOC (<1%) 1 file
*.xml30 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 "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*/generated/.*".
  • 10522 files match defined criteria (1,673,616 LOC, 37100.8% vs. main code). All matches are in *.html files.


*.html1673616 LOC (100%) 10,522 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 458 files match defined criteria (37,632 LOC, 834.2% vs. main code):
    • 451 *.md files (37,337 LOC)
    • 5 *.json files (184 LOC)
    • 2 *.svg files (111 LOC)
  • " *.md" is biggest, containing 99.22% of LOC.
  • " *.svg" is smallest, containing 0.29% of LOC.


*.md37337 LOC (99%) 451 files
*.json184 LOC (<1%) 5 files
*.svg111 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:45