apache / libcloud-site
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
eps
txt
htaccess
jshintrc
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.

main1386 LOC (11%) 32 files
test0 LOC (0%) 0 files
generated1783 LOC (15%) 3 files
build and deployment55 LOC (<1%) 6 files
other8563 LOC (72%) 129 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 ".*".
  • 32 files match defined criteria (1,386 LOC, 100.0% vs. main code):
    • 18 *.html files (469 LOC)
    • 2 *.css files (377 LOC)
    • 5 *.rb files (261 LOC)
    • 4 *.js files (159 LOC)
    • 1 *.yml files (89 LOC)
    • 2 *.xml files (31 LOC)
  • " *.html" is biggest, containing 33.84% of LOC.
  • " *.xml" is smallest, containing 2.24% of LOC.


*.html469 LOC (33%) 18 files
*.css377 LOC (27%) 2 files
*.rb261 LOC (18%) 5 files
*.js159 LOC (11%) 4 files
*.yml89 LOC (6%) 1 file
*.xml31 LOC (2%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
eps
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](ps|eps|pfa)".
    • files with paths like ".*/package[-]lock[.]json".
  • 3 files match defined criteria (1,783 LOC, 128.6% vs. main code):
    • 1 *.json files (1,449 LOC)
    • 2 *.eps files (334 LOC)
  • " *.json" is biggest, containing 81.27% of LOC.
  • " *.eps" is smallest, containing 18.73% of LOC.


*.json1449 LOC (81%) 1 file
*.eps334 LOC (18%) 2 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 6 files match defined criteria (55 LOC, 4.0% vs. main code). All matches are in *.sh files.


*.sh55 LOC (100%) 6 files
Other Code
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 ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 129 files match defined criteria (8,563 LOC, 617.8% vs. main code):
    • 125 *.md files (7,004 LOC)
    • 2 *.json files (1,461 LOC)
    • 1 *.svg files (97 LOC)
    • 1 *.txt files (1 LOC)
  • " *.md" is biggest, containing 81.79% of LOC.
  • " *.txt" is smallest, containing 0.01% of LOC.


*.md7004 LOC (81%) 125 files
*.json1461 LOC (17%) 2 files
*.svg97 LOC (1%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:31