apache / incubator-tajo
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
proto
properties
txt
xsl
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.

main84994 LOC (72%) 817 files
test22463 LOC (19%) 392 files
generated0 LOC (0%) 0 files
build and deployment6039 LOC (5%) 21 files
other3950 LOC (3%) 65 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 ".*".
  • 817 files match defined criteria (84,994 LOC, 100.0% vs. main code):
    • 719 *.java files (77,199 LOC)
    • 23 *.jsp files (2,518 LOC)
    • 3 *.g4 files (1,823 LOC)
    • 22 *.proto files (1,677 LOC)
    • 27 *.sql files (638 LOC)
    • 7 *.html files (458 LOC)
    • 8 *.xml files (331 LOC)
    • 3 *.py files (159 LOC)
    • 2 *.css files (77 LOC)
    • 1 *.rdf files (47 LOC)
    • 1 *.js files (43 LOC)
    • 1 *.xsl files (24 LOC)
  • " *.java" is biggest, containing 90.83% of LOC.
  • " *.xsl" is smallest, containing 0.03% of LOC.


*.java77199 LOC (90%) 719 files
*.jsp2518 LOC (2%) 23 files
*.g41823 LOC (2%) 3 files
*.proto1677 LOC (1%) 22 files
*.sql638 LOC (<1%) 27 files
*.html458 LOC (<1%) 7 files
*.xml331 LOC (<1%) 8 files
*.py159 LOC (<1%) 3 files
*.css77 LOC (<1%) 2 files
*.rdf47 LOC (<1%) 1 file
*.js43 LOC (<1%) 1 file
*.xsl24 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/.*".
  • 392 files match defined criteria (22,463 LOC, 26.4% vs. main code):
    • 150 *.java files (20,908 LOC)
    • 240 *.sql files (1,441 LOC)
    • 2 *.xml files (114 LOC)
  • " *.java" is biggest, containing 93.08% of LOC.
  • " *.xml" is smallest, containing 0.51% of LOC.


*.java20908 LOC (93%) 150 files
*.sql1441 LOC (6%) 240 files
*.xml114 LOC (<1%) 2 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 ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 21 files match defined criteria (6,039 LOC, 7.1% vs. main code):
    • 19 *.xml files (5,303 LOC)
    • 2 *.sh files (736 LOC)
  • " *.xml" is biggest, containing 87.81% of LOC.
  • " *.sh" is smallest, containing 12.19% of LOC.


*.xml5303 LOC (87%) 19 files
*.sh736 LOC (12%) 2 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 65 files match defined criteria (3,950 LOC, 4.6% vs. main code):
    • 6 *.md files (1,577 LOC)
    • 42 *.rst files (1,162 LOC)
    • 5 *.txt files (892 LOC)
    • 12 *.properties files (319 LOC)
  • " *.md" is biggest, containing 39.92% of LOC.
  • " *.properties" is smallest, containing 8.08% of LOC.


*.md1577 LOC (39%) 6 files
*.rst1162 LOC (29%) 42 files
*.txt892 LOC (22%) 5 files
*.properties319 LOC (8%) 12 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:01