apache / incubator-nlpcraft-website
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
webmanifest
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.

main21746 LOC (40%) 130 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other31446 LOC (59%) 51 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 130 files match defined criteria (21,746 LOC, 100.0% vs. main code):
    • 42 *.css files (7,924 LOC)
    • 34 *.js files (7,221 LOC)
    • 19 *.html files (3,694 LOC)
    • 6 *.yml files (1,420 LOC)
    • 22 *.scss files (1,242 LOC)
    • 3 *.yaml files (180 LOC)
    • 2 *.rb files (42 LOC)
    • 1 *.webmanifest files (14 LOC)
    • 1 *.xml files (9 LOC)
  • " *.css" is biggest, containing 36.44% of LOC.
  • " *.xml" is smallest, containing 0.04% of LOC.


*.css7924 LOC (36%) 42 files
*.js7221 LOC (33%) 34 files
*.html3694 LOC (16%) 19 files
*.yml1420 LOC (6%) 6 files
*.scss1242 LOC (5%) 22 files
*.yaml180 LOC (<1%) 3 files
*.rb42 LOC (<1%) 2 files
*.webmanifest14 LOC (<1%) 1 file
*.xml9 LOC (<1%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]svg".
    • 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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
  • 51 files match defined criteria (31,446 LOC, 144.6% vs. main code):
    • 44 *.svg files (28,914 LOC)
    • 6 *.html files (2,491 LOC)
    • 1 *.md files (41 LOC)
  • " *.svg" is biggest, containing 91.95% of LOC.
  • " *.md" is smallest, containing 0.13% of LOC.


*.svg28914 LOC (91%) 44 files
*.html2491 LOC (7%) 6 files
*.md41 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:45