|
1 | 1 | <?xml version="1.0" ?> |
2 | 2 | <SmellBaseline> |
3 | | - <ManuallySuppressedIssues></ManuallySuppressedIssues> |
| 3 | + <ManuallySuppressedIssues/> |
4 | 4 | <CurrentIssues> |
5 | | - <ID>FunctionNaming:Activity.kt$@Composable fun CheckFeatureLocked( skipCheck: Boolean )</ID> |
6 | | - <ID>FunctionNaming:BrightDisplayActivity.kt$BrightDisplayActivity$@Composable private fun ScreenContent(onChangeColorButtonPress: () -> Unit)</ID> |
7 | | - <ID>FunctionNaming:BrightDisplayScreen.kt$@Composable @MyDevices private fun BrightDisplayScreenPreview()</ID> |
8 | | - <ID>FunctionNaming:BrightDisplayScreen.kt$@Composable internal fun BrightDisplayScreen( backgroundColor: Int, contrastColor: Int, onChangeColorPress: () -> Unit, sleepTimer: @Composable () -> Unit )</ID> |
9 | | - <ID>FunctionNaming:MainActivity.kt$MainActivity$@Composable private fun AppLaunched( donateAlertDialogState: AlertDialogState = getDonateAlertDialogState(), rateStarsAlertDialogState: AlertDialogState = getRateStarsAlertDialogState(), )</ID> |
10 | | - <ID>FunctionNaming:MainActivity.kt$MainActivity$@Composable private fun SleepTimerRadioDialog( alertDialogState: AlertDialogState, onCustomValueSelected: () -> Unit )</ID> |
11 | | - <ID>FunctionNaming:MainScreen.kt$@Composable @MyDevices internal fun MainScreenPreview()</ID> |
12 | | - <ID>FunctionNaming:MainScreen.kt$@Composable internal fun BrightDisplayButton( onBrightDisplayPress: () -> Unit, )</ID> |
13 | | - <ID>FunctionNaming:MainScreen.kt$@Composable internal fun FlashlightButton( flashlightActive: Boolean, onFlashlightPress: () -> Unit, )</ID> |
14 | | - <ID>FunctionNaming:MainScreen.kt$@Composable internal fun MainScreen( flashlightButton: @Composable () -> Unit, brightDisplayButton: @Composable () -> Unit, sosButton: @Composable () -> Unit, stroboscopeButton: @Composable () -> Unit, slidersSection: @Composable () -> Unit, sleepTimer: @Composable () -> Unit, showMoreApps: Boolean, openSettings: () -> Unit, openAbout: () -> Unit, openSleepTimer: () -> Unit, moreAppsFromUs: () -> Unit, )</ID> |
15 | | - <ID>FunctionNaming:MainScreen.kt$@Composable internal fun MainScreenSlidersSection( showBrightnessBar: Boolean, brightnessBarValue: Float, onBrightnessBarValueChange: (Float) -> Unit, showStroboscopeBar: Boolean, stroboscopeBarValue: Float, onStroboscopeBarValueChange: (Float) -> Unit, )</ID> |
16 | | - <ID>FunctionNaming:MainScreen.kt$@Composable internal fun SosButton( sosActive: Boolean, onSosButtonPress: () -> Unit, )</ID> |
17 | | - <ID>FunctionNaming:MainScreen.kt$@Composable internal fun StroboscopeButton( stroboscopeActive: Boolean, onStroboscopeButtonPress: () -> Unit, )</ID> |
18 | | - <ID>FunctionNaming:MainScreen.kt$@Composable private fun SmallButton( painter: Painter, contentDescription: String, isActive: Boolean, onPress: () -> Unit )</ID> |
19 | | - <ID>FunctionNaming:SettingsScreen.kt$@Composable @MyDevices private fun SettingsScreenPreview()</ID> |
20 | | - <ID>FunctionNaming:SettingsScreen.kt$@Composable internal fun ColorCustomizationSettingsSection( customizeColors: () -> Unit, customizeWidgetColors: () -> Unit, )</ID> |
21 | | - <ID>FunctionNaming:SettingsScreen.kt$@Composable internal fun GeneralSettingsSection( showUseEnglish: Boolean, useEnglishChecked: Boolean, showDisplayLanguage: Boolean, displayLanguage: String, turnFlashlightOnStartupChecked: Boolean, forcePortraitModeChecked: Boolean, showBrightDisplayButtonChecked: Boolean, showSosButtonChecked: Boolean, showStroboscopeButtonChecked: Boolean, onUseEnglishPress: (Boolean) -> Unit, onSetupLanguagePress: () -> Unit, onTurnFlashlightOnStartupPress: (Boolean) -> Unit, onForcePortraitModePress: (Boolean) -> Unit, onShowBrightDisplayButtonPress: (Boolean) -> Unit, onShowSosButtonPress: (Boolean) -> Unit, onShowStroboscopeButtonPress: (Boolean) -> Unit, )</ID> |
22 | | - <ID>FunctionNaming:SettingsScreen.kt$@Composable internal fun SettingsScreen( colorCustomizationSection: @Composable () -> Unit, generalSection: @Composable () -> Unit, goBack: () -> Unit, )</ID> |
23 | | - <ID>FunctionNaming:SleepTimer.kt$@Composable @MyDevices internal fun SleepTimerPreview()</ID> |
24 | | - <ID>FunctionNaming:SleepTimer.kt$@Composable internal fun AnimatedSleepTimer( modifier: Modifier = Modifier, timerText: String, timerVisible: Boolean, onTimerClosePress: () -> Unit )</ID> |
25 | | - <ID>FunctionNaming:SleepTimer.kt$@Composable internal fun SleepTimer( modifier: Modifier = Modifier, timerText: String, onCloseClick: () -> Unit )</ID> |
26 | | - <ID>FunctionNaming:SleepTimerCustomAlertDialog.kt$@Composable @MyDevices private fun SleepTimerCustomAlertDialogPreview()</ID> |
27 | | - <ID>FunctionNaming:SleepTimerCustomAlertDialog.kt$@Composable fun SleepTimerCustomAlertDialog( alertDialogState: AlertDialogState, modifier: Modifier = Modifier, onConfirmClick: (seconds: Int) -> Unit, onCancelClick: (() -> Unit)? = null )</ID> |
28 | | - <ID>FunctionNaming:WidgetConfigureScreen.kt$@Composable @MyDevices private fun WidgetBrightDisplayConfigureScreenPreview()</ID> |
29 | | - <ID>FunctionNaming:WidgetConfigureScreen.kt$@Composable internal fun WidgetConfigureScreen( @DrawableRes widgetDrawable: Int, @ColorInt widgetColor: Int, widgetAlpha: Float, onSliderChanged: (Float) -> Unit, onColorPressed: () -> Unit, onSavePressed: () -> Unit )</ID> |
30 | | - <ID>LongMethod:MainActivity.kt$MainActivity$override fun onCreate(savedInstanceState: Bundle?)</ID> |
31 | | - <ID>LongMethod:SettingsActivity.kt$SettingsActivity$override fun onCreate(savedInstanceState: Bundle?)</ID> |
32 | | - <ID>LongMethod:SleepTimerCustomAlertDialog.kt$@Composable fun SleepTimerCustomAlertDialog( alertDialogState: AlertDialogState, modifier: Modifier = Modifier, onConfirmClick: (seconds: Int) -> Unit, onCancelClick: (() -> Unit)? = null )</ID> |
33 | | - <ID>LongParameterList:Activity.kt$( appNameId: Int, licenseMask: Long, versionName: String, faqItems: ArrayList<FAQItem>, showFAQBeforeMail: Boolean, getAppIconIDs: ArrayList<Int> = getAppIconIDs(), getAppLauncherName: String = launcherName() )</ID> |
34 | | - <ID>LongParameterList:MainScreen.kt$( flashlightButton: @Composable () -> Unit, brightDisplayButton: @Composable () -> Unit, sosButton: @Composable () -> Unit, stroboscopeButton: @Composable () -> Unit, slidersSection: @Composable () -> Unit, sleepTimer: @Composable () -> Unit, showMoreApps: Boolean, openSettings: () -> Unit, openAbout: () -> Unit, openSleepTimer: () -> Unit, moreAppsFromUs: () -> Unit, )</ID> |
35 | | - <ID>LongParameterList:MainScreen.kt$( showBrightnessBar: Boolean, brightnessBarValue: Float, onBrightnessBarValueChange: (Float) -> Unit, showStroboscopeBar: Boolean, stroboscopeBarValue: Float, onStroboscopeBarValueChange: (Float) -> Unit, )</ID> |
36 | | - <ID>LongParameterList:SettingsScreen.kt$( showUseEnglish: Boolean, useEnglishChecked: Boolean, showDisplayLanguage: Boolean, displayLanguage: String, turnFlashlightOnStartupChecked: Boolean, forcePortraitModeChecked: Boolean, showBrightDisplayButtonChecked: Boolean, showSosButtonChecked: Boolean, showStroboscopeButtonChecked: Boolean, onUseEnglishPress: (Boolean) -> Unit, onSetupLanguagePress: () -> Unit, onTurnFlashlightOnStartupPress: (Boolean) -> Unit, onForcePortraitModePress: (Boolean) -> Unit, onShowBrightDisplayButtonPress: (Boolean) -> Unit, onShowSosButtonPress: (Boolean) -> Unit, onShowStroboscopeButtonPress: (Boolean) -> Unit, )</ID> |
37 | | - <ID>LongParameterList:WidgetConfigureScreen.kt$( @DrawableRes widgetDrawable: Int, @ColorInt widgetColor: Int, widgetAlpha: Float, onSliderChanged: (Float) -> Unit, onColorPressed: () -> Unit, onSavePressed: () -> Unit )</ID> |
38 | | - <ID>MagicNumber:Config.kt$Config$1000</ID> |
39 | | - <ID>MagicNumber:Config.kt$Config$1000L</ID> |
| 5 | + <ID>ComposableParamOrder:SleepTimer.kt$AnimatedSleepTimer</ID> |
| 6 | + <ID>ComposableParamOrder:SleepTimer.kt$SleepTimer</ID> |
| 7 | + <ID>ComposableParamOrder:SleepTimerCustomAlertDialog.kt$SleepTimerCustomAlertDialog</ID> |
| 8 | + <ID>LambdaParameterEventTrailing:SleepTimer.kt$onCloseClick</ID> |
| 9 | + <ID>LambdaParameterEventTrailing:SleepTimer.kt$onTimerClosePress</ID> |
40 | 10 | <ID>MagicNumber:Config.kt$Config$30</ID> |
41 | 11 | <ID>MagicNumber:Config.kt$Config$60</ID> |
42 | 12 | <ID>MagicNumber:Context.kt$60</ID> |
43 | 13 | <ID>MagicNumber:MainActivity.kt$MainActivity$10</ID> |
44 | | - <ID>MagicNumber:MainActivity.kt$MainActivity$1000</ID> |
45 | 14 | <ID>MagicNumber:MainActivity.kt$MainActivity$30</ID> |
46 | 15 | <ID>MagicNumber:MainActivity.kt$MainActivity$3600</ID> |
47 | 16 | <ID>MagicNumber:MainActivity.kt$MainActivity$5</ID> |
48 | 17 | <ID>MagicNumber:MainActivity.kt$MainActivity$60</ID> |
49 | 18 | <ID>MagicNumber:MainActivity.kt$MainActivity.MainViewModel$0.5f</ID> |
50 | | - <ID>MagicNumber:MyCameraImpl.kt$MyCameraImpl$1000L</ID> |
51 | | - <ID>MagicNumber:SleepTimer.kt$SleepTimer$1000L</ID> |
52 | | - <ID>MagicNumber:SleepTimer.kt$SleepTimer.<no name provided>$1000</ID> |
53 | | - <ID>MagicNumber:SleepTimerCustomAlertDialog.kt$60</ID> |
54 | 19 | <ID>MagicNumber:WidgetConfigureViewModel.kt$WidgetConfigureViewModel$255f</ID> |
55 | 20 | <ID>MaxLineLength:BrightDisplayActivity.kt$BrightDisplayActivity$AnimatedSleepTimer(timerText = timerText, timerVisible = timerVisible, onTimerClosePress = ::stopSleepTimer)</ID> |
56 | 21 | <ID>MaxLineLength:BrightDisplayActivity.kt$BrightDisplayActivity$requestedOrientation = if (config.forcePortraitMode) ActivityInfo.SCREEN_ORIENTATION_PORTRAIT else ActivityInfo.SCREEN_ORIENTATION_SENSOR</ID> |
|
96 | 61 | <ID>MaxLineLength:WidgetConfigureViewModel.kt$WidgetConfigureViewModel$if</ID> |
97 | 62 | <ID>MaxLineLength:WidgetTorchConfigureActivity.kt$WidgetTorchConfigureActivity$viewModel.setWidgetId(intent.extras?.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID) ?: AppWidgetManager.INVALID_APPWIDGET_ID)</ID> |
98 | 63 | <ID>MemberNameEqualsClassName:SleepTimer.kt$SleepTimer$private var sleepTimer: CountDownTimer? = null</ID> |
| 64 | + <ID>MultipleEmitters:MainScreen.kt$MainScreenSlidersSection</ID> |
| 65 | + <ID>ParameterNaming:MainActivity.kt$MainActivity$onCustomValueSelected</ID> |
| 66 | + <ID>ParameterNaming:WidgetConfigureScreen.kt$onColorPressed</ID> |
| 67 | + <ID>ParameterNaming:WidgetConfigureScreen.kt$onSavePressed</ID> |
| 68 | + <ID>ParameterNaming:WidgetConfigureScreen.kt$onSliderChanged</ID> |
99 | 69 | <ID>ReturnCount:MyCameraImpl.kt$MyCameraImpl$fun toggleSOS(): Boolean</ID> |
100 | 70 | <ID>ReturnCount:MyCameraImpl.kt$MyCameraImpl$fun toggleStroboscope(): Boolean</ID> |
101 | 71 | <ID>SwallowedException:Activity.kt$e: Exception</ID> |
|
0 commit comments