|
84 | 84 | <ID>CyclomaticComplexMethod:ChannelDetailScreen.kt$@OptIn(ExperimentalMaterial3Api::class) @Composable private fun Content( channel: ChannelUi, blocktankOrders: List<IBtOrder> = emptyList(), cjitEntries: List<IcJitEntry> = emptyList(), txDetails: TxDetails? = null, isRefreshing: Boolean = false, onBack: () -> Unit = {}, onClose: () -> Unit = {}, onRefresh: () -> Unit = {}, onCopyText: (String) -> Unit = {}, onOpenUrl: (String) -> Unit = {}, onSupport: (Any) -> Unit = {}, onCloseConnection: () -> Unit = {}, )</ID> |
85 | 85 | <ID>CyclomaticComplexMethod:ConfirmMnemonicScreen.kt$@Composable fun ConfirmMnemonicScreen( uiState: BackupContract.UiState, onContinue: () -> Unit, onBack: () -> Unit, )</ID> |
86 | 86 | <ID>CyclomaticComplexMethod:ContentView.kt$@Composable fun ContentView( appViewModel: AppViewModel, walletViewModel: WalletViewModel, blocktankViewModel: BlocktankViewModel, currencyViewModel: CurrencyViewModel, activityListViewModel: ActivityListViewModel, transferViewModel: TransferViewModel, settingsViewModel: SettingsViewModel, backupsViewModel: BackupsViewModel, )</ID> |
87 | | - <ID>CyclomaticComplexMethod:CoreService.kt$ActivityService$suspend fun syncLdkNodePayments(payments: List<PaymentDetails>, forceUpdate: Boolean = false)</ID> |
| 87 | + <ID>CyclomaticComplexMethod:CoreService.kt$ActivityService$private suspend fun processOnchainPayment( kind: PaymentKind.Onchain, payment: PaymentDetails, forceUpdate: Boolean, )</ID> |
88 | 88 | <ID>CyclomaticComplexMethod:HealthRepo.kt$HealthRepo$private fun collectState()</ID> |
89 | 89 | <ID>CyclomaticComplexMethod:HomeScreen.kt$@Composable fun HomeScreen( mainUiState: MainUiState, drawerState: DrawerState, rootNavController: NavController, walletNavController: NavHostController, settingsViewModel: SettingsViewModel, walletViewModel: WalletViewModel, appViewModel: AppViewModel, activityListViewModel: ActivityListViewModel, homeViewModel: HomeViewModel = hiltViewModel(), )</ID> |
90 | 90 | <ID>CyclomaticComplexMethod:HomeScreen.kt$@OptIn(ExperimentalMaterial3Api::class, ExperimentalHazeMaterialsApi::class) @Composable private fun Content( mainUiState: MainUiState, homeUiState: HomeUiState, rootNavController: NavController, walletNavController: NavController, drawerState: DrawerState, hazeState: HazeState = rememberHazeState(), latestActivities: List<Activity>?, onClickProfile: () -> Unit = {}, onRefresh: () -> Unit = {}, onRemoveSuggestion: (Suggestion) -> Unit = {}, onClickSuggestion: (Suggestion) -> Unit = {}, onClickAddWidget: () -> Unit = {}, onClickEditWidgetList: () -> Unit = {}, onClickEditWidget: (WidgetType) -> Unit = {}, onClickDeleteWidget: (WidgetType) -> Unit = {}, onMoveWidget: (Int, Int) -> Unit = { _, _ -> }, onDismissEmptyState: () -> Unit = {}, onDismissHighBalanceSheet: () -> Unit = {}, onClickEmptyActivityRow: () -> Unit = {}, balances: BalanceState = LocalBalances.current, )</ID> |
|
121 | 121 | <ID>ForbiddenComment:BoostTransactionViewModel.kt$BoostTransactionUiState$// TODO: Implement dynamic time estimation</ID> |
122 | 122 | <ID>ForbiddenComment:ChannelStatusView.kt$// TODO: handle closed channels marking & detection</ID> |
123 | 123 | <ID>ForbiddenComment:ContentView.kt$// TODO: display as sheet</ID> |
124 | | - <ID>ForbiddenComment:CoreService.kt$ActivityService$// TODO: find address</ID> |
125 | | - <ID>ForbiddenComment:CoreService.kt$ActivityService$// TODO: get from linked order</ID> |
126 | | - <ID>ForbiddenComment:CoreService.kt$ActivityService$// TODO: get from somewhere</ID> |
127 | | - <ID>ForbiddenComment:CoreService.kt$ActivityService$// TODO: handle when paying for order</ID> |
128 | 124 | <ID>ForbiddenComment:Env.kt$Env$// TODO: remove this to load from BT API instead</ID> |
129 | 125 | <ID>ForbiddenComment:ExternalNodeViewModel.kt$ExternalNodeViewModel$// TODO: pass customFeeRate to ldk-node when supported</ID> |
130 | 126 | <ID>ForbiddenComment:LightningConnectionsViewModel.kt$LightningConnectionsViewModel$// TODO: sort channels to get consistent index; node.listChannels returns a list in random order</ID> |
|
181 | 177 | <ID>LongMethod:AppViewModel.kt$AppViewModel$private suspend fun proceedWithPayment()</ID> |
182 | 178 | <ID>LongMethod:ContentView.kt$private fun NavGraphBuilder.widgets( navController: NavHostController, settingsViewModel: SettingsViewModel, currencyViewModel: CurrencyViewModel, )</ID> |
183 | 179 | <ID>LongMethod:CoreService.kt$ActivityService$suspend fun generateRandomTestData(count: Int = 100)</ID> |
184 | | - <ID>LongMethod:CoreService.kt$ActivityService$suspend fun syncLdkNodePayments(payments: List<PaymentDetails>, forceUpdate: Boolean = false)</ID> |
185 | 180 | <ID>LongMethod:LightningRepo.kt$LightningRepo$suspend fun start( walletIndex: Int = 0, timeout: Duration? = null, shouldRetry: Boolean = true, eventHandler: NodeEventHandler? = null, customServer: ElectrumServer? = null, customRgsServerUrl: String? = null, ): Result<Unit></ID> |
186 | 181 | <ID>LongMethod:LightningService.kt$LightningService$private fun logEvent(event: Event)</ID> |
187 | 182 | <ID>LongMethod:MainActivity.kt$MainActivity$override fun onCreate(savedInstanceState: Bundle?)</ID> |
|
203 | 198 | <ID>LongParameterList:TransferViewModel.kt$TransferViewModel$( @ApplicationContext private val context: Context, private val lightningRepo: LightningRepo, private val blocktankRepo: BlocktankRepo, private val walletRepo: WalletRepo, private val currencyRepo: CurrencyRepo, private val settingsStore: SettingsStore, private val cacheStore: CacheStore, )</ID> |
204 | 199 | <ID>LongParameterList:WalletRepo.kt$WalletRepo$( @BgDispatcher private val bgDispatcher: CoroutineDispatcher, private val db: AppDb, private val keychain: Keychain, private val coreService: CoreService, private val settingsStore: SettingsStore, private val addressChecker: AddressChecker, private val lightningRepo: LightningRepo, private val cacheStore: CacheStore, )</ID> |
205 | 200 | <ID>LongParameterList:WidgetsRepo.kt$WidgetsRepo$( @BgDispatcher private val bgDispatcher: CoroutineDispatcher, private val newsService: NewsService, private val factsService: FactsService, private val blocksService: BlocksService, private val weatherService: WeatherService, private val priceService: PriceService, private val widgetsStore: WidgetsStore, private val settingsStore: SettingsStore, )</ID> |
206 | | - <ID>LoopWithTooManyJumpStatements:CoreService.kt$ActivityService$for</ID> |
207 | 201 | <ID>LoopWithTooManyJumpStatements:MonetaryVisualTransformation.kt$MonetaryVisualTransformation.<no name provided>$for</ID> |
208 | 202 | <ID>LoopWithTooManyJumpStatements:TransferViewModel.kt$TransferViewModel$while</ID> |
209 | 203 | <ID>MagicNumber:ActivityDetailScreen.kt$40</ID> |
|
620 | 614 | <ID>TooGenericExceptionCaught:ChannelOrdersScreen.kt$e: Throwable</ID> |
621 | 615 | <ID>TooGenericExceptionCaught:ContentView.kt$e: Throwable</ID> |
622 | 616 | <ID>TooGenericExceptionCaught:CoreService.kt$ActivityService$e: Exception</ID> |
623 | | - <ID>TooGenericExceptionCaught:CoreService.kt$ActivityService$e: Throwable</ID> |
624 | 617 | <ID>TooGenericExceptionCaught:CoreService.kt$CoreService$e: Exception</ID> |
625 | 618 | <ID>TooGenericExceptionCaught:Crypto.kt$Crypto$e: Exception</ID> |
626 | 619 | <ID>TooGenericExceptionCaught:CurrencyRepo.kt$CurrencyRepo$e: Exception</ID> |
|
0 commit comments