|
|
@@ -7,22 +7,22 @@
|
|
|
|
|
|
| 指标 | 数值 |
|
|
|
| --- | --- |
|
|
|
-| 控制器总数 | 387 |
|
|
|
-| handler 方法总数 | 2108 |
|
|
|
-| handler 方法已覆盖 | 632 (30.0%) |
|
|
|
+| 控制器总数 | 388 |
|
|
|
+| handler 方法总数 | 2111 |
|
|
|
+| handler 方法已覆盖 | 633 (30.0%) |
|
|
|
| 单元-全覆盖(handler 方法) | 54 |
|
|
|
| 单元-部分覆盖(handler 方法) | 215 |
|
|
|
-| 单元-未覆盖(handler 方法) | 117 |
|
|
|
+| 单元-未覆盖(handler 方法) | 118 |
|
|
|
| 单元-无handler 方法 | 1 |
|
|
|
-| 测试文件数 | 647 |
|
|
|
-| @Test 方法总数 | 5493 |
|
|
|
+| 测试文件数 | 651 |
|
|
|
+| @Test 方法总数 | 5507 |
|
|
|
| 含跳过/假设项(test 级 partial) | 4 |
|
|
|
|
|
|
## 二、未覆盖控制器(发现「缺口」· 非发明)
|
|
|
|
|
|
> 以下控制器在当前测试源中**没有任何handler 方法被命中**。这是真实扫描得到的覆盖缺口。
|
|
|
|
|
|
-共 117 个:
|
|
|
+共 118 个:
|
|
|
|
|
|
- `OrchestrationController`(`cfc-backend/src/main/java/com/etotem/cfc/controller/OrchestrationController.java`,15 方法)
|
|
|
- `KeyPersonController`(`cfc-backend/src/main/java/com/etotem/cfc/controller/KeyPersonController.java`,14 方法)
|
|
|
@@ -84,7 +84,7 @@
|
|
|
- `FamilyAttributeController`(`cfc-backend/src/main/java/com/etotem/cfc/controller/admin/FamilyAttributeController.java`,3 方法)
|
|
|
- `FamilyButlerSelectController`(`cfc-backend/src/main/java/com/etotem/cfc/controller/butler/FamilyButlerSelectController.java`,3 方法)
|
|
|
- `GuideRecordController`(`cfc-backend/src/main/java/com/etotem/cfc/controller/guide/GuideRecordController.java`,3 方法)
|
|
|
-- …(其余 57 个见完整扫描)
|
|
|
+- …(其余 58 个见完整扫描)
|
|
|
|
|
|
## 三、部分覆盖控制器(已做一部分测试)
|
|
|
|
|
|
@@ -116,7 +116,7 @@
|
|
|
- `CommissionController`:覆盖 3/13,未覆盖方法:team、stats、teamList、funnel、teamConsumption、myReferrer、teamTree、teamGrowthCurve、teamAllMembersConsumptionCurve、teamL1ConsumptionCurve
|
|
|
- `GrowthRecordController`:覆盖 4/13,未覆盖方法:getRecordList、getChildRecords、getRecordDetail、deleteRecord、syncExternalResult、createFromUpload、createSupplement、checkDuplicate、getSupplements
|
|
|
- `AdminCouponController`:覆盖 1/12,未覆盖方法:PreAuthorize、PreAuthorize、PreAuthorize、PreAuthorize、PreAuthorize、PreAuthorize、PreAuthorize、PreAuthorize、giftTransfers、PreAuthorize
|
|
|
-- `StatsController`:覆盖 5/12,未覆盖方法:getDashboardSummary、getRevenueStats、getMembershipStats、childOverview、familySummary、getTrafficAnalytics、recordProductView
|
|
|
+- `StatsController`:覆盖 6/12,未覆盖方法:getRevenueStats、getMembershipStats、childOverview、familySummary、getTrafficAnalytics、recordProductView
|
|
|
- `SupplySystemController`:覆盖 2/12,未覆盖方法:create、update、toggleStatus、listAll、getMySystem、getMyTeams、memberList、addMember、removeMember、changeRole
|
|
|
- `WishController`:覆盖 11/12,未覆盖方法:priceAlias
|
|
|
- `BadgeController`:覆盖 2/11,未覆盖方法:getAllBadges、createBadge、updateBadge、deleteBadge、grantBadge、getMemberBadges、toggleFavorite、getMemberStats、getFamilyRanking
|
|
|
@@ -425,7 +425,7 @@
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/OrderReceiptTimeoutContractTest.java` | com | 13 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ParseMonitorContractTest.java` | com | 13 | 0 | 0 | ParseMonitorController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/PersonalLayerDualAssertionTest.java` | com | 13 | 4 | 0 | — | — |
|
|
|
-| `cfc-backend/src/test/java/com/etotem/cfc/unit/PrivacySettingConfigContractTest.java` | com | 13 | 0 | 0 | — | — |
|
|
|
+| `cfc-backend/src/test/java/com/etotem/cfc/unit/PrivacySettingConfigContractTest.java` | com | 13 | 0 | 0 | PrivacySettingController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/controller/ScG03LoginMethodContractTest.java` | com | 13 | 1 | 4 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/SupplierNutritionSupplyContractTest.java` | com | 13 | 1 | 4 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/TaskTemplatePackageContractTest.java` | com | 13 | 4 | 11 | TaskTemplatePackageController | — |
|
|
|
@@ -785,6 +785,7 @@
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/OrderWebhookNotifyTest.java` | com | 5 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ProductUpdateClearTest.java` | com | 5 | 0 | 0 | ProductController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/integration/service/RelationshipQuestionnaireServiceTest.java` | com | 5 | 0 | 0 | RelationshipQuestionnaireController | — |
|
|
|
+| `cfc-backend/src/test/java/com/etotem/cfc/unit/RepeatTaskGeneratorPassThroughTest.java` | com | 5 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ReportParserAdminContractTest.java` | com | 5 | 6 | 2 | ReportParserController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/controller/admin/ReportParserAdminControllerTest.java` | com | 5 | 0 | 1 | ReportParserAdminController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ReportUploadParseContractTest.java` | com | 5 | 1 | 1 | — | — |
|
|
|
@@ -816,6 +817,7 @@
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/GuideFamilyQueryServiceTest.java` | com | 4 | 4 | 0 | GuideController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/integration/GuideModuleIntegrationTest.java` | com | 4 | 0 | 0 | GuideController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/HealthKitNotificationTest.java` | com | 4 | 0 | 0 | HealthKitNotificationController | — |
|
|
|
+| `cfc-backend/src/test/java/com/etotem/cfc/controller/HealthPlanControllerPlanTasksPermissionTest.java` | com | 4 | 0 | 0 | HealthPlanController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/controller/HealthReportControllerListPaginationTest.java` | com | 4 | 9 | 1 | HealthReportController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/HuaweiSubscriberSignatureTest.java` | com | 4 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/IndicatorMappingServiceTest.java` | com | 4 | 0 | 0 | IndicatorController | — |
|
|
|
@@ -831,6 +833,7 @@
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ProductRecommendationFilterTest.java` | com | 4 | 1 | 0 | ProductController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/ProfitPoolOrderContractRedTest.java` | com | 4 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/impl/PurchaseServiceImplRenewalTest.java` | com | 4 | 5 | 0 | PurchaseController | — |
|
|
|
+| `cfc-backend/src/test/java/com/etotem/cfc/task/RepeatTaskGeneratorTest.java` | com | 4 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/controller/ReportParserTypeLinksTest.java` | com | 4 | 7 | 1 | ReportParserController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/integration/service/ServiceTypeServiceTest.java` | com | 4 | 0 | 0 | ServiceTypeController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ShopOrderQueryRefundContractTest.java` | com | 4 | 0 | 0 | — | — |
|
|
|
@@ -886,13 +889,13 @@
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/PaymentServiceORDRoutingTest.java` | com | 3 | 1 | 0 | PaymentController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ProductDTOMappingTest.java` | com | 3 | 0 | 0 | ProductController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/ProductOrderServiceUpdateExpressFieldTest.java` | com | 3 | 0 | 0 | ProductController | — |
|
|
|
-| `cfc-backend/src/test/java/com/etotem/cfc/unit/RepeatTaskGeneratorPassThroughTest.java` | com | 3 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ReportConfirmRefreshFiveDimContractTest.java` | com | 3 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ReportParserProviderConnectContractTest.java` | com | 3 | 3 | 1 | ReportParserController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ReviewCenterSummaryTest.java` | com | 3 | 0 | 0 | ReviewController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ServiceRoleFilterTest.java` | com | 3 | 0 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/integration/controller/SpecialPriceControllerTest.java` | com | 3 | 8 | 1 | SpecialPriceController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/TaskProgressUpdateTest.java` | com | 3 | 0 | 0 | TaskController | — |
|
|
|
+| `cfc-backend/src/test/java/com/etotem/cfc/unit/TaskReminderMergeTest.java` | com | 3 | 0 | 0 | TaskController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/Tier1980Test.java` | com | 3 | 1 | 0 | — | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/UserServiceOpenidIsolationTest.java` | com | 3 | 3 | 0 | UserController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/AdminChildrenFamilyFilterContractTest.java` | com | 2 | 3 | 1 | AdminController | — |
|
|
|
@@ -950,6 +953,7 @@
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/RecommendationSearchProductVisibilityTest.java` | com | 1 | 0 | 0 | RecommendController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/ReportSummaryServiceCompletenessTest.java` | com | 1 | 0 | 0 | ReportSummaryController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/unit/ResourceBeanNameCollisionGuardTest.java` | com | 1 | 3 | 0 | — | — |
|
|
|
+| `cfc-backend/src/test/java/com/etotem/cfc/controller/stats/StatsControllerDashboardContractTest.java` | com | 1 | 18 | 1 | StatsController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/config/TasksFamilyCreatedIndexMigrationTest.java` | com | 1 | 0 | 0 | TaskController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/controller/guide/TeacherMessageControllerMyTest.java` | com | 1 | 1 | 0 | TeacherController | — |
|
|
|
| `cfc-backend/src/test/java/com/etotem/cfc/service/AiCoachHandoffContract.java` | com | 0 | 0 | 0 | — | — |
|