hayabusa
hayabusa copied to clipboard
Enhancement: raise code coverage percentage
Now the code coverage percentage is 68%. We would like to raise it to at least 80% if possible.
I am currently working on subcommand support for clap. I' ll respond when that is done.
Ok, great! No hurry. Thanks so much!
subtask (cover rate) Now Rate( 956ffbca674cb0323e08296cb833ca9dda948b26 73.84%)
- [x] raise code coverage percentage in timeline(#857)
- timeline\metrics.rs(0.00% → 23.83%)
- timeline\timelines.rs(0.00% → 11.89%)
- [x] raise code coverage percentage in debug(#860)
- debug\checkpoint_process_timer.rs (0.00% -> 100%)
- [ ] raise code coverage percentage in detection(#862)
- detections\configs.rs(44.22% → 54.61%)
- detections\detection.rs(38.57%→57.98%)
- detections\message.rs(90.33% →91.08%)
- detections\pivot.rs(97.75% → 97.42%)
- detections\utils.rs(79.14%→80.54%)
- detections\rule\aggregation_parser.rs(95.92% → 95.90%)
- detections\rule\condition_parser.rs(96.28% → 96.35%)
- detections\rule\count.rs(93.38% → 93.52%)
- detections\rule\matchers.rs(96.33% → 96.60%)
- detections\rule\mod.rs(94.25% → 94.15%)
- detections\rule\selectionnodes.rs(90.06% → 90.53%)
- [x] raise code coverage percentage in options (#863 )
- options\htmlreport.rs(56.38% -> 100%)
- options\level_tuning.rs(93.21% -> 94,47%)
- options\profile.rs(83.08% -> 84.96%)
- options\update.rs(25.61% -> 53.06%)
- [x] raise code coverage percentage in other(#864)
- afterfact.rs(32.30% -> 37.96%)
- filter.rs(76.36% → 77.78%)
- lib.rs(100.00%)
- main.rs (7.00% → 27.43%)
- yaml.rs(83.99% → 83.84%)
- [ ] raise code coverage percentage in search(#993)
- search.rs(0.00%)
Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover Branches Missed Branches Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
afterfact.rs 496 421 15.12% 41 31 24.39% 1523 1031 32.30% 0 0 -
debug\checkpoint_process_timer.rs 11 11 0.00% 4 4 0.00% 26 26 0.00% 0 0 -
detections\configs.rs 363 219 39.67% 144 103 28.47% 744 415 44.22% 0 0 -
detections\detection.rs 279 197 29.39% 62 33 46.77% 1024 629 38.57% 0 0 -
detections\message.rs 148 24 83.78% 47 6 87.23% 548 53 90.33% 0 0 -
detections\pivot.rs 66 6 90.91% 19 2 89.47% 311 7 97.75% 0 0 -
detections\rule\aggregation_parser.rs 182 16 91.21% 36 3 91.67% 319 13 95.92% 0 0 -
detections\rule\condition_parser.rs 349 41 88.25% 107 3 97.20% 1209 45 96.28% 0 0 -
detections\rule\count.rs 245 55 77.55% 84 5 94.05% 1480 98 93.38% 0 0 -
detections\rule\matchers.rs 385 32 91.69% 141 1 99.29% 1609 59 96.33% 0 0 -
detections\rule\mod.rs 157 20 87.26% 52 4 92.31% 818 47 94.25% 0 0 -
detections\rule\selectionnodes.rs 125 17 86.40% 56 6 89.29% 483 48 90.06% 0 0 -
detections\utils.rs 262 71 72.90% 52 8 84.62% 556 116 79.14% 0 0 -
filter.rs 22 10 54.55% 7 3 57.14% 55 13 76.36% 0 0 -
lib.rs 1 0 100.00% 1 0 100.00% 1 0 100.00% 0 0 -
main.rs 388 356 8.25% 43 34 20.93% 1114 1036 7.00% 0 0 -
options\htmlreport.rs 38 15 60.53% 11 5 54.55% 149 65 56.38% 08% 0 0 -
options\level_tuning.rs 76 12 84.21% 11 0 100.00% 162 11 93.21% 0 0 -
options\profile.rs 202 66 67.33% 25 3 88.00% 520 88 83.08% 0 0 -
options\update.rs 123 113 8.13% 11 7 36.36% 246 183 25.61% 0 0 -
timeline\metrics.rs 76 76 0.00% 15 15 0.00% 201 201 0.00% 0 0 -
timeline\timelines.rs 99 99 0.00% 12 12 0.00% 228 228 0.00% 0 0 -
yaml.rs 194 56 71.13% 40 3 92.50% 506 81 83.99% 0 0 -
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 4287 1933 54.91% 1021 291 71.50% 13832 4493 67.52% 0 0 -