mbehr1 / adlt

Library and tools to handle automotive DLT (diagnostic log- and trace-) files in Rust.
7 stars 3 forks source link

feat: support regex for ecu, apid, ctid #105

Closed mbehr1 closed 12 months ago

mbehr1 commented 12 months ago

Add support for regex (non-utf8) for ecu, apid and ctid. Json filter format extended with: ecuIsRegex, apidIsRegex, ctidIsRegex. Autodetection based on regex special chars if ...isRegex is not provided. Dlt-Viewer filter format support for enableregexp_Appid, enableregexp_Context. Dlt-Viewer filter format does not support regex for ecu. No autodetection for ecu if imported as dlt-viewer filter (dlf) but if imported as json filter.

codecov[bot] commented 12 months ago

Codecov Report

Attention: 24 lines in your changes are missing coverage. Please review.

Comparison is base (8a62241) 82.30% compared to head (c60e2dd) 82.61%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #105 +/- ## ========================================== + Coverage 82.30% 82.61% +0.31% ========================================== Files 26 26 Lines 10092 10337 +245 ========================================== + Hits 8306 8540 +234 - Misses 1786 1797 +11 ``` | [Files](https://app.codecov.io/gh/mbehr1/adlt/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Behr) | Coverage Δ | | |---|---|---| | [src/filter/functions.rs](https://app.codecov.io/gh/mbehr1/adlt/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Behr#diff-c3JjL2ZpbHRlci9mdW5jdGlvbnMucnM=) | `98.31% <100.00%> (ø)` | | | [src/plugins/rewrite.rs](https://app.codecov.io/gh/mbehr1/adlt/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Behr#diff-c3JjL3BsdWdpbnMvcmV3cml0ZS5ycw==) | `88.54% <100.00%> (+0.45%)` | :arrow_up: | | [src/utils/mod.rs](https://app.codecov.io/gh/mbehr1/adlt/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Behr#diff-c3JjL3V0aWxzL21vZC5ycw==) | `94.66% <100.00%> (+0.35%)` | :arrow_up: | | [src/filter/filter\_impl.rs](https://app.codecov.io/gh/mbehr1/adlt/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Behr#diff-c3JjL2ZpbHRlci9maWx0ZXJfaW1wbC5ycw==) | `92.52% <90.69%> (-1.05%)` | :arrow_down: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/mbehr1/adlt/pull/105/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Behr)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.