google-gemini / deprecated-generative-ai-dart
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
plist
txt
storyboard
properties
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.

main1373 LOC (25%) 14 files
test1812 LOC (33%) 6 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other2224 LOC (41%) 57 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 ".*".
  • 14 files match defined criteria (1,373 LOC, 100.0% vs. main code):
    • 12 *.dart files (1,344 LOC)
    • 2 *.yaml files (29 LOC)
  • " *.dart" is biggest, containing 97.89% of LOC.
  • " *.yaml" is smallest, containing 2.11% of LOC.


*.dart1344 LOC (97%) 12 files
*.yaml29 LOC (2%) 2 files
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 ".*_test[.].*".
  • 6 files match defined criteria (1,812 LOC, 132.0% vs. main code). All matches are in *.dart files.


*.dart1812 LOC (100%) 6 files
Other Code
txt
plist
storyboard
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]plist".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]storyboard".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]xib".
  • 57 files match defined criteria (2,224 LOC, 162.0% vs. main code):
    • 4 *.cpp files (343 LOC)
    • 1 *.xib files (343 LOC)
    • 1 *.dart files (322 LOC)
    • 4 *.json files (248 LOC)
    • 3 *.txt files (221 LOC)
    • 7 *.md files (169 LOC)
    • 7 *.plist files (139 LOC)
    • 3 *.gradle files (101 LOC)
    • 5 *.h files (86 LOC)
    • 2 *.storyboard files (61 LOC)
    • 7 *.xml files (59 LOC)
    • 6 *.swift files (50 LOC)
    • 1 *.html files (38 LOC)
    • 4 *.yaml files (37 LOC)
    • 1 *.kt files (4 LOC)
    • 1 *.properties files (3 LOC)
  • " *.cpp" is biggest, containing 15.42% of LOC.
  • " *.properties" is smallest, containing 0.13% of LOC.


*.cpp343 LOC (15%) 4 files
*.xib343 LOC (15%) 1 file
*.dart322 LOC (14%) 1 file
*.json248 LOC (11%) 4 files
*.txt221 LOC (9%) 3 files
*.md169 LOC (7%) 7 files
*.plist139 LOC (6%) 7 files
*.gradle101 LOC (4%) 3 files
*.h86 LOC (3%) 5 files
*.storyboard61 LOC (2%) 2 files
*.xml59 LOC (2%) 7 files
*.swift50 LOC (2%) 6 files
*.html38 LOC (1%) 1 file
*.yaml37 LOC (1%) 4 files
*.kt4 LOC (<1%) 1 file
*.properties3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-06-30 08:42