apache / nifi-fds
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
xlf
editorconfig
eslintignore
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.

main6538 LOC (88%) 60 files
test198 LOC (2%) 7 files
generated0 LOC (0%) 0 files
build and deployment319 LOC (4%) 6 files
other336 LOC (4%) 5 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xlf
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 60 files match defined criteria (6,538 LOC, 100.0% vs. main code):
    • 8 *.html files (3,200 LOC)
    • 23 *.js files (2,013 LOC)
    • 28 *.scss files (1,312 LOC)
    • 1 *.xlf files (13 LOC)
  • " *.html" is biggest, containing 48.94% of LOC.
  • " *.xlf" is smallest, containing 0.2% of LOC.


*.html3200 LOC (48%) 8 files
*.js2013 LOC (30%) 23 files
*.scss1312 LOC (20%) 28 files
*.xlf13 LOC (<1%) 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 ".*[-]test[-].*".
    • files with paths like ".*[.]spec[.]js".
    • files with paths like ".*/karma[.]conf[.]js".
  • 7 files match defined criteria (198 LOC, 3.0% vs. main code). All matches are in *.js files.


*.js198 LOC (100%) 7 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (319 LOC, 4.9% vs. main code). All matches are in *.js files.


*.js319 LOC (100%) 6 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]txt".
  • 5 files match defined criteria (336 LOC, 5.1% vs. main code):
    • 2 *.json files (220 LOC)
    • 1 *.md files (90 LOC)
    • 1 *.js files (25 LOC)
    • 1 *.html files (1 LOC)
  • " *.json" is biggest, containing 65.48% of LOC.
  • " *.html" is smallest, containing 0.3% of LOC.


*.json220 LOC (65%) 2 files
*.md90 LOC (26%) 1 file
*.js25 LOC (7%) 1 file
*.html1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:12