apache / age-viewer
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
babelrc
webmanifest
gitattributes
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.

main11605 LOC (76%) 146 files
test170 LOC (1%) 9 files
generated1555 LOC (10%) 1 file
build and deployment0 LOC (0%) 0 files
other1869 LOC (12%) 9 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 ".*".
  • 146 files match defined criteria (11,605 LOC, 100.0% vs. main code):
    • 44 *.jsx files (5,838 LOC)
    • 76 *.js files (4,564 LOC)
    • 4 *.css files (745 LOC)
    • 9 *.scss files (282 LOC)
    • 1 *.g4 files (92 LOC)
    • 10 *.sql files (56 LOC)
    • 1 *.html files (21 LOC)
    • 1 *.webmanifest files (7 LOC)
  • " *.jsx" is biggest, containing 50.31% of LOC.
  • " *.webmanifest" is smallest, containing 0.06% of LOC.


*.jsx5838 LOC (50%) 44 files
*.js4564 LOC (39%) 76 files
*.css745 LOC (6%) 4 files
*.scss282 LOC (2%) 9 files
*.g492 LOC (<1%) 1 file
*.sql56 LOC (<1%) 10 files
*.html21 LOC (<1%) 1 file
*.webmanifest7 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 ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 9 files match defined criteria (170 LOC, 1.5% vs. main code):
    • 5 *.js files (158 LOC)
    • 1 *.yml files (9 LOC)
    • 3 *.sql files (3 LOC)
  • " *.js" is biggest, containing 92.94% of LOC.
  • " *.sql" is smallest, containing 1.76% of LOC.


*.js158 LOC (92%) 5 files
*.yml9 LOC (5%) 1 file
*.sql3 LOC (1%) 3 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 ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (1,555 LOC, 13.4% vs. main code). All matches are in *.json files.


*.json1555 LOC (100%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
  • 9 files match defined criteria (1,869 LOC, 16.1% vs. main code):
    • 5 *.json files (1,787 LOC)
    • 3 *.md files (79 LOC)
    • 1 *.txt files (3 LOC)
  • " *.json" is biggest, containing 95.61% of LOC.
  • " *.txt" is smallest, containing 0.16% of LOC.


*.json1787 LOC (95%) 5 files
*.md79 LOC (4%) 3 files
*.txt3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:17