write all unit-test #70
GitHub Actions / Coverage
succeeded
Jun 5, 2024 in 0s
Code Coverage 54.62 %
This run completed at 06/05/2024 10:36:07
Details
Coverage Report: JaCoCo
- YasMini
Outcome | Value |
---|---|
Code Coverage % | 54.62% |
✔️ Number of Lines Covered | 449 |
❌ Number of Lines Missed | 373 |
Total Number of Lines | 822 |
Details:
com/learning/yasminishop/role
✔️ RoleService.java
All Lines Covered!
✔️ RoleController.java
All Lines Covered!
❌ RoleRepository.java
com/learning/yasminishop/auth
✔️ AuthenticationController.java
All Lines Covered!
❌ AuthenticationService.java
Lines Missed:
com/learning/yasminishop/storage
❌ StorageController.java
Lines Missed:
- Line #26
.result(storageResponse)
- Line #27
.build();
❌ StorageRepository.java
❌ StorageService.java
Lines Missed:
- Line #50
} catch (IOException e) {
com/learning/yasminishop/cart
✔️ CartItemController.java
All Lines Covered!
❌ CartItemService.java
Lines Missed:
❌ CartItemRepository.java
com/learning/yasminishop/permission
✔️ PermissionService.java
All Lines Covered!
✔️ PermissionController.java
All Lines Covered!
❌ PermissionRepository.java
com/learning/yasminishop/notification
❌ NotificationService.java
Lines Missed:
- Line #42
return;
- Line #48
}
- Line #55
} catch (IOException e) {
- Line #58
}
- Line #60
}
- Line #72
.toList();
- Line #78
}
❌ NotificationController.java
Lines Missed:
- Line #32
.result(notifications)
- Line #33
.build();
❌ NotificationRepository.java
com/learning/yasminishop/order
❌ OrderSpecifications.java
Lines Missed:
❌ OrderService.java
Lines Missed:
- Line #59
.map(CartItem::getId)
- Line #67
}
- Line #86
.toList();
- Line #101
.build();
- Line #135
}
- Line #143
Set<OrderItem> orderItems = cartItemsToOrder
- Line #145
.map(item -> {
- Line #183
}
❌ OrderController.java
Lines Missed:
- Line #34
.result(orderResponse)
- Line #35
.build();
- Line #43
.result(orderResponse)
- Line #44
.build();
- Line #52
.result(orderResponse)
- Line #53
.build();
- Line #63
orderFilter.getOrderBy());
- Line #68
.result(orders)
- Line #69
.build();
- Line #77
.result(orderResponse)
- Line #78
.build();
- Line #86
.message("Order status updated successfully")
- Line #87
.build();
❌ OrderRepository.java
com/learning/yasminishop/yasminiai
❌ YasMiniAIService.java
Lines Missed:
- Line #45
} catch (Exception e) {
- Line #59
} catch (Exception e) {
- Line #70
ContentMaker.fromMultiModalData(
- Line #79
.map(String::toLowerCase)
- Line #86
}
- Line #90
.toList();
- Line #92
} catch (Exception e) {
❌ YasMiniAIController.java
Lines Missed:
- Line #26
.result(response)
- Line #27
.build();
- Line #35
.result(chatResponse)
- Line #36
.build();
- Line #44
.result(response)
- Line #45
.build();
com/learning/yasminishop
com/learning/yasminishop/rating
❌ RatingService.java
Lines Missed:
- Line #72
.mapToInt(Rating::getStar)
- Line #78
}
- Line #93
.build();
❌ RatingController.java
Lines Missed:
- Line #30
.result(ratingResponse)
- Line #31
.build();
- Line #50
.result(ratings)
- Line #51
.build();
❌ RatingRepository.java
com/learning/yasminishop/token
❌ InvalidTokenRepository.java
com/learning/yasminishop/category
❌ CategoryRepository.java
❌ CategorySpecifications.java
Lines Missed:
❌ CategoryService.java
Lines Missed:
❌ CategoryController.java
Lines Missed:
- Line #91
.result(categoryResponse)
- Line #92
.build();
com/learning/yasminishop/demo
❌ DemoController.java
Lines Missed:
- Line #20
.result("Hello World!. Active profile: " + profile)
- Line #21
.build();
com/learning/yasminishop/user
❌ UserRepository.java
❌ UserController.java
Lines Missed:
- Line #60
.result(userResponse)
- Line #61
.build();
❌ UserService.java
Lines Missed:
- Line #54
.build();
com/learning/yasminishop/statistic
❌ StatisticController.java
Lines Missed:
- Line #29
.result(statistics)
- Line #30
.build();
❌ StatisticService.java
Lines Missed:
com/learning/yasminishop/product
❌ ProductSpecifications.java
Lines Missed:
❌ ProductService.java
Lines Missed:
- Line #68
.build();
❌ ProductController.java
Lines Missed:
- Line #83
productFilter.getOrderBy());
- Line #88
.result(products)
- Line #89
.build();
- Line #108
.message("Products availability toggled successfully")
- Line #109
.build();
❌ ProductRepository.java
Loading