ranger-ross / yakman

Basic, storage agnostic config manager.
5 stars 1 forks source link

cov test #358

Closed ranger-ross closed 6 months ago

github-actions[bot] commented 6 months ago

badge

Code Coverage Summary

Filename                                                             Stmts    Miss  Cover    Missing
-----------------------------------------------------------------  -------  ------  -------  ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/model/mod.rs                                                        20      19  5.00%    161-266
src/model/request.rs                                                     7       7  0.00%    52-61
src/adapters/google_cloud_storage/google_cloud_storage_adapter.rs      338     338  0.00%    34-723
src/auth/oauth_service.rs                                               95      95  0.00%    50-279
src/auth/token.rs                                                       48      43  10.42%   61-110, 126, 130-192
src/services/id.rs                                                      15       0  100.00%
src/services/kv_storage_service.rs                                     746     528  29.22%   82-83, 131, 134, 158, 172-185, 196, 224, 234, 253-317, 328, 341-350, 379-380, 387-388, 395, 412-909, 920-927, 942, 995, 1002, 1036, 1055, 1059, 1064, 1070-1074, 1082, 1099, 1111-1116, 1124-1153, 1166-1183, 1190, 1216-1366, 1381-1542, 1573-1587
src/services/password.rs                                                28       8  71.43%   21, 47-62
src/services/snapshot.rs                                                62      62  0.00%    14-140
src/error/mod.rs                                                        76      54  28.95%   25-27, 37-41, 71, 82-86, 95, 114-404
src/adapters/in_memory/in_memory_adapter.rs                            242      85  64.88%   101-127, 141-178, 197-221, 264-305, 339-348, 360-381, 499-508, 523-528
src/api/api_keys.rs                                                     37       5  86.49%   28, 68, 72, 79, 112
src/api/auth.rs                                                        121     115  4.96%    42-196, 219-378
src/api/configs.rs                                                      76      29  61.84%   64, 75-80, 100, 117-119, 124, 134-136, 148-175
src/api/data.rs                                                         44      44  0.00%    13-92
src/api/instances.rs                                                   121     121  0.00%    16-268
src/api/labels.rs                                                       20       7  65.00%   37, 48-57
src/api/lifecycle.rs                                                     5       5  0.00%    19-34
src/api/mod.rs                                                          45      43  4.44%    115-171
src/api/projects.rs                                                    107      31  71.03%   31, 68, 88, 110, 117, 127-133, 170-172, 178, 193, 212-214, 237-238, 246-263
src/api/revisions.rs                                                    98      98  0.00%    17-222
src/api/teams.rs                                                        55      35  36.36%   24-28, 43-49, 70, 74, 79-85, 104, 108, 113-146
src/api/users.rs                                                        32      32  0.00%    21-103
src/main.rs                                                             52      52  0.00%    38-126
src/middleware/mod.rs                                                   27      24  11.11%   34-107
src/middleware/roles.rs                                                 83      65  21.69%   34, 39-44, 55-60, 77-78, 87-209
src/middleware/token.rs                                                 10       0  100.00%
src/notifications/discord.rs                                            30      30  0.00%    15-164
src/notifications/mod.rs                                                 8       8  0.00%    50-58
src/notifications/slack.rs                                              35      35  0.00%    15-195
src/settings/mod.rs                                                     26      26  0.00%    1-52
src/adapters/errors.rs                                                  12      12  0.00%    15-51
src/adapters/local_file/local_file_adapter.rs                          360     360  0.00%    27-701
src/adapters/aws_s3/aws_s3_adapter.rs                                  366     366  0.00%    26-743
src/adapters/redis/redis_adapter.rs                                    260     260  0.00%    32-581
TOTAL                                                                 3707    3042  17.94%

Diff against main

Filename                     Stmts    Miss  Cover
-------------------------  -------  ------  --------
src/auth/oauth_service.rs       +6      +6  +100.00%
TOTAL                           +6      +6  -0.03%

Results for commit: 09b77fdb1b3fa8c864624001e046d7a1aedfa4b5

Minimum allowed coverage is 0%

:recycle: This comment has been updated with latest results