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.

main20206 LOC (33%) 122 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other40998 LOC (66%) 54 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 ".*".
  • 122 files match defined criteria (20,206 LOC, 100.0% vs. main code):
    • 42 *.css files (7,924 LOC)
    • 34 *.js files (7,221 LOC)
    • 18 *.html files (3,683 LOC)
    • 22 *.scss files (1,242 LOC)
    • 2 *.yaml files (71 LOC)
    • 2 *.rb files (42 LOC)
    • 1 *.webmanifest files (14 LOC)
    • 1 *.xml files (9 LOC)
  • " *.css" is biggest, containing 39.22% of LOC.
  • " *.xml" is smallest, containing 0.04% of LOC.


*.css7924 LOC (39%) 42 files
*.js7221 LOC (35%) 34 files
*.html3683 LOC (18%) 18 files
*.scss1242 LOC (6%) 22 files
*.yaml71 LOC (<1%) 2 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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 54 files match defined criteria (40,998 LOC, 202.9% vs. main code):
    • 47 *.svg files (38,466 LOC)
    • 6 *.html files (2,491 LOC)
    • 1 *.md files (41 LOC)
  • " *.svg" is biggest, containing 93.82% of LOC.
  • " *.md" is smallest, containing 0.1% of LOC.


*.svg38466 LOC (93%) 47 files
*.html2491 LOC (6%) 6 files
*.md41 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:11