apache / accumulo
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
txt
gitattributes
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.

main227001 LOC (63%) 1,490 files
test125913 LOC (35%) 848 files
generated0 LOC (0%) 0 files
build and deployment4920 LOC (1%) 30 files
other1053 LOC (<1%) 25 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 ".*".
  • 1490 files match defined criteria (227,001 LOC, 100.0% vs. main code):
    • 1,432 *.java files (220,575 LOC)
    • 15 *.js files (2,077 LOC)
    • 11 *.thrift files (1,508 LOC)
    • 15 *.ftl files (1,017 LOC)
    • 5 *.h files (627 LOC)
    • 9 *.xml files (555 LOC)
    • 1 *.css files (381 LOC)
    • 1 *.html files (171 LOC)
    • 1 *.cc files (90 LOC)
  • " *.java" is biggest, containing 97.17% of LOC.
  • " *.cc" is smallest, containing 0.04% of LOC.


*.java220575 LOC (97%) 1,432 files
*.js2077 LOC (<1%) 15 files
*.thrift1508 LOC (<1%) 11 files
*.ftl1017 LOC (<1%) 15 files
*.h627 LOC (<1%) 5 files
*.xml555 LOC (<1%) 9 files
*.css381 LOC (<1%) 1 file
*.html171 LOC (<1%) 1 file
*.cc90 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/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]test[-].*".
  • 848 files match defined criteria (125,913 LOC, 55.5% vs. main code):
    • 827 *.java files (125,105 LOC)
    • 4 *.xml files (422 LOC)
    • 8 *.yaml files (197 LOC)
    • 2 *.cc files (103 LOC)
    • 4 *.sh files (47 LOC)
    • 1 *.c files (29 LOC)
    • 1 *.thrift files (9 LOC)
    • 1 *.h files (1 LOC)
  • " *.java" is biggest, containing 99.36% of LOC.
  • " *.h" is smallest, containing 0% of LOC.


*.java125105 LOC (99%) 827 files
*.xml422 LOC (<1%) 4 files
*.yaml197 LOC (<1%) 8 files
*.cc103 LOC (<1%) 2 files
*.sh47 LOC (<1%) 4 files
*.c29 LOC (<1%) 1 file
*.thrift9 LOC (<1%) 1 file
*.h1 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 30 files match defined criteria (4,920 LOC, 2.2% vs. main code):
    • 14 *.xml files (4,149 LOC)
    • 16 *.sh files (771 LOC)
  • " *.xml" is biggest, containing 84.33% of LOC.
  • " *.sh" is smallest, containing 15.67% of LOC.


*.xml4149 LOC (84%) 14 files
*.sh771 LOC (15%) 16 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 25 files match defined criteria (1,053 LOC, 0.5% vs. main code):
    • 20 *.properties files (772 LOC)
    • 3 *.md files (262 LOC)
    • 2 *.txt files (19 LOC)
  • " *.properties" is biggest, containing 73.31% of LOC.
  • " *.txt" is smallest, containing 1.8% of LOC.


*.properties772 LOC (73%) 20 files
*.md262 LOC (24%) 3 files
*.txt19 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:26