apache / carbondata-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
htaccess
ejs
babelrc
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.

main15225 LOC (80%) 91 files
test266 LOC (1%) 4 files
generated0 LOC (0%) 0 files
build and deployment312 LOC (1%) 3 files
other3123 LOC (16%) 11 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ejs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 91 files match defined criteria (15,225 LOC, 100.0% vs. main code):
    • 16 *.html files (8,184 LOC)
    • 25 *.jsx files (1,954 LOC)
    • 15 *.scss files (1,820 LOC)
    • 5 *.css files (1,794 LOC)
    • 4 *.xml files (650 LOC)
    • 11 *.js files (453 LOC)
    • 11 *.scala files (262 LOC)
    • 2 *.ejs files (69 LOC)
    • 1 *.rdf files (23 LOC)
    • 1 *.yml files (16 LOC)
  • " *.html" is biggest, containing 53.75% of LOC.
  • " *.yml" is smallest, containing 0.11% of LOC.


*.html8184 LOC (53%) 16 files
*.jsx1954 LOC (12%) 25 files
*.scss1820 LOC (11%) 15 files
*.css1794 LOC (11%) 5 files
*.xml650 LOC (4%) 4 files
*.js453 LOC (2%) 11 files
*.scala262 LOC (1%) 11 files
*.ejs69 LOC (<1%) 2 files
*.rdf23 LOC (<1%) 1 file
*.yml16 LOC (<1%) 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]est/.*".
  • 4 files match defined criteria (266 LOC, 1.7% vs. main code):
    • 1 *.xml files (176 LOC)
    • 3 *.scala files (90 LOC)
  • " *.xml" is biggest, containing 66.17% of LOC.
  • " *.scala" is smallest, containing 33.83% of LOC.


*.xml176 LOC (66%) 1 file
*.scala90 LOC (33%) 3 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
  • 3 files match defined criteria (312 LOC, 2.0% vs. main code):
    • 1 *.xml files (243 LOC)
    • 1 *.js files (66 LOC)
    • 1 *.sh files (3 LOC)
  • " *.xml" is biggest, containing 77.88% of LOC.
  • " *.sh" is smallest, containing 0.96% of LOC.


*.xml243 LOC (77%) 1 file
*.js66 LOC (21%) 1 file
*.sh3 LOC (<1%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]txt".
  • 11 files match defined criteria (3,123 LOC, 20.5% vs. main code):
    • 3 *.svg files (2,853 LOC)
    • 7 *.md files (205 LOC)
    • 1 *.json files (65 LOC)
  • " *.svg" is biggest, containing 91.35% of LOC.
  • " *.json" is smallest, containing 2.08% of LOC.


*.svg2853 LOC (91%) 3 files
*.md205 LOC (6%) 7 files
*.json65 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:13