Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configured Detekt for Static Analysis & Code Quality #1071

Merged
merged 7 commits into from
Aug 27, 2024
Merged

Conversation

niyajali
Copy link
Member

niyajali and others added 2 commits August 27, 2024 04:01
This commit replaces the dependency guard check with detekt in the build workflow.
Copy link
Contributor

Combined test coverage report

Overall Project 27.66% -4.14%
Files changed 27.79%

Module Coverage
expenses 73.47% -0.16% 🍏
domain 71.77% 🍏
customer 70.53% -0.27% 🍏
addonitem 70.27% -0.37% 🍏
charges 69.21% -0.09% 🍏
category 68.1% -0.66% 🍏
employee 65.63% -2.44% 🍏
address 64.26% -1.14% 🍏
employee_payment 42.82% -1.79% 🍏
employee_absent 40.11% -0.69% 🍏
product 39% -0.05% 🍏
market 34% -1.79% 🍏
order 25.61% -3.5%
ui 0.45% -13.88%
app 0% -0.09%
common 0% -4.39%
data 0% -2.44%
designsystem 0% -5.67%
account 0% -16.17%
cart 0% -4.45%
cart_selected 0% -1.62%
cartorder 0% -3.99%
chart 0% -3.38%
home 0% -2.45%
printer 0% -1.33%
printer_info 0% -37.72%
profile 0% 🍏
reports 0% 🍏
settings 0% 🍏
Files
Module File Coverage
expenses ExpensesSettingsViewModel.kt 92.62% 🍏
ExpensesViewModel.kt 90% -8.08%
AddEditExpenseScreen.kt 86% -0.12% 🍏
ExpensesData.kt 82.81% 🍏
TotalExpenses.kt 73.39% -0.83% 🍏
ExpensesScreen.kt 72.84% 🍏
ExpensesSettingsScreen.kt 66.75% -0.12% 🍏
ExpensesExportScreen.kt 60.63% 🍏
ExpensesImportScreen.kt 57.26% 🍏
domain ValidateCustomerPhoneUseCase.kt 100% 🍏
ValidateUnitNameUseCase.kt 100% 🍏
ValidateMarketItemNameUseCase.kt 100% 🍏
ValidateEmployeeNameUseCase.kt 100% 🍏
ValidateEmployeePhoneUseCase.kt 100% 🍏
ValidateItemNameUseCase.kt 100% 🍏
ValidateChargesNameUseCase.kt 100% 🍏
customer CustomerSettingsViewModel.kt 92.62% 🍏
CustomerViewModel.kt 91.33% 🍏
AddEditCustomerScreen.kt 83.92% -0.91% 🍏
CustomerScreen.kt 74.02% 🍏
CustomerRecentOrders.kt 73.71% -0.74% 🍏
CustomerDetailsCard.kt 72.17% -1.38% 🍏
CustomerExportScreen.kt 68.32% 🍏
CustomerDetailsScreen.kt 67.33% -0.18% 🍏
CustomerSettingsScreen.kt 66.75% -0.87% 🍏
CustomerData.kt 64.17% 🍏
CustomerImportScreen.kt 57.75% 🍏
addonitem AddOnSettingsScreen.kt 87.93% -0.15% 🍏
AddOnViewModel.kt 86.23% 🍏
AddEditAddOnItemScreen.kt 85.18% -0.72% 🍏
AddOnItemScreen.kt 74.76% 🍏
AddOnExportScreen.kt 62.6% 🍏
AddOnItemData.kt 60.11% -3.53%
AddOnImportScreen.kt 57.5% 🍏
charges ChargesViewModel.kt 89.42% -2.65% 🍏
AddEditChargesScreen.kt 82.55% -0.12% 🍏
ChargesScreen.kt 74.35% 🍏
ChargesExportScreen.kt 68.01% 🍏
ChargesSettingsScreen.kt 66.75% -0.12% 🍏
ChargesImportScreen.kt 57.44% 🍏
ChargesData.kt 54.43% -0.34% 🍏
category CategorySettingsViewModel.kt 92.62% 🍏
CategoryViewModel.kt 87.56% -2.59% 🍏
AddEditCategoryScreen.kt 80.25% -1.45% 🍏
CategoryScreen.kt 72.95% 🍏
ExportCategoryScreen.kt 68.17% -0.35% 🍏
CategorySettingsScreen.kt 66.75% -0.87% 🍏
ImportCategoryScreen.kt 57.46% 🍏
CategoryCard.kt 55.86% -3.37%
employee EmployeeSettingsViewModel.kt 92.62% 🍏
AddEditEmployeeScreen.kt 84.63% -0.14% 🍏
EmployeeDetails.kt 75.64% -1.1% 🍏
EmployeeScreen.kt 74.64% -0.27% 🍏
SalaryEstimationCard.kt 72.81% -0.52%
EmployeeSettingsScreen.kt 66.75% -0.87% 🍏
EmployeeData.kt 63.04% 🍏
EmployeeExportScreen.kt 59.9% 🍏
EmployeeDetailsScreen.kt 59.46% -0.94% 🍏
EmployeeImportScreen.kt 57.64% 🍏
SalaryDateDropdown.kt 52.62% 🍏
AbsentDetails.kt 33.65% -46.12%
PaymentDetails.kt 25.83% -2.67% 🍏
address AddressViewModel.kt 88.27% 🍏
AddEditAddressScreen.kt 85.85% -0.82% 🍏
AddressScreen.kt 74.85% 🍏
AddressSettingsScreen.kt 72.69% -0.82% 🍏
AddressDetailsCard.kt 70.03% -2.26% 🍏
RecentOrders.kt 69.79% -1.49% 🍏
AddressExportScreen.kt 62.84% -0.38% 🍏
AddressData.kt 59.64% -5.23%
AddressImportScreen.kt 57.78% 🍏
AddressDetailsScreen.kt 51.12% -3.87% 🍏
GroupedOrders.kt 0% -4.09%
employee_payment PaymentSettingsViewModel.kt 93.81% -0.17% 🍏
PaymentViewModel.kt 86.1% 🍏
PaymentsList.kt 47.87% -1.14%
AddEditPaymentScreen.kt 45.26% -3.9%
EmployeePaymentList.kt 43.78% -0.71% 🍏
PaymentSettingsScreen.kt 43.41% -3.38%
PaymentImportScreen.kt 41.31% -2.68% 🍏
PaymentExportScreen.kt 35.78% -2.35% 🍏
PaymentScreen.kt 28.75% -0.7%
employee_absent AbsentViewModel.kt 89.08% 🍏
AbsentSettingsViewModel.kt 85.69% -0.15% 🍏
EmployeeWithAbsentDates.kt 66.78% -0.15% 🍏
AddEditAbsentScreen.kt 44.51% -0.94% 🍏
AbsentSettingsScreen.kt 43.41% -4.08%
AbsentImportScreen.kt 29.02% -0.88%
AbsentScreen.kt 27.34% -0.45%
AbsentExportScreen.kt 25.25% -0.64%
product ProductViewModel.kt 91.03% 🍏
ProductSettingsViewModel.kt 88.08% 🍏
ProductTotalOrdersDetails.kt 78.17% 🍏
ProductOrderDetails.kt 77.1% 🍏
ProductCard.kt 71.2% 🍏
AddEditProductScreen.kt 49.03% 🍏
ProductDetails.kt 44.86% 🍏
ProductSettingScreen.kt 39.91% 🍏
ImportProductScreen.kt 37.61% 🍏
ProductDetailsScreen.kt 35.36% 🍏
ExportProductScreen.kt 34.37% 🍏
IncreaseProductPriceScreen.kt 33.53% 🍏
DecreaseProductPriceScreen.kt 33.15% 🍏
ProductScreen.kt 27.43% -0.44% 🍏
ShareableProductOrderDetails.kt 0% 🍏
ProductDetailsViewModel.kt 0% 🍏
market MarketListItemHeader.kt 89.58% 🍏
MarketListItemCard.kt 71.84% -0.37% 🍏
MarketItemCard.kt 71.84% -0.33% 🍏
MarketItemWithQuantityCard.kt 70.03% -0.57% 🍏
MarketTypeCard.kt 68.79% -0.38% 🍏
MeasureUnitItem.kt 68.73% -0.75% 🍏
AddEditMarketListScreen.kt 52.78% -0.81% 🍏
AddEditMarketTypeScreen.kt 52.77% -1.7% 🍏
AddEditMeasureUnitScreen.kt 47.08% -0.49% 🍏
AddEditMarketItemScreen.kt 44.58% -1.65% 🍏
MeasureUnitSettingsScreen.kt 40.67% -3.58%
MarketTypeSettingsScreen.kt 40.67% -3.58%
ImportMarketItemScreen.kt 37.17% -2.83% 🍏
ImportMarketTypeScreen.kt 37.05% -2.81% 🍏
ImportMeasureUnitScreen.kt 35.21% -2.95% 🍏
MarketListItemsScreen.kt 33.72% -0.26% 🍏
ExportMarketItemScreen.kt 33.43% -2.42% 🍏
MarketListItemScreen.kt 33.17% -0.8% 🍏
ExportMarketTypeScreen.kt 32.85% -2.37% 🍏
MarketItemSettingsScreen.kt 31.69% -0.5%
ExportMeasureUnitScreen.kt 30.43% -1.87% 🍏
MarketItemScreen.kt 29.63% -0.54% 🍏
MeasureUnitScreen.kt 26.88% -0.5% 🍏
MarketListScreen.kt 26.81% -1.22%
MarketTypeScreen.kt 26.65% -0.48% 🍏
ShareableMarketList.kt 13.07% -19.4%
MarketItemViewModel.kt 0% -5.36%
MarketTypeViewModel.kt 0% -28.98%
MarketItemSettingsViewModel.kt 0% -3.52%
MarketListItemViewModel.kt 0% -2.6%
MarketListItemsViewModel.kt 0% -2.54%
MarketListViewModel.kt 0% -3.16%
order OrderedItemData.kt 83.65% -2.36% 🍏
OrderedItem.kt 82.21% 🍏
OrderedItemLayout.kt 80.83% -0.29% 🍏
TotalDeliveryReportCard.kt 71.35% -0.72% 🍏
DeliveryPartnerCard.kt 69.34% -1.16% 🍏
DeliveryPartnerDetailsScreen.kt 34.58% -0.47% 🍏
DeliveryPartnerScreen.kt 24.9% -0.25% 🍏
OrderScreen.kt 21.15% -1.67%
ShareableDeliveryPartner.kt 0% -2.04%
CustomerDetails.kt 0% -22.74%
AddressDetails.kt 0% -24.42%
CartOrderDetails.kt 0% -15.29%
OrderDetailsScreen.kt 0% -3.68%
OrderDetailsViewModel.kt 0% -6.05%
ui TextWithIcon.kt 0% -16.18%
CartItemProductDetailsSection.kt 0% -2.31%
StandardBottomSheetScaffold.kt 0% -18.55%
CartDeliveryPartners.kt 0% -16.23%
TextWithCount.kt 0% -25.21%
SelectedOrderBox.kt 0% -22.01%
LoadingIndicator.kt 0% -37.18%
ReportBox.kt 0% -17.73%
StandardElevatedCard.kt 0% -22.11%
StandardFAB.kt 0% -20.84%
StandardChip.kt 0% -11.7%
ScaffoldNavActions.kt 0% -42.9%
IncDecBox.kt 0% -17.03%
SettingsCard.kt 0% -0.39%
StandardTextField.kt 0% -16.79%
ImageCard.kt 0% -2.02%
StandardExpandable.kt 0% -19.49%
MultiSelector.kt 0% -10.81%
ItemNotAvialable.kt 0% -1.98%
CategoriesData.kt 0% -5.19%
CartItemTotalPriceSection.kt 0% -1.95%
ItemNotFound.kt 0% -15.29%
ShareableOrderDetails.kt 0% -2.5%
PoposDrawer.kt 0% -21.54%
StandardScaffoldWithOutDrawer.kt 0% -13.45%
TotalOrderDetailsCard.kt 0% -10.9%
IconBox.kt 0% -19.65%
PhoneNoCountBox.kt 0% -19.28%
CartItemDetails.kt 0% -5.97%
StandardCheckboxWithText.kt 0% -31.93%
PoposPrimaryScaffold.kt 0% -8.11%
GridTexts.kt 0% -25.87%
AnimatedBottomNavigationBar.kt 0% -25.74%
HomeScreenScaffold.kt 0% -11.63%
StandardSearchBar.kt 0% -10.59%
CartChargesItem.kt 0% -0.54%
CustomPermissionDialog.kt 0% -29.53%
ExportScaffold.kt 0% -15.63%
OrderTabs.kt 0% -23.64%
ScrollToTop.kt 0% -31.41%
CircularBox.kt 0% -3.71%
Capturable.kt 0% -2.55%
Presets.kt 0% -93.5%
AnalyticsExtensions.kt 0% -3.53%
EmployeeListPreviewParameter.kt 0% 🍏
MarketItemAndQuantityWithDifferentTypePreviewParameter.kt 0% -1.48%
ShareViewModel.kt 0% 🍏
app MainActivityViewModel.kt 0% 🍏
PoposNavHost.kt 0% -0.15%
PoposApp.kt 0% -2.17%
common FileUtils.kt 0% -6.07%
ImageStorageManager.kt 0% -93.02%
ContextExt.kt 0% -1.19%
Extensions.kt 0% -1.49%
data BackupRepositoryImpl.kt 0% -3.36%
ExpenseRepositoryImpl.kt 0% -16.43%
MarketListRepositoryImpl.kt 0% -4.21%
CustomerRepositoryImpl.kt 0% -10.23%
QRCodeScannerImpl.kt 0% -7.78%
HomeRepositoryImpl.kt 0% -3.47%
ChargesRepositoryImpl.kt 0% -11.36%
CategoryRepositoryImpl.kt 0% -10.64%
EmployeeRepositoryImpl.kt 0% -2.98%
CartOrderRepositoryImpl.kt 0% -4.09%
OrderRepositoryImpl.kt 0% -3.38%
designsystem StandardChips.kt 0% -13.19%
PoposCenterAlignedTopAppBar.kt 0% -32.73%
PoposLargeTopAppBar.kt 0% -28.18%
PoposBackground.kt 0% 🍏
Button.kt 0% -1.42%
PoposIcons.kt 0% 🍏
TintTheme.kt 0% 🍏
GradientColors.kt 0% 🍏
Theme.kt 0% 🍏
BackgroundTheme.kt 0% 🍏
account BasicInfo.kt 0% -25.91%
LoginInfo.kt 0% -26.82%
LoginScreen.kt 0% -13.19%
RegisterViewModel.kt 0% -0.22%
RegisterScreen.kt 0% -10.93%
RegistrationScaffold.kt 0% -36.74%
RegistrationAppBar.kt 0% -26.07%
RegistrationResultScreen.kt 0% -15.22%
cart CartScreen.kt 0% -1.94%
CartViewModel.kt 0% -1.02%
CartScreenContent.kt 0% -4.42%
CartFooterPlaceOrder.kt 0% -2.4%
CartItems.kt 0% -2.62%
CartItemOrderDetailsSection.kt 0% -6.33%
Tabs.kt 0% -32.74%
DineOutScreen.kt 0% -0.97%
DineInScreen.kt 0% -2.16%
cart_selected SelectOrderScreen.kt 0% -1.87%
cartorder CartOrderScreen.kt 0% -1.28%
AddEditCartOrderScreen.kt 0% -9.28%
CartOrderData.kt 0% -2.59%
CartOrderScaffoldNavActions.kt 0% -0.78%
chart GroupedHorizontalBarChart.kt 0% -1.29%
GroupedBarData.kt 0% -38.3%
AxisConfig.kt 0% -3.19%
StackedBarChart.kt 0% -5.47%
GroupedBarChart.kt 0% -9.57%
BarChart.kt 0% -2.7%
home HomeScreenProducts.kt 0% -3.01%
HomeScreen.kt 0% -2.53%
printer BluetoothPrinter.kt 0% -1.38%
printer_info PrinterInfoScreen.kt 0% -68.05%
UpdatePrinterInfoScreen.kt 0% -20.42%
profile ChangePasswordScreen.kt 0% 🍏
ProfileScreen.kt 0% 🍏
RestaurantDetails.kt 0% 🍏
AccountInfoBox.kt 0% 🍏
RestaurantCard.kt 0% 🍏
AccountInfo.kt 0% 🍏
UpdateProfileViewModel.kt 0% 🍏
UpdateProfileScreen.kt 0% 🍏
reports ReportsViewModel.kt 0% 🍏
ViewLastSevenDaysReports.kt 0% 🍏
ReportScreen.kt 0% 🍏
OrderTypeDropdown.kt 0% 🍏
ProductWiseReport.kt 0% 🍏
ReportBarData.kt 0% 🍏
TotalReports.kt 0% 🍏
ExpenseWiseReport.kt 0% 🍏
CustomerWiseReport.kt 0% 🍏
AddressWiseReport.kt 0% 🍏
CategoryWiseReport.kt 0% 🍏
settings AppSettingsDialog.kt 0% 🍏

niyajali and others added 4 commits August 27, 2024 04:34
This commit updates the `ScaffoldNavActions` and `ExportScaffold` components to use `Row` instead of
 `Column` for layout.

The `tests_and_lint` workflow is also updated to depend on the `screenshot_tests` workflow. This ensures that screenshot tests are run before tests and lint checks.
This commit introduces a new workflow that automatically fixes formatting issues if the detekt verification fails.

The workflow uses the
 `spotlessApply` gradle task to apply formatting changes and then pushes the changes using the `git-auto-commit-action`.
This commit updates the CI workflow to use spotless for fixing formatting issues if verification fails.

The previous workflow
 used detekt for this purpose, but spotless is a more appropriate tool for this task.
Copy link
Contributor

Combined test coverage report

Overall Project 27.67% -4.14%
Files changed 27.65%

Module Coverage
expenses 73.56% -0.16% 🍏
domain 71.77% 🍏
customer 70.53% -0.27% 🍏
addonitem 70.27% -0.37% 🍏
charges 69.21% -0.09% 🍏
category 68.08% -0.66% 🍏
employee 65.63% -2.44% 🍏
address 64.24% -1.14% 🍏
employee_payment 42.82% -1.79% 🍏
employee_absent 40.11% -0.69% 🍏
product 39% 🍏
market 34% -1.79% 🍏
order 25.61% -3.5%
ui 0.45% -13.88%
app 0% -0.1%
common 0% -4.39%
data 0% -2.44%
designsystem 0% -5.67%
account 0% -16.17%
cart 0% -4.45%
cart_selected 0% -1.62%
cartorder 0% -3.99%
chart 0% -3.38%
home 0% -2.45%
printer 0% -1.33%
printer_info 0% -37.72%
profile 0% 🍏
reports 0% 🍏
settings 0% 🍏
Files
Module File Coverage
expenses ExpensesSettingsViewModel.kt 92.62% 🍏
ExpensesViewModel.kt 90% -8.08%
AddEditExpenseScreen.kt 86% -0.12% 🍏
ExpensesData.kt 82.81% 🍏
TotalExpenses.kt 73.39% -0.83% 🍏
ExpensesScreen.kt 73.27% 🍏
ExpensesSettingsScreen.kt 66.75% -0.12% 🍏
ExpensesExportScreen.kt 60.63% 🍏
ExpensesImportScreen.kt 57.26% 🍏
domain ValidateCustomerPhoneUseCase.kt 100% 🍏
ValidateUnitNameUseCase.kt 100% 🍏
ValidateMarketItemNameUseCase.kt 100% 🍏
ValidateEmployeeNameUseCase.kt 100% 🍏
ValidateEmployeePhoneUseCase.kt 100% 🍏
ValidateItemNameUseCase.kt 100% 🍏
ValidateChargesNameUseCase.kt 100% 🍏
customer CustomerSettingsViewModel.kt 92.62% 🍏
CustomerViewModel.kt 91.33% 🍏
AddEditCustomerScreen.kt 83.92% -0.91% 🍏
CustomerScreen.kt 74.02% 🍏
CustomerRecentOrders.kt 73.71% -0.74% 🍏
CustomerDetailsCard.kt 72.17% -1.38% 🍏
CustomerExportScreen.kt 68.32% 🍏
CustomerDetailsScreen.kt 67.33% -0.18% 🍏
CustomerSettingsScreen.kt 66.75% -0.87% 🍏
CustomerData.kt 64.17% 🍏
CustomerImportScreen.kt 57.75% 🍏
addonitem AddOnSettingsScreen.kt 87.93% -0.15% 🍏
AddOnViewModel.kt 86.23% 🍏
AddEditAddOnItemScreen.kt 85.18% -0.72% 🍏
AddOnItemScreen.kt 74.76% 🍏
AddOnExportScreen.kt 62.6% 🍏
AddOnItemData.kt 60.11% -3.53%
AddOnImportScreen.kt 57.5% 🍏
charges ChargesViewModel.kt 89.42% -2.65% 🍏
AddEditChargesScreen.kt 82.55% -0.12% 🍏
ChargesScreen.kt 74.35% 🍏
ChargesExportScreen.kt 68.01% 🍏
ChargesSettingsScreen.kt 66.75% -0.12% 🍏
ChargesImportScreen.kt 57.44% 🍏
ChargesData.kt 54.43% -0.34% 🍏
category CategorySettingsViewModel.kt 92.62% 🍏
CategoryViewModel.kt 87.56% -2.59% 🍏
AddEditCategoryScreen.kt 80.25% -1.45% 🍏
CategoryScreen.kt 72.87% 🍏
ExportCategoryScreen.kt 68.17% -0.35% 🍏
CategorySettingsScreen.kt 66.75% -0.87% 🍏
ImportCategoryScreen.kt 57.46% 🍏
CategoryCard.kt 55.86% -3.37%
employee EmployeeSettingsViewModel.kt 92.62% 🍏
AddEditEmployeeScreen.kt 84.63% -0.14% 🍏
EmployeeDetails.kt 75.64% -1.1% 🍏
EmployeeScreen.kt 74.64% -0.27% 🍏
SalaryEstimationCard.kt 72.81% -0.52%
EmployeeSettingsScreen.kt 66.75% -0.87% 🍏
EmployeeData.kt 63.04% 🍏
EmployeeExportScreen.kt 59.9% 🍏
EmployeeDetailsScreen.kt 59.46% -0.94% 🍏
EmployeeImportScreen.kt 57.64% 🍏
SalaryDateDropdown.kt 52.62% 🍏
AbsentDetails.kt 33.65% -46.12%
PaymentDetails.kt 25.83% -2.67% 🍏
address AddressViewModel.kt 88.27% 🍏
AddEditAddressScreen.kt 85.85% -0.82% 🍏
AddressScreen.kt 74.77% 🍏
AddressSettingsScreen.kt 72.69% -0.82% 🍏
AddressDetailsCard.kt 70.03% -2.26% 🍏
RecentOrders.kt 69.79% -1.49% 🍏
AddressExportScreen.kt 62.84% -0.38% 🍏
AddressData.kt 59.64% -5.23%
AddressImportScreen.kt 57.78% 🍏
AddressDetailsScreen.kt 51.12% -3.87% 🍏
GroupedOrders.kt 0% -4.09%
employee_payment PaymentSettingsViewModel.kt 93.81% -0.17% 🍏
PaymentViewModel.kt 86.1% 🍏
PaymentsList.kt 47.87% -1.14%
AddEditPaymentScreen.kt 45.26% -3.9%
EmployeePaymentList.kt 43.78% -0.71% 🍏
PaymentSettingsScreen.kt 43.41% -3.38%
PaymentImportScreen.kt 41.31% -2.68% 🍏
PaymentExportScreen.kt 35.78% -2.35% 🍏
PaymentScreen.kt 28.75% -0.7%
employee_absent AbsentViewModel.kt 89.08% 🍏
AbsentSettingsViewModel.kt 85.69% -0.15% 🍏
EmployeeWithAbsentDates.kt 66.78% -0.15% 🍏
AddEditAbsentScreen.kt 44.51% -0.94% 🍏
AbsentSettingsScreen.kt 43.41% -4.08%
AbsentImportScreen.kt 29.02% -0.88%
AbsentScreen.kt 27.34% -0.45%
AbsentExportScreen.kt 25.25% -0.64%
product ProductViewModel.kt 91.03% 🍏
ProductSettingsViewModel.kt 88.08% 🍏
ProductTotalOrdersDetails.kt 78.17% 🍏
ProductOrderDetails.kt 77.1% 🍏
ProductCard.kt 71.2% 🍏
AddEditProductScreen.kt 49.03% 🍏
ProductDetails.kt 44.86% 🍏
ProductSettingScreen.kt 39.91% 🍏
ImportProductScreen.kt 37.61% 🍏
ProductDetailsScreen.kt 35.36% 🍏
ExportProductScreen.kt 34.37% 🍏
IncreaseProductPriceScreen.kt 33.53% 🍏
DecreaseProductPriceScreen.kt 33.15% 🍏
ProductScreen.kt 27.43% 🍏
ShareableProductOrderDetails.kt 0% 🍏
ProductDetailsViewModel.kt 0% 🍏
market MarketListItemHeader.kt 89.58% 🍏
MarketListItemCard.kt 71.84% -0.37% 🍏
MarketItemCard.kt 71.84% -0.33% 🍏
MarketItemWithQuantityCard.kt 70.03% -0.57% 🍏
MarketTypeCard.kt 68.79% -0.38% 🍏
MeasureUnitItem.kt 68.73% -0.75% 🍏
AddEditMarketListScreen.kt 52.78% -0.81% 🍏
AddEditMarketTypeScreen.kt 52.77% -1.7% 🍏
AddEditMeasureUnitScreen.kt 47.08% -0.49% 🍏
AddEditMarketItemScreen.kt 44.58% -1.65% 🍏
MeasureUnitSettingsScreen.kt 40.67% -3.58%
MarketTypeSettingsScreen.kt 40.67% -3.58%
ImportMarketItemScreen.kt 37.17% -2.83% 🍏
ImportMarketTypeScreen.kt 37.05% -2.81% 🍏
ImportMeasureUnitScreen.kt 35.21% -2.95% 🍏
MarketListItemsScreen.kt 33.72% -0.26% 🍏
ExportMarketItemScreen.kt 33.43% -2.42% 🍏
MarketListItemScreen.kt 33.17% -0.8% 🍏
ExportMarketTypeScreen.kt 32.85% -2.37% 🍏
MarketItemSettingsScreen.kt 31.69% -0.5%
ExportMeasureUnitScreen.kt 30.43% -1.87% 🍏
MarketItemScreen.kt 29.63% -0.54% 🍏
MeasureUnitScreen.kt 26.88% -0.5% 🍏
MarketListScreen.kt 26.81% -1.22%
MarketTypeScreen.kt 26.65% -0.48% 🍏
ShareableMarketList.kt 13.07% -19.4%
MarketItemViewModel.kt 0% -5.36%
MarketTypeViewModel.kt 0% -28.98%
MarketItemSettingsViewModel.kt 0% -3.52%
MarketListItemViewModel.kt 0% -2.6%
MarketListItemsViewModel.kt 0% -2.54%
MarketListViewModel.kt 0% -3.16%
order OrderedItemData.kt 83.65% -2.36% 🍏
OrderedItem.kt 82.21% 🍏
OrderedItemLayout.kt 80.83% -0.29% 🍏
TotalDeliveryReportCard.kt 71.35% -0.72% 🍏
DeliveryPartnerCard.kt 69.34% -1.16% 🍏
DeliveryPartnerDetailsScreen.kt 34.58% -0.47% 🍏
DeliveryPartnerScreen.kt 24.9% -0.25% 🍏
OrderScreen.kt 21.15% -1.67%
ShareableDeliveryPartner.kt 0% -2.04%
CustomerDetails.kt 0% -22.74%
AddressDetails.kt 0% -24.42%
CartOrderDetails.kt 0% -15.29%
OrderDetailsScreen.kt 0% -3.68%
OrderDetailsViewModel.kt 0% -6.05%
ui TextWithIcon.kt 0% -16.18%
CartItemProductDetailsSection.kt 0% -2.31%
StandardBottomSheetScaffold.kt 0% -18.55%
CartDeliveryPartners.kt 0% -16.23%
TextWithCount.kt 0% -25.21%
SelectedOrderBox.kt 0% -22.01%
LoadingIndicator.kt 0% -37.18%
ReportBox.kt 0% -17.73%
StandardElevatedCard.kt 0% -22.11%
StandardFAB.kt 0% -20.84%
StandardChip.kt 0% -11.7%
ScaffoldNavActions.kt 0% -42.9%
IncDecBox.kt 0% -17.03%
SettingsCard.kt 0% -0.39%
StandardTextField.kt 0% -16.79%
ImageCard.kt 0% -2.02%
StandardExpandable.kt 0% -19.49%
MultiSelector.kt 0% -10.81%
ItemNotAvialable.kt 0% -1.98%
CategoriesData.kt 0% -5.19%
CartItemTotalPriceSection.kt 0% -1.95%
ItemNotFound.kt 0% -15.29%
ShareableOrderDetails.kt 0% -2.5%
PoposDrawer.kt 0% -21.54%
StandardScaffoldWithOutDrawer.kt 0% -13.45%
TotalOrderDetailsCard.kt 0% -10.9%
IconBox.kt 0% -19.65%
PhoneNoCountBox.kt 0% -19.28%
CartItemDetails.kt 0% -5.97%
StandardCheckboxWithText.kt 0% -31.93%
PoposPrimaryScaffold.kt 0% -8.11%
GridTexts.kt 0% -25.87%
AnimatedBottomNavigationBar.kt 0% -25.74%
HomeScreenScaffold.kt 0% -11.63%
StandardSearchBar.kt 0% -10.59%
CartChargesItem.kt 0% -0.54%
CustomPermissionDialog.kt 0% -29.53%
ExportScaffold.kt 0% -15.63%
OrderTabs.kt 0% -23.64%
ScrollToTop.kt 0% -31.41%
CircularBox.kt 0% -3.71%
Capturable.kt 0% -2.55%
Presets.kt 0% -93.5%
AnalyticsExtensions.kt 0% -3.53%
EmployeeListPreviewParameter.kt 0% 🍏
MarketItemAndQuantityWithDifferentTypePreviewParameter.kt 0% -1.48%
ShareViewModel.kt 0% 🍏
app MainActivityViewModel.kt 0% 🍏
PoposNavHost.kt 0% -0.15%
PoposApp.kt 0% -2.48%
common FileUtils.kt 0% -6.07%
ImageStorageManager.kt 0% -93.02%
ContextExt.kt 0% -1.19%
Extensions.kt 0% -1.49%
data BackupRepositoryImpl.kt 0% -3.36%
ExpenseRepositoryImpl.kt 0% -16.43%
MarketListRepositoryImpl.kt 0% -4.21%
CustomerRepositoryImpl.kt 0% -10.23%
QRCodeScannerImpl.kt 0% -7.78%
HomeRepositoryImpl.kt 0% -3.47%
ChargesRepositoryImpl.kt 0% -11.36%
CategoryRepositoryImpl.kt 0% -10.64%
EmployeeRepositoryImpl.kt 0% -2.98%
CartOrderRepositoryImpl.kt 0% -4.09%
OrderRepositoryImpl.kt 0% -3.38%
designsystem StandardChips.kt 0% -13.19%
PoposCenterAlignedTopAppBar.kt 0% -32.73%
PoposLargeTopAppBar.kt 0% -28.18%
PoposBackground.kt 0% 🍏
Button.kt 0% -1.42%
PoposIcons.kt 0% 🍏
TintTheme.kt 0% 🍏
GradientColors.kt 0% 🍏
Theme.kt 0% 🍏
BackgroundTheme.kt 0% 🍏
account BasicInfo.kt 0% -25.91%
LoginInfo.kt 0% -26.82%
LoginScreen.kt 0% -13.19%
RegisterViewModel.kt 0% -0.22%
RegisterScreen.kt 0% -10.93%
RegistrationScaffold.kt 0% -36.74%
RegistrationAppBar.kt 0% -26.07%
RegistrationResultScreen.kt 0% -15.22%
cart CartScreen.kt 0% -1.94%
CartViewModel.kt 0% -1.02%
CartScreenContent.kt 0% -4.42%
CartFooterPlaceOrder.kt 0% -2.4%
CartItems.kt 0% -2.62%
CartItemOrderDetailsSection.kt 0% -6.33%
Tabs.kt 0% -32.74%
DineOutScreen.kt 0% -0.97%
DineInScreen.kt 0% -2.16%
cart_selected SelectOrderScreen.kt 0% -1.87%
cartorder CartOrderScreen.kt 0% -1.28%
AddEditCartOrderScreen.kt 0% -9.28%
CartOrderData.kt 0% -2.59%
CartOrderScaffoldNavActions.kt 0% -0.78%
chart GroupedHorizontalBarChart.kt 0% -1.29%
GroupedBarData.kt 0% -38.3%
AxisConfig.kt 0% -3.19%
StackedBarChart.kt 0% -5.47%
GroupedBarChart.kt 0% -9.57%
BarChart.kt 0% -2.7%
home HomeScreenProducts.kt 0% -3.01%
HomeScreen.kt 0% -2.53%
printer BluetoothPrinter.kt 0% -1.38%
printer_info PrinterInfoScreen.kt 0% -68.05%
UpdatePrinterInfoScreen.kt 0% -20.42%
profile ChangePasswordScreen.kt 0% 🍏
ProfileScreen.kt 0% 🍏
RestaurantDetails.kt 0% 🍏
AccountInfoBox.kt 0% 🍏
RestaurantCard.kt 0% 🍏
AccountInfo.kt 0% 🍏
UpdateProfileViewModel.kt 0% 🍏
UpdateProfileScreen.kt 0% 🍏
reports ReportsViewModel.kt 0% 🍏
ViewLastSevenDaysReports.kt 0% 🍏
ReportScreen.kt 0% 🍏
OrderTypeDropdown.kt 0% 🍏
ProductWiseReport.kt 0% 🍏
ReportBarData.kt 0% 🍏
TotalReports.kt 0% 🍏
ExpenseWiseReport.kt 0% 🍏
CustomerWiseReport.kt 0% 🍏
AddressWiseReport.kt 0% 🍏
CategoryWiseReport.kt 0% 🍏
settings AppSettingsDialog.kt 0% 🍏

@niyajali niyajali merged commit 2d0b393 into main Aug 27, 2024
9 checks passed
@niyajali niyajali deleted the fix-detekt-errors branch August 27, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure Detekt for Static Analysis & Code Quality
1 participant