<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/61039>61039</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Skip files that have 0 line coverage in exported json files
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          WeizhongX
      </td>
    </tr>
</table>

<pre>
    When run 'llvm-cov export --format=text', the exported json file could easily get to several hundred megabytes for a big project. Is it possible we have another command line argument for this purpose? (We currently have --line-coverage-gt for functions.)

Background: We are trying to do some big data analysis to see how each individual test contributes to the test coverage. Every such test will only touch a subset of the system, so many of the source files will have 0 line coverage for a test. Skip the zero covered files can greatly reduce the size of the exported file and speed up the processing.

If such suggestion is accepted, can you pls advise what command line we should use? I can work on an implementation for this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsU81u4zgMfhrlQsTwyE2THHzobDdAz3voXmWJsTWVRUOkknGffiE5nd0F5mIDksiP_H4Msx8jYq8O39XhdWeyTJT6d_SfE8Xx791Abu3fJ4yQcgSljyHc5r2lG-DPhZLAfn-lNBtR3avgT1H6qPQfIBM-HqCDH0wRrj4gWMrBARr2YYURBYSA8YbJBJhydAkdzDiaYRVkuFICA4MfYUn0A6008MbgBRZi9kNAuCNM5oZgIsmECSzNs4kOgo8IJo15xii1j0yeYclpIUbVXUDp0zuCzSlhlLBubfb7Uli2w2RG3I9b7TVHK54iN0qfVfuq2pft-93YjzFRjk51L_BeIBEkrT6OZTNHwDRj3cAZMWCiCSt73tZGmOgOaOwEPjp_8y6bAIIsYClK8kMuLAhVNh_n22QN_HnDtAJnO203dx8CUAwrCJVDA5wHRgG61nJeWXAu0jDBbOL664Jysljl4a1LpaLdOPwCfGhRoBr468MvtfYTE21P0D06WBNhTGgKpwldtrih-E_8Qvzli2qJIhcviA7y1nRJZJHZx7H5L9dv121bzuOIXOQAz2CsxUXQlcUK9EoZlsBg3M0zwn0y8n9T3BF4qi7MmxHeat2d0gdQBBPBz0vA4htTQb7M0-xc37lzdzY77L89H4-H7qyf9G7qO6st4qlrW3c8tq7Fg7mezieDzrnToTvvfK9b3bVaH3XXHrVuNA5Pz_akn7U5HLqrU08tzsaHpoSroTTuPHPG_vlb2513wQwYuCZU64h3qJdK6xLY1NdADnlk9dQGz8L_dhEvAfsq16aOFD5-q6-Pv8kr73IK_SSysOpelL4ofRm9THloLM1KXwrS47d_ZFTpS52Plb7U-f8JAAD__4M9hfM">