aws / aws-sdk-ruby
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
feature
rake
gitmodules
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.

main1319841 LOC (42%) 7,435 files
test3071 LOC (<1%) 132 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1815462 LOC (57%) 3,744 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
rake
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 7435 files match defined criteria (1,319,841 LOC, 100.0% vs. main code):
    • 6,968 *.rb files (1,308,870 LOC)
    • 414 *.gemspec files (8,249 LOC)
    • 34 *.mustache files (1,793 LOC)
    • 2 *.js files (496 LOC)
    • 9 *.rake files (294 LOC)
    • 5 *.erb files (90 LOC)
    • 2 *.yaml files (32 LOC)
    • 1 *.css files (17 LOC)
  • " *.rb" is biggest, containing 99.17% of LOC.
  • " *.css" is smallest, containing 0% of LOC.


*.rb1308870 LOC (99%) 6,968 files
*.gemspec8249 LOC (<1%) 414 files
*.mustache1793 LOC (<1%) 34 files
*.js496 LOC (<1%) 2 files
*.rake294 LOC (<1%) 9 files
*.erb90 LOC (<1%) 5 files
*.yaml32 LOC (<1%) 2 files
*.css17 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
rake
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[.]feature".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/test[.].*".
  • 132 files match defined criteria (3,071 LOC, 0.2% vs. main code):
    • 131 *.feature files (2,981 LOC)
    • 1 *.rake files (90 LOC)
  • " *.feature" is biggest, containing 97.07% of LOC.
  • " *.rake" is smallest, containing 2.93% of LOC.


*.feature2981 LOC (97%) 131 files
*.rake90 LOC (2%) 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 ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 3744 files match defined criteria (1,815,462 LOC, 137.6% vs. main code):
    • 2,559 *.json files (1,656,073 LOC)
    • 412 *.md files (87,850 LOC)
    • 766 *.txt files (71,505 LOC)
    • 7 *.rb files (34 LOC)
  • " *.json" is biggest, containing 91.22% of LOC.
  • " *.rb" is smallest, containing 0% of LOC.


*.json1656073 LOC (91%) 2,559 files
*.md87850 LOC (4%) 412 files
*.txt71505 LOC (3%) 766 files
*.rb34 LOC (<1%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 17:34