apache / james-site
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
hbs
editorconfig
gitattributes
txt
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.

main3288 LOC (24%) 82 files
test0 LOC (0%) 0 files
generated4419 LOC (33%) 1 file
build and deployment142 LOC (1%) 5 files
other5505 LOC (41%) 13 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
hbs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 82 files match defined criteria (3,288 LOC, 100.0% vs. main code):
    • 18 *.css files (1,717 LOC)
    • 27 *.js files (810 LOC)
    • 30 *.hbs files (315 LOC)
    • 3 *.adoc files (211 LOC)
    • 3 *.yml files (166 LOC)
    • 1 *.rdf files (69 LOC)
  • " *.css" is biggest, containing 52.22% of LOC.
  • " *.rdf" is smallest, containing 2.1% of LOC.


*.css1717 LOC (52%) 18 files
*.js810 LOC (24%) 27 files
*.hbs315 LOC (9%) 30 files
*.adoc211 LOC (6%) 3 files
*.yml166 LOC (5%) 3 files
*.rdf69 LOC (2%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (4,419 LOC, 134.4% vs. main code). All matches are in *.json files.


*.json4419 LOC (100%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/package[-]lock[.]json".
  • 5 files match defined criteria (142 LOC, 4.3% vs. main code):
    • 1 *.bat files (78 LOC)
    • 4 *.gradle files (64 LOC)
  • " *.bat" is biggest, containing 54.93% of LOC.
  • " *.gradle" is smallest, containing 45.07% of LOC.


*.bat78 LOC (54%) 1 file
*.gradle64 LOC (45%) 4 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
  • 13 files match defined criteria (5,505 LOC, 167.4% vs. main code):
    • 3 *.json files (4,508 LOC)
    • 8 *.svg files (817 LOC)
    • 2 *.adoc files (180 LOC)
  • " *.json" is biggest, containing 81.89% of LOC.
  • " *.adoc" is smallest, containing 3.27% of LOC.


*.json4508 LOC (81%) 3 files
*.svg817 LOC (14%) 8 files
*.adoc180 LOC (3%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:07