apache / accumulo-proxy
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
properties
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.

main36242 LOC (90%) 66 files
test2248 LOC (5%) 9 files
generated0 LOC (0%) 0 files
build and deployment1241 LOC (3%) 4 files
other405 LOC (1%) 5 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 ".*".
  • 66 files match defined criteria (36,242 LOC, 100.0% vs. main code):
    • 46 *.java files (19,135 LOC)
    • 4 *.rb files (6,301 LOC)
    • 2 *.cpp files (4,771 LOC)
    • 6 *.py files (2,882 LOC)
    • 1 *.h files (1,579 LOC)
    • 1 *.thrift files (1,051 LOC)
    • 5 *.xml files (511 LOC)
    • 1 *.gemspec files (12 LOC)
  • " *.java" is biggest, containing 52.8% of LOC.
  • " *.gemspec" is smallest, containing 0.03% of LOC.


*.java19135 LOC (52%) 46 files
*.rb6301 LOC (17%) 4 files
*.cpp4771 LOC (13%) 2 files
*.py2882 LOC (7%) 6 files
*.h1579 LOC (4%) 1 file
*.thrift1051 LOC (2%) 1 file
*.xml511 LOC (1%) 5 files
*.gemspec12 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/.*".
  • 9 files match defined criteria (2,248 LOC, 6.2% vs. main code):
    • 8 *.java files (2,239 LOC)
    • 1 *.thrift files (9 LOC)
  • " *.java" is biggest, containing 99.6% of LOC.
  • " *.thrift" is smallest, containing 0.4% of LOC.


*.java2239 LOC (99%) 8 files
*.thrift9 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 4 files match defined criteria (1,241 LOC, 3.4% vs. main code):
    • 1 *.xml files (870 LOC)
    • 3 *.sh files (371 LOC)
  • " *.xml" is biggest, containing 70.1% of LOC.
  • " *.sh" is smallest, containing 29.9% of LOC.


*.xml870 LOC (70%) 1 file
*.sh371 LOC (29%) 3 files
Other Code
properties
txt
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 ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
  • 5 files match defined criteria (405 LOC, 1.1% vs. main code):
    • 2 *.properties files (209 LOC)
    • 2 *.md files (182 LOC)
    • 1 *.txt files (14 LOC)
  • " *.properties" is biggest, containing 51.6% of LOC.
  • " *.txt" is smallest, containing 3.46% of LOC.


*.properties209 LOC (51%) 2 files
*.md182 LOC (44%) 2 files
*.txt14 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:31