noseglasses / elf_diff

A tool to compare ELF binaries
GNU General Public License v3.0
171 stars 21 forks source link

feat: Add statistics text file output plugin" #108

Closed noseglasses closed 7 months ago

noseglasses commented 7 months ago

This changeset adds a plugin that only outputs the statistics of the elf comparison as a text file.

codecov[bot] commented 7 months ago

Codecov Report

Merging #108 (476f2bc) into master (d226f90) will increase coverage by 0.13%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/noseglasses/elf_diff/pull/108/graphs/tree.svg?width=650&height=150&src=pr&token=4A71C5ZYM9&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)](https://app.codecov.io/gh/noseglasses/elf_diff/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) ```diff @@ Coverage Diff @@ ## master #108 +/- ## ========================================== + Coverage 90.76% 90.90% +0.13% ========================================== Files 39 39 Lines 2653 2671 +18 Branches 349 352 +3 ========================================== + Hits 2408 2428 +20 + Misses 155 153 -2 Partials 90 90 ``` | [Files](https://app.codecov.io/gh/noseglasses/elf_diff/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/elf\_diff/\_\_main\_\_.py](https://app.codecov.io/gh/noseglasses/elf_diff/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2VsZl9kaWZmL19fbWFpbl9fLnB5) | `80.76% <100.00%> (+0.24%)` | :arrow_up: | | [src/elf\_diff/default\_plugins.py](https://app.codecov.io/gh/noseglasses/elf_diff/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2VsZl9kaWZmL2RlZmF1bHRfcGx1Z2lucy5weQ==) | `87.05% <100.00%> (+0.47%)` | :arrow_up: | | [src/elf\_diff/plugins/export/txt/plugin.py](https://app.codecov.io/gh/noseglasses/elf_diff/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2VsZl9kaWZmL3BsdWdpbnMvZXhwb3J0L3R4dC9wbHVnaW4ucHk=) | `100.00% <100.00%> (ø)` | | | [src/elf\_diff/settings.py](https://app.codecov.io/gh/noseglasses/elf_diff/pull/108?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2VsZl9kaWZmL3NldHRpbmdzLnB5) | `90.00% <100.00%> (+0.04%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/noseglasses/elf_diff/pull/108/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)