apache / flagon
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
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.

main50403 LOC (74%) 190 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment522 LOC (<1%) 8 files
other16527 LOC (24%) 68 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 ".*".
  • 190 files match defined criteria (50,403 LOC, 100.0% vs. main code):
    • 68 *.js files (25,320 LOC)
    • 47 *.less files (19,099 LOC)
    • 28 *.html files (4,164 LOC)
    • 27 *.yml files (879 LOC)
    • 2 *.css files (400 LOC)
    • 9 *.yaml files (351 LOC)
    • 5 *.scss files (180 LOC)
    • 4 *.xml files (10 LOC)
  • " *.js" is biggest, containing 50.24% of LOC.
  • " *.xml" is smallest, containing 0.02% of LOC.


*.js25320 LOC (50%) 68 files
*.less19099 LOC (37%) 47 files
*.html4164 LOC (8%) 28 files
*.yml879 LOC (1%) 27 files
*.css400 LOC (<1%) 2 files
*.yaml351 LOC (<1%) 9 files
*.scss180 LOC (<1%) 5 files
*.xml10 LOC (<1%) 4 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 ".*[.]sh".
    • files with paths like ".*/docker[-]compose[.]yml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
  • 8 files match defined criteria (522 LOC, 1.0% vs. main code):
    • 7 *.sh files (437 LOC)
    • 1 *.yml files (85 LOC)
  • " *.sh" is biggest, containing 83.72% of LOC.
  • " *.yml" is smallest, containing 16.28% of LOC.


*.sh437 LOC (83%) 7 files
*.yml85 LOC (16%) 1 file
Other Code
properties
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 ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]txt".
  • 68 files match defined criteria (16,527 LOC, 32.8% vs. main code):
    • 16 *.svg files (12,786 LOC)
    • 37 *.md files (2,784 LOC)
    • 10 *.json files (852 LOC)
    • 5 *.properties files (105 LOC)
  • " *.svg" is biggest, containing 77.36% of LOC.
  • " *.properties" is smallest, containing 0.64% of LOC.


*.svg12786 LOC (77%) 16 files
*.md2784 LOC (16%) 37 files
*.json852 LOC (5%) 10 files
*.properties105 LOC (<1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:14