mozilla / active-data-recipes

A repository of various activedata queries and recipes
Mozilla Public License 2.0
8 stars 24 forks source link

fix raw_coverage to have complete file list, add file_counts for regu… #7

Closed jmaher closed 6 years ago

jmaher commented 6 years ago

…lar reporting

adr file_counts: ┌──────────────┬─────────────┬───────────────┐ │ Revision │ Total Files │ Total Covered │ ├──────────────┼─────────────┼───────────────┤ │ ed94dc665071 │ 90236 │ 231245 │ │ 41a66272bd11 │ 86661 │ 231245 │ │ 277e2ae05f74 │ 98077 │ 231245 │ │ cbebb4f65eea │ 88749 │ 231241 │ │ 6409f04e33d6 │ 93420 │ 231237 │ │ 2bdf6eed0f64 │ 84760 │ 231237 │ │ 05ae89bebb64 │ 83436 │ -1 │ │ 2203d23429f6 │ 97376 │ 231227 │ │ d16b52f5d195 │ 93991 │ 231227 │ │ bda35e3d8ce4 │ 87273 │ 231211 │ └──────────────┴─────────────┴───────────────┘

in addition, the code for querying all files covered and related suites accounts for large subdirs and will iterate to subdirs if needed- still sort of sloppy, but is a lot more accurate than we had prior to this PR

jmaher commented 6 years ago

@ahal can you review the python @klahnakoski can you review the .query files?

jmaher commented 6 years ago

@ahal I have made the changes you recommended and they look to be working- thanks for the suggestions- feel free to merge this in if you want