apache / turbine-fulcrum-security
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
xsd
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.

main14849 LOC (57%) 202 files
test9321 LOC (36%) 157 files
generated0 LOC (0%) 0 files
build and deployment1000 LOC (3%) 7 files
other567 LOC (2%) 10 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 202 files match defined criteria (14,849 LOC, 100.0% vs. main code):
    • 170 *.java files (12,426 LOC)
    • 30 *.xml files (1,324 LOC)
    • 2 *.xsd files (1,099 LOC)
  • " *.java" is biggest, containing 83.68% of LOC.
  • " *.xsd" is smallest, containing 7.4% of LOC.


*.java12426 LOC (83%) 170 files
*.xml1324 LOC (8%) 30 files
*.xsd1099 LOC (7%) 2 files
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/.*".
  • 157 files match defined criteria (9,321 LOC, 62.8% vs. main code):
    • 84 *.java files (7,340 LOC)
    • 65 *.xml files (1,685 LOC)
    • 8 *.sql files (296 LOC)
  • " *.java" is biggest, containing 78.75% of LOC.
  • " *.sql" is smallest, containing 3.18% of LOC.


*.java7340 LOC (78%) 84 files
*.xml1685 LOC (18%) 65 files
*.sql296 LOC (3%) 8 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 ".*/assembly/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 7 files match defined criteria (1,000 LOC, 6.7% vs. main code). All matches are in *.xml files.


*.xml1000 LOC (100%) 7 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 10 files match defined criteria (567 LOC, 3.8% vs. main code). All matches are in *.properties files.


*.properties567 LOC (100%) 10 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:18