apache / skywalking-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
gitmodules
htaccess
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.

main8331 LOC (25%) 174 files
test0 LOC (0%) 0 files
generated2821 LOC (8%) 1 file
build and deployment37 LOC (<1%) 3 files
other21969 LOC (66%) 363 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 ".*".
  • 174 files match defined criteria (8,331 LOC, 100.0% vs. main code):
    • 40 *.scss files (2,816 LOC)
    • 94 *.html files (2,338 LOC)
    • 5 *.yml files (1,584 LOC)
    • 14 *.js files (758 LOC)
    • 12 *.toml files (644 LOC)
    • 4 *.xml files (76 LOC)
    • 1 *.rdf files (41 LOC)
    • 2 *.webmanifest files (38 LOC)
    • 2 *.css files (36 LOC)
  • " *.scss" is biggest, containing 33.8% of LOC.
  • " *.css" is smallest, containing 0.43% of LOC.


*.scss2816 LOC (33%) 40 files
*.html2338 LOC (28%) 94 files
*.yml1584 LOC (19%) 5 files
*.js758 LOC (9%) 14 files
*.toml644 LOC (7%) 12 files
*.xml76 LOC (<1%) 4 files
*.rdf41 LOC (<1%) 1 file
*.webmanifest38 LOC (<1%) 2 files
*.css36 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 ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (2,821 LOC, 33.9% vs. main code). All matches are in *.json files.


*.json2821 LOC (100%) 1 file
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".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/package[-]lock[.]json".
  • 3 files match defined criteria (37 LOC, 0.4% vs. main code). All matches are in *.sh files.


*.sh37 LOC (100%) 3 files
Other Code
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 ".*[.]svg".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]htaccess".
  • 363 files match defined criteria (21,969 LOC, 263.7% vs. main code):
    • 330 *.md files (17,513 LOC)
    • 3 *.json files (2,882 LOC)
    • 30 *.svg files (1,574 LOC)
  • " *.md" is biggest, containing 79.72% of LOC.
  • " *.svg" is smallest, containing 7.16% of LOC.


*.md17513 LOC (79%) 330 files
*.json2882 LOC (13%) 3 files
*.svg1574 LOC (7%) 30 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:11