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

main1408 LOC (29%) 19 files
test1453 LOC (30%) 15 files
generated0 LOC (0%) 0 files
build and deployment1242 LOC (25%) 9 files
other736 LOC (15%) 6 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
abnf
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 19 files match defined criteria (1,408 LOC, 100.0% vs. main code):
    • 13 *.java files (787 LOC)
    • 3 *.xml files (440 LOC)
    • 2 *.g4 files (152 LOC)
    • 1 *.abnf files (29 LOC)
  • " *.java" is biggest, containing 55.89% of LOC.
  • " *.abnf" is smallest, containing 2.06% of LOC.


*.java787 LOC (55%) 13 files
*.xml440 LOC (31%) 3 files
*.g4152 LOC (10%) 2 files
*.abnf29 LOC (2%) 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/.*".
  • 15 files match defined criteria (1,453 LOC, 103.2% vs. main code). All matches are in *.java files.


*.java1453 LOC (100%) 15 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 9 files match defined criteria (1,242 LOC, 88.2% vs. main code):
    • 2 *.xml files (829 LOC)
    • 7 *.sh files (413 LOC)
  • " *.xml" is biggest, containing 66.75% of LOC.
  • " *.sh" is smallest, containing 33.25% of LOC.


*.xml829 LOC (66%) 2 files
*.sh413 LOC (33%) 7 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 ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
  • 6 files match defined criteria (736 LOC, 52.3% vs. main code):
    • 1 *.json files (487 LOC)
    • 3 *.md files (214 LOC)
    • 1 *.properties files (21 LOC)
    • 1 *.txt files (14 LOC)
  • " *.json" is biggest, containing 66.17% of LOC.
  • " *.txt" is smallest, containing 1.9% of LOC.


*.json487 LOC (66%) 1 file
*.md214 LOC (29%) 3 files
*.properties21 LOC (2%) 1 file
*.txt14 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:52