326 Commits

Author SHA1 Message Date
9a48413ead added line for completness even tho it will never
be executed
2025-03-26 13:40:31 +01:00
0d8b81054d formatted code 2025-03-26 13:05:05 +01:00
fa3b7f82a1 comverted code to have instead of one comment,
have a list of them
2025-03-26 12:41:46 +01:00
4c6522ae63 removed useless code 2025-03-26 12:41:01 +01:00
77c5e2bec0 removed code pertaining to stats, now only relying
on cache
2025-03-26 09:05:49 +01:00
4c56a352e7 added default parameter to keep or not the "Was
still being processed" item from the backup (to delegate to the caller if he wants it)
2025-03-26 09:02:32 +01:00
d95e4ebdf8 fixed slight mistake 2025-03-23 13:55:24 +01:00
e685e62341 improved the lazy loading from cache even more 2025-03-23 13:26:23 +01:00
ad96cac750 covered newly discovered edge case 2025-03-23 11:15:44 +01:00
1aa42c32cd improved caching 2025-03-23 10:54:43 +01:00
2ba71d8523 renamed variable because its better 2025-03-23 09:58:30 +01:00
dc897ac375 first draft of using cache to resume progress 2025-03-23 09:52:43 +01:00
2481adc1bf added javalang to requriements 2025-03-23 09:27:59 +01:00
1a3714422d added try catch for unexepected exception 2025-03-23 09:27:38 +01:00
ee7704f1f0 finally extract the coverage (correctly? prolly) 2025-03-21 13:46:09 +01:00
b181f40cea put back the aggregate, because it seemed to work
better (at least with cdk/cdk it did)
2025-03-21 13:45:24 +01:00
db9779ceb7 removed useless comment 2025-03-21 13:45:18 +01:00
282f29520b since there are multiple jacoco.xml files
possible and it's too hard to understand which one
is the correct one for the class, I just log in
the coverages each one that have the fully
qualified class that is commented, it will then be
up to us to filter out what's needed
2025-03-21 13:44:58 +01:00
a0e17b62bb removed coverage from each file since now we have
the file pointed by the comment, moved the coverage to the metadata
2025-03-20 14:01:43 +01:00
adc62867ff added the feature of being able to only process
one repo through command line argument
2025-03-20 12:52:32 +01:00
07a3f4765f made reason_for_failure less verbose 2025-03-20 12:29:05 +01:00
d0e43146a2 added the yielding of for gradle 2025-03-20 11:51:44 +01:00
de556e816f removed unused import 2025-03-20 11:02:40 +01:00
cd24068d50 added comment path, to know what was the file in
the PR files that was commented
2025-03-20 10:52:16 +01:00
664765c202 if no 'jacoco.xml' file was found, throwing an error 2025-03-20 10:44:15 +01:00
2381e7b90d made better reason_for_failure 2025-03-20 10:44:04 +01:00
86763d6674 added still processing as reason for failure for
newly created entries, to not get confused when the program crashes, because empty implies successful, but not when the pogram crashes or get's interrupted
2025-03-20 10:42:55 +01:00
4b83a822a1 since i know have access to the file pointed by
the comment, I just check that one for tests
2025-03-20 10:20:34 +01:00
8081b4ff76 made postfix better 2025-03-20 10:13:35 +01:00
c5abfb457e made the parent of all exceptions an abstract class 2025-03-20 09:50:58 +01:00
1bd822af0b for maven (and prolly would work with gradle), now
yielding any file called 'jacoco.xml'
2025-03-20 09:50:27 +01:00
8d3a9f4f0d the aggregate report was not working 2025-03-20 09:50:13 +01:00
7567ce9baa fixed the issue (it seems like it at least) of not
being able to checkout the merge commit
2025-03-18 11:52:08 +01:00
ade00bdf53 instead of checking out the current branch
(main/master), i reset it hard (preshoting the jacoco injection)
2025-03-18 11:49:11 +01:00
dfbc6f5afa made code cleaner 2025-03-18 11:48:36 +01:00
6a857b2a9d made better reason for failure (to then count the
ones that are unsuccessfull)
2025-03-17 19:58:37 +01:00
5aa7054ea2 made better type annotations 2025-03-17 19:58:28 +01:00
119c6399d8 removed outdated import 2025-03-17 15:51:39 +01:00
5de0cf5888 checking the coverage of each file in the PR 2025-03-17 15:51:00 +01:00
04c66f0d8a parsgin the xml for coverage 2025-03-17 15:50:46 +01:00
211f9dde99 running the aggregate version of jacoco with
maven, hoping to get all the subprojects in one
file instead of having to grab an xml for each
single subproject
2025-03-17 15:49:16 +01:00
6ac3ffb8a1 fixed typo 2025-03-17 15:49:10 +01:00
0e0c73f9e0 raising an error for gradle because it's a mess
handling it rn
2025-03-17 15:48:50 +01:00
f2259cdc98 made the getting of the paths return a generator,
to go through each file there (prepping for gradle bs)
2025-03-17 15:48:15 +01:00
adaa1c7fd4 changed the structure of the entries 2025-03-17 15:45:19 +01:00
b91c9fe977 fixed typos 2025-03-17 15:39:01 +01:00
92c57b10b2 added the coverage to the file entries 2025-03-17 15:26:51 +01:00
3d9b386f22 changed the structure of the dataset 2025-03-17 15:26:45 +01:00
b2d7377d1f removed the from_json, because we don't use it 2025-03-17 15:26:27 +01:00
5e74c8738d made better postfix 2025-03-17 15:04:49 +01:00