GoogleCloudPlatform / recaptcha-enterprise-flutter
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
storyboard
podspec
properties
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.

main695 LOC (43%) 25 files
test239 LOC (14%) 4 files
generated0 LOC (0%) 0 files
build and deployment198 LOC (12%) 11 files
other462 LOC (28%) 16 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 ".*".
  • 25 files match defined criteria (695 LOC, 100.0% vs. main code):
    • 8 *.dart files (310 LOC)
    • 2 *.swift files (147 LOC)
    • 2 *.kt files (119 LOC)
    • 4 *.yaml files (51 LOC)
    • 2 *.m files (29 LOC)
    • 4 *.xml files (26 LOC)
    • 3 *.h files (13 LOC)
  • " *.dart" is biggest, containing 44.6% of LOC.
  • " *.h" is smallest, containing 1.87% of LOC.


*.dart310 LOC (44%) 8 files
*.swift147 LOC (21%) 2 files
*.kt119 LOC (17%) 2 files
*.yaml51 LOC (7%) 4 files
*.m29 LOC (4%) 2 files
*.xml26 LOC (3%) 4 files
*.h13 LOC (1%) 3 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 ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 4 files match defined criteria (239 LOC, 34.4% vs. main code). All matches are in *.dart files.


*.dart239 LOC (100%) 4 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
podspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]podspec".
  • 11 files match defined criteria (198 LOC, 28.5% vs. main code):
    • 5 *.gradle files (131 LOC)
    • 4 *.xml files (37 LOC)
    • 2 *.podspec files (30 LOC)
  • " *.gradle" is biggest, containing 66.16% of LOC.
  • " *.podspec" is smallest, containing 15.15% of LOC.


*.gradle131 LOC (66%) 5 files
*.xml37 LOC (18%) 4 files
*.podspec30 LOC (15%) 2 files
Other Code
plist
storyboard
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]storyboard".
    • files with paths like ".*[.]txt".
  • 16 files match defined criteria (462 LOC, 66.5% vs. main code):
    • 3 *.json files (216 LOC)
    • 4 *.plist files (93 LOC)
    • 6 *.md files (86 LOC)
    • 2 *.storyboard files (61 LOC)
    • 1 *.properties files (6 LOC)
  • " *.json" is biggest, containing 46.75% of LOC.
  • " *.properties" is smallest, containing 1.3% of LOC.


*.json216 LOC (46%) 3 files
*.plist93 LOC (20%) 4 files
*.md86 LOC (18%) 6 files
*.storyboard61 LOC (13%) 2 files
*.properties6 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 15:56