GoogleCloudPlatform / recaptcha-enterprise-mobile-sdk
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
properties
plist
storyboard
pro
txt
podspec
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.

main92 LOC (1%) 4 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment27 LOC (<1%) 1 file
other5028 LOC (97%) 189 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 ".*".
  • 4 files match defined criteria (92 LOC, 100.0% vs. main code):
    • 2 *.swift files (90 LOC)
    • 1 *.h files (1 LOC)
    • 1 *.m files (1 LOC)
  • " *.swift" is biggest, containing 97.83% of LOC.
  • " *.m" is smallest, containing 1.09% of LOC.


*.swift90 LOC (97%) 2 files
*.h1 LOC (1%) 1 file
*.m1 LOC (1%) 1 file
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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]podspec".
  • 1 file matches defined criteria (27 LOC, 29.3% vs. main code). All matches are in *.podspec files.


*.podspec27 LOC (100%) 1 file
Other Code
storyboard
plist
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]storyboard".
  • 189 files match defined criteria (5,028 LOC, 5465.2% vs. main code):
    • 51 *.xml files (1,298 LOC)
    • 27 *.swift files (1,143 LOC)
    • 40 *.kt files (977 LOC)
    • 12 *.kts files (340 LOC)
    • 4 *.bat files (281 LOC)
    • 4 *.html files (242 LOC)
    • 11 *.md files (167 LOC)
    • 6 *.storyboard files (150 LOC)
    • 13 *.json files (126 LOC)
    • 9 *.plist files (122 LOC)
    • 8 *.properties files (101 LOC)
    • 1 *.py files (49 LOC)
    • 1 *.toml files (29 LOC)
    • 1 *.h files (2 LOC)
    • 1 *.txt files (1 LOC)
  • " *.xml" is biggest, containing 25.82% of LOC.
  • " *.txt" is smallest, containing 0.02% of LOC.


*.xml1298 LOC (25%) 51 files
*.swift1143 LOC (22%) 27 files
*.kt977 LOC (19%) 40 files
*.kts340 LOC (6%) 12 files
*.bat281 LOC (5%) 4 files
*.html242 LOC (4%) 4 files
*.md167 LOC (3%) 11 files
*.storyboard150 LOC (2%) 6 files
*.json126 LOC (2%) 13 files
*.plist122 LOC (2%) 9 files
*.properties101 LOC (2%) 8 files
*.py49 LOC (<1%) 1 file
*.toml29 LOC (<1%) 1 file
*.h2 LOC (<1%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 15:47