apache / incubator-nemo-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
txt
plist
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.

main27277 LOC (3%) 140 files
test0 LOC (0%) 0 files
generated783880 LOC (90%) 3,008 files
build and deployment32 LOC (<1%) 4 files
other51002 LOC (5%) 267 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 ".*".
  • 140 files match defined criteria (27,277 LOC, 100.0% vs. main code):
    • 111 *.scss files (16,331 LOC)
    • 1 *.xml files (6,185 LOC)
    • 7 *.css files (3,444 LOC)
    • 6 *.js files (884 LOC)
    • 13 *.html files (357 LOC)
    • 2 *.yml files (76 LOC)
  • " *.scss" is biggest, containing 59.87% of LOC.
  • " *.yml" is smallest, containing 0.28% of LOC.


*.scss16331 LOC (59%) 111 files
*.xml6185 LOC (22%) 1 file
*.css3444 LOC (12%) 7 files
*.js884 LOC (3%) 6 files
*.html357 LOC (1%) 13 files
*.yml76 LOC (<1%) 2 files
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 ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 3008 files match defined criteria (783,880 LOC, 2873.8% vs. main code). All matches are in *.html files.


*.html783880 LOC (100%) 3,008 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 4 files match defined criteria (32 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh32 LOC (100%) 4 files
Other Code
plist
txt
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 ".*[.]plist".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 267 files match defined criteria (51,002 LOC, 187.0% vs. main code):
    • 232 *.html files (43,578 LOC)
    • 2 *.svg files (5,342 LOC)
    • 27 *.md files (1,901 LOC)
    • 2 *.plist files (92 LOC)
    • 3 *.json files (88 LOC)
    • 1 *.txt files (1 LOC)
  • " *.html" is biggest, containing 85.44% of LOC.
  • " *.txt" is smallest, containing 0% of LOC.


*.html43578 LOC (85%) 232 files
*.svg5342 LOC (10%) 2 files
*.md1901 LOC (3%) 27 files
*.plist92 LOC (<1%) 2 files
*.json88 LOC (<1%) 3 files
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:12