azure / azure-functions-java-worker
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
csproj
txt
nuspec
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.

main5567 LOC (47%) 94 files
test3567 LOC (30%) 52 files
generated0 LOC (0%) 0 files
build and deployment828 LOC (7%) 8 files
other1741 LOC (14%) 45 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 94 files match defined criteria (5,567 LOC, 100.0% vs. main code):
    • 84 *.java files (4,483 LOC)
    • 3 *.proto files (589 LOC)
    • 5 *.ps1 files (463 LOC)
    • 2 *.xml files (32 LOC)
  • " *.java" is biggest, containing 80.53% of LOC.
  • " *.xml" is smallest, containing 0.57% of LOC.


*.java4483 LOC (80%) 84 files
*.proto589 LOC (10%) 3 files
*.ps1463 LOC (8%) 5 files
*.xml32 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 52 files match defined criteria (3,567 LOC, 64.1% vs. main code):
    • 27 *.cs files (2,064 LOC)
    • 22 *.java files (1,404 LOC)
    • 1 *.ps1 files (50 LOC)
    • 2 *.csproj files (49 LOC)
  • " *.cs" is biggest, containing 57.86% of LOC.
  • " *.csproj" is smallest, containing 1.37% of LOC.


*.cs2064 LOC (57%) 27 files
*.java1404 LOC (39%) 22 files
*.ps150 LOC (1%) 1 file
*.csproj49 LOC (1%) 2 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
nuspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]bat".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 8 files match defined criteria (828 LOC, 14.9% vs. main code):
    • 4 *.xml files (802 LOC)
    • 1 *.nuspec files (23 LOC)
    • 3 *.bat files (3 LOC)
  • " *.xml" is biggest, containing 96.86% of LOC.
  • " *.bat" is smallest, containing 0.36% of LOC.


*.xml802 LOC (96%) 4 files
*.nuspec23 LOC (2%) 1 file
*.bat3 LOC (<1%) 3 files
Other Code
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 ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
  • 45 files match defined criteria (1,741 LOC, 31.3% vs. main code):
    • 12 *.md files (930 LOC)
    • 19 *.java files (310 LOC)
    • 3 *.xml files (305 LOC)
    • 11 *.json files (196 LOC)
  • " *.md" is biggest, containing 53.42% of LOC.
  • " *.json" is smallest, containing 11.26% of LOC.


*.md930 LOC (53%) 12 files
*.java310 LOC (17%) 19 files
*.xml305 LOC (17%) 3 files
*.json196 LOC (11%) 11 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:20