id: 1 unit: fun SessionDetailScreen() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/SessionDetailScreen/SessionDetailScreen.kt start line: 43 end line: 112 size: 61 LOC McCabe index: 3 number of parameters: 4 id: 2 unit: override fun onCreate() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/MainActivity.kt start line: 58 end line: 119 size: 53 LOC McCabe index: 4 number of parameters: 1 id: 3 unit: fun ListSessionsScreen() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/ListSessionsScreen/ListSessionsScreen.kt start line: 43 end line: 101 size: 51 LOC McCabe index: 3 number of parameters: 2 id: 4 unit: fun HealthPlatformNavigation() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/navigation/HealthPlatformNavigation.kt start line: 35 end line: 81 size: 47 LOC McCabe index: 1 number of parameters: 1 id: 5 unit: suspend fun startExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 87 end line: 139 size: 44 LOC McCabe index: 3 number of parameters: 0 id: 6 unit: fun HealthPlatformBottomNavigation() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/HealthPlatformBottomNavigation.kt start line: 33 end line: 73 size: 41 LOC McCabe index: 1 number of parameters: 1 id: 7 unit: override fun onCreate() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/MainActivity.kt start line: 43 end line: 88 size: 40 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: fun SessionDetailsMinMaxAvg() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/SessionDetailsMinMaxAvg.kt start line: 31 end line: 70 size: 40 LOC McCabe index: 1 number of parameters: 3 id: 9 unit: override fun onViewCreated() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseFragment.kt start line: 81 end line: 124 size: 36 LOC McCabe index: 1 number of parameters: 2 id: 10 unit: override fun onCreate() file: health-services/MeasureData/app/src/main/java/com/example/measuredata/MainActivity.kt start line: 43 end line: 82 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: fun HealthPlatformApp() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/MainActivity.kt start line: 57 end line: 88 size: 32 LOC McCabe index: 2 number of parameters: 1 id: 12 unit: fun HealthPlatformNotSupported() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/HealthPlatformNotSupported.kt start line: 35 end line: 64 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: override fun onStartCommand() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 141 end line: 176 size: 27 LOC McCabe index: 3 number of parameters: 3 id: 14 unit: suspend fun readSessionsList() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/data/HealthPlatformManager.kt start line: 96 end line: 122 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 15 unit: suspend fun readSessionDetails() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/data/HealthPlatformManager.kt start line: 164 end line: 189 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: override fun onReceive() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/PassiveDataReceiver.kt start line: 39 end line: 69 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 17 unit: fun TotalStepsScreen() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/TotalStepsScreen/TotalStepsScreen.kt start line: 34 end line: 63 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 18 unit: fun SessionInfoColumn() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/SessionInfoColumn.kt start line: 29 end line: 46 size: 18 LOC McCabe index: 1 number of parameters: 5 id: 19 unit: fun TotalStepsEntry() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/TotalStepsEntry.kt start line: 37 end line: 54 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 20 unit: suspend fun prepareExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 155 end line: 173 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 21 unit: override fun onReceive() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/PassiveGoalsReceiver.kt start line: 34 end line: 49 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 22 unit: fun HealthPlatformSampleTheme() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/theme/Theme.kt start line: 37 end line: 53 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: suspend fun readTotalSteps() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/data/HealthPlatformManager.kt start line: 127 end line: 144 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 24 unit: suspend fun measureHeartRate() file: health-services/MeasureData/app/src/main/java/com/example/measuredata/MainViewModel.kt start line: 59 end line: 73 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 25 unit: override fun onReceive() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/StartupReceiver.kt start line: 46 end line: 63 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 26 unit: override fun onViewCreated() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/StartupFragment.kt start line: 40 end line: 52 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: override fun onViewCreated() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/PrepareFragment.kt start line: 56 end line: 72 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: override fun onReceive() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/StartupReceiver.kt start line: 45 end line: 61 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 29 unit: override fun onKeyUp() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/MainActivity.kt start line: 48 end line: 59 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 30 unit: fun showExceptionSnackbar() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/Util.kt start line: 42 end line: 53 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 31 unit: suspend fun getExerciseCapabilities() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 57 end line: 67 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 32 unit: override fun onUnbind() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 261 end line: 274 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: fun readTotalSteps() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/TotalStepsScreen/TotalStepsViewModel.kt start line: 42 end line: 51 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: fun readSessionData() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/SessionDetailScreen/SessionDetailViewModel.kt start line: 39 end line: 48 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: fun SessionRowPreview() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/SessionRow.kt start line: 61 end line: 70 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: fun SessionInfoColumnPreview() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/SessionInfoColumn.kt start line: 50 end line: 59 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: suspend fun hasFloorsAndDailyStepsCapability() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/HealthServicesManager.kt start line: 66 end line: 74 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: suspend fun registerForHeartRateData() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/HealthServicesManager.kt start line: 45 end line: 53 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: fun insertSessionData() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/ListSessionsScreen/ListSessionsViewModel.kt start line: 43 end line: 51 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: fun deleteSession() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/ListSessionsScreen/ListSessionsViewModel.kt start line: 64 end line: 72 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: override fun create() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/ListSessionsScreen/ListSessionsViewModel.kt start line: 94 end line: 102 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: override fun create() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/TotalStepsScreen/TotalStepsViewModel.kt start line: 73 end line: 81 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: override fun create() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/ui/SessionDetailScreen/SessionDetailViewModel.kt start line: 70 end line: 78 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: suspend fun insertSessionData() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/data/HealthPlatformManager.kt start line: 80 end line: 93 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: override fun onCreateView() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/PrepareFragment.kt start line: 47 end line: 54 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 46 unit: override fun onCreateView() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseFragment.kt start line: 72 end line: 79 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 47 unit: override fun doWork() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/StartupReceiver.kt start line: 84 end line: 90 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: override fun onAvailabilityChanged() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 223 end line: 229 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 49 unit: override fun doWork() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/StartupReceiver.kt start line: 82 end line: 88 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: fun SessionRow() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/SessionRow.kt start line: 29 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 51 unit: override fun onCreate() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/MainActivity.kt start line: 45 end line: 53 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: suspend fun deleteSession() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/data/HealthPlatformManager.kt start line: 152 end line: 159 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: suspend fun subscribeForGoals() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/HealthServicesManager.kt start line: 76 end line: 82 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: fun startExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 106 end line: 111 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: fun endExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 134 end line: 139 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: suspend fun unsubscribeFromGoals() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/HealthServicesManager.kt start line: 84 end line: 88 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: fun togglePassiveGoals() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/MainViewModel.kt start line: 67 end line: 71 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: suspend fun setPassiveGoalsEnabled() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/PassiveGoalsRepository.kt start line: 50 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: suspend fun setLatestDailyGoalAchieved() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/PassiveGoalsRepository.kt start line: 56 end line: 60 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: suspend fun updateLatestFloorsGoalTime() file: health-services/PassiveGoals/app/src/main/java/com/example/passivegoals/PassiveGoalsRepository.kt start line: 73 end line: 77 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: override fun onAvailabilityChanged() file: health-services/MeasureData/app/src/main/java/com/example/measuredata/HealthServicesManager.kt start line: 54 end line: 59 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 62 unit: suspend fun repeatWhenConnected() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseServiceConnection.kt start line: 60 end line: 64 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: suspend fun markLap() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 190 end line: 194 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: override fun onExerciseUpdate() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 211 end line: 215 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: override fun onLapSummary() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 217 end line: 221 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: override fun onDestroyView() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/PrepareFragment.kt start line: 74 end line: 79 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: fun sendAmbientEvent() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/MainViewModel.kt start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: fun sendKeyPress() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/MainViewModel.kt start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: fun prepareExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 97 end line: 101 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: fun pauseExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 116 end line: 120 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: fun resumeExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 125 end line: 129 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: override fun onBind() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 242 end line: 246 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: override fun onDestroyView() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseFragment.kt start line: 126 end line: 131 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: fun togglePassiveData() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/MainViewModel.kt start line: 68 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: suspend fun setPassiveDataEnabled() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/PassiveDataRepository.kt start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: suspend fun storeLatestHeartRate() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/PassiveDataRepository.kt start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: fun HealthPlatformNotSupportedPreview() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/HealthPlatformNotSupported.kt start line: 68 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: fun HealthPlatformTotalStepsPreview() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/TotalStepsEntry.kt start line: 58 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: suspend fun hasHeartRateCapability() file: health-services/MeasureData/app/src/main/java/com/example/measuredata/HealthServicesManager.kt start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: override fun onStart() file: health-services/MeasureData/app/src/main/java/com/example/measuredata/MainActivity.kt start line: 84 end line: 87 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: override fun onServiceConnected() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseServiceConnection.kt start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: suspend fun isExerciseInProgress() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: suspend fun isTrackingExerciseInAnotherApp() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: suspend fun endExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 175 end line: 178 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: suspend fun pauseExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 180 end line: 183 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: suspend fun resumeExercise() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 185 end line: 188 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: override fun onRebind() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 248 end line: 251 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: fun bindService() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 355 end line: 358 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: override fun onSupportNavigateUp() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/MainActivity.kt start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: suspend fun hasHeartRateCapability() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/HealthServicesManager.kt start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: suspend fun unregisterForHeartRateData() file: health-services/PassiveData/app/src/main/java/com/example/passivedata/HealthServicesManager.kt start line: 55 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: fun SessionButtonColumn() file: health-platform-v1/HealthPlatformSample/app/src/main/java/com/example/healthplatformsample/presentation/components/SessionButtonColumn.kt start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 93 unit: override fun onData() file: health-services/MeasureData/app/src/main/java/com/example/measuredata/HealthServicesManager.kt start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: override fun getLifecycle() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseServiceConnection.kt start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: override fun onServiceDisconnected() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseServiceConnection.kt start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: suspend fun hasExerciseCapability() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: fun unbindService() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/ExerciseService.kt start line: 360 end line: 362 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: override fun onEnterAmbient() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/MainActivity.kt start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: override fun onExitAmbient() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/MainActivity.kt start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: override fun onUpdateAmbient() file: health-services/ExerciseSample/app/src/main/java/com/example/exercise/MainActivity.kt start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 0