<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/tools/llvm-cov/SourceCoverageViewText.cpp, branch users/meinersbur/flang_runtime_split-headers</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>llvm-cov: Introduce `--binary-counters` (#120841)</title>
<updated>2024-12-27T10:48:30+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2024-12-27T10:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=223521b13e7465bc177f43e22de526b777d6ff74'/>
<id>223521b13e7465bc177f43e22de526b777d6ff74</id>
<content type='text'>
In `llvm-cov show`, this option rounds counters (line, branch) to
`[1,0]` at rendering. This will be useful when the number of counts
doesn't interest but **Covered/uncoverd** does.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In `llvm-cov show`, this option rounds counters (line, branch) to
`[1,0]` at rendering. This will be useful when the number of counts
doesn't interest but **Covered/uncoverd** does.</pre>
</div>
</content>
</entry>
<entry>
<title>llvm-cov: Refactor SourceCoverageView::renderBranchView().</title>
<updated>2024-12-18T11:00:03+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2024-12-18T10:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a9df1f6cb0dcdd808abc25f7fa1555e9e0ec6a9f'/>
<id>a9df1f6cb0dcdd808abc25f7fa1555e9e0ec6a9f</id>
<content type='text'>
NFC except for calculating `Total`. I've replaced
`(uint64_t)+(uint64_t)` with `(double)+(double)`.

This is still inexact with large numbers `(1LL &lt;&lt; 53)` but will be expected to prevent possible overflow.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NFC except for calculating `Total`. I've replaced
`(uint64_t)+(uint64_t)` with `(double)+(double)`.

This is still inexact with large numbers `(1LL &lt;&lt; 53)` but will be expected to prevent possible overflow.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Coverage] Introduce "partial fold" on BranchRegion (#112694)</title>
<updated>2024-10-20T03:30:35+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2024-10-20T03:30:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4a011ac84fa16f7eed34c309bdac5591d9553da7'/>
<id>4a011ac84fa16f7eed34c309bdac5591d9553da7</id>
<content type='text'>
Currently both True/False counts were folded. It lost the information,
"It is True or False before folding." It prevented recalling branch
counts in merging template instantiations.

In `llvm-cov`, a folded branch is shown as:

- `[True: n, Folded]`
- `[Folded, False n]`

In the case If `n` is zero, a branch is reported as "uncovered". This is
distinguished from "folded" branch. When folded branches are merged,
`Folded` may be dissolved.

In the coverage map, either `Counter` is `Zero`. Currently both were
`Zero`.

Since "partial fold" has been introduced, either case in `switch` is
omitted as `Folded`.

Each `case:` in `switch` is reported as `[True: n, Folded]`, since
`False` count doesn't show meaningful value.

When `switch` doesn't have `default:`, `switch (Cond)` is reported as
`[Folded, False: n]`, since `True` count was just the sum of `case`(s).
`switch` with `default` can be considered as "the statement that doesn't
have any `False`(s)".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently both True/False counts were folded. It lost the information,
"It is True or False before folding." It prevented recalling branch
counts in merging template instantiations.

In `llvm-cov`, a folded branch is shown as:

- `[True: n, Folded]`
- `[Folded, False n]`

In the case If `n` is zero, a branch is reported as "uncovered". This is
distinguished from "folded" branch. When folded branches are merged,
`Folded` may be dissolved.

In the coverage map, either `Counter` is `Zero`. Currently both were
`Zero`.

Since "partial fold" has been introduced, either case in `switch` is
omitted as `Folded`.

Each `case:` in `switch` is reported as `[True: n, Folded]`, since
`False` count doesn't show meaningful value.

When `switch` doesn't have `default:`, `switch (Cond)` is reported as
`[Folded, False: n]`, since `True` count was just the sum of `case`(s).
`switch` with `default` can be considered as "the statement that doesn't
have any `False`(s)".</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Use std::optional::value_or (NFC) (#109890)</title>
<updated>2024-09-25T04:49:06+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-09-25T04:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=74d9f7ce80e8d729c18f12bde73bdd8ea750b369'/>
<id>74d9f7ce80e8d729c18f12bde73bdd8ea750b369</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-cov] Coverage report HTML UI to jump between uncovered parts of code (#95662)</title>
<updated>2024-06-17T19:30:50+00:00</updated>
<author>
<name>Hana Dusíková</name>
<email>hanicka@hanicka.net</email>
</author>
<published>2024-06-17T19:30:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=06aa078d68380bc775f0a903204fe330d50f4f1f'/>
<id>06aa078d68380bc775f0a903204fe330d50f4f1f</id>
<content type='text'>
I replaced "jump to first uncovered line" with UI buttons and keyboard
shortcut to jump between uncovered parts of code: lines (key L), branchs
(key B), regions (key R).

User can also jump in reverse direction with shift+key.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I replaced "jump to first uncovered line" with UI buttons and keyboard
shortcut to jump between uncovered parts of code: lines (key L), branchs
(key B), regions (key R).

User can also jump in reverse direction with shift+key.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-cov][CoverageView] minor fix/improvement to HTML and text coverage output (#80952)</title>
<updated>2024-02-17T05:24:31+00:00</updated>
<author>
<name>Wentao Zhang</name>
<email>35722712+whentojump@users.noreply.github.com</email>
</author>
<published>2024-02-17T05:24:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0bf4f82f661817c79bd538c82c99515837cf1cf8'/>
<id>0bf4f82f661817c79bd538c82c99515837cf1cf8</id>
<content type='text'>
1. add the missing condition for MC/DC in hasSubViews()
2. add style for selected line
3. remove name="Ln" attribute in the link within MC/DC views
4. remove color for \n
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. add the missing condition for MC/DC in hasSubViews()
2. add style for selected line
3. remove name="Ln" attribute in the link within MC/DC views
4. remove color for \n
</pre>
</div>
</content>
</entry>
<entry>
<title>Reland "[Coverage][llvm-cov] Enable MC/DC Support in LLVM Source-based Code Coverage (2/3)"</title>
<updated>2023-12-13T21:10:05+00:00</updated>
<author>
<name>Alan Phipps</name>
<email>a-phipps@ti.com</email>
</author>
<published>2023-12-13T20:13:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8ecbb0404d740d1ab173554e47cef39cd5e3ef8c'/>
<id>8ecbb0404d740d1ab173554e47cef39cd5e3ef8c</id>
<content type='text'>
Part 2 of 3. This includes the Visualization and Evaluation components.

Differential Revision: https://reviews.llvm.org/D138847
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part 2 of 3. This includes the Visualization and Evaluation components.

Differential Revision: https://reviews.llvm.org/D138847
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Coverage][llvm-cov] Enable MC/DC Support in LLVM Source-based Code Coverage (2/3)"</title>
<updated>2023-09-20T21:32:34+00:00</updated>
<author>
<name>Alan Phipps</name>
<email>a-phipps@ti.com</email>
</author>
<published>2023-09-20T21:31:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ab3cd075b314995f213b6ca50b6b3b4a14c051bd'/>
<id>ab3cd075b314995f213b6ca50b6b3b4a14c051bd</id>
<content type='text'>
This reverts commit 618a22144db5e45da8c95dc22064103e1b5e5b71.

Buildbots failing on windows and one other issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 618a22144db5e45da8c95dc22064103e1b5e5b71.

Buildbots failing on windows and one other issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Coverage][llvm-cov] Enable MC/DC Support in LLVM Source-based Code Coverage (2/3)</title>
<updated>2023-09-20T20:30:47+00:00</updated>
<author>
<name>Alan Phipps</name>
<email>a-phipps@ti.com</email>
</author>
<published>2023-09-18T20:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=618a22144db5e45da8c95dc22064103e1b5e5b71'/>
<id>618a22144db5e45da8c95dc22064103e1b5e5b71</id>
<content type='text'>
Part 2 of 3. This includes the Visualization and Evaluation components.

Differential Revision: https://reviews.llvm.org/D138847
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part 2 of 3. This includes the Visualization and Evaluation components.

Differential Revision: https://reviews.llvm.org/D138847
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm-cov] Support directory layout in coverage reports</title>
<updated>2023-08-24T05:46:12+00:00</updated>
<author>
<name>Yuhao Gu</name>
<email>yhgu2000@outlook.com</email>
</author>
<published>2023-08-24T05:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bea39c5443612b638aa1cc56d36e3b1fd06f6e96'/>
<id>bea39c5443612b638aa1cc56d36e3b1fd06f6e96</id>
<content type='text'>
This is a GSoC 2023 project ([discourse link](https://discourse.llvm.org/t/coverage-support-a-hierarchical-directory-structure-in-generated-coverage-html-reports/68239)).

llvm-cov currently generates a single top-level index HTML file, which causes rendering scalability issues in large projects. This patch adds support for hierarchical directory structure into the HTML reports to solve scalability issues by introducing the following changes:

- Added a new command line option `--show-directory-coverage` for `llvm-cov show`. It works both for `--format=html` and `--format=text`.
- Two new classes: `CoveragePrinterHTMLDirectory` and `CoveragePrinterTextDirectory` was added to support the new option.
- A tool class `DirectoryCoverageReport` was added to support the two classes above.
- Updated the document.
- Added a new regression test for `--show-directory-coverage`.

Reviewed By: phosek, gulfem

Differential Revision: https://reviews.llvm.org/D151283
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a GSoC 2023 project ([discourse link](https://discourse.llvm.org/t/coverage-support-a-hierarchical-directory-structure-in-generated-coverage-html-reports/68239)).

llvm-cov currently generates a single top-level index HTML file, which causes rendering scalability issues in large projects. This patch adds support for hierarchical directory structure into the HTML reports to solve scalability issues by introducing the following changes:

- Added a new command line option `--show-directory-coverage` for `llvm-cov show`. It works both for `--format=html` and `--format=text`.
- Two new classes: `CoveragePrinterHTMLDirectory` and `CoveragePrinterTextDirectory` was added to support the new option.
- A tool class `DirectoryCoverageReport` was added to support the two classes above.
- Updated the document.
- Added a new regression test for `--show-directory-coverage`.

Reviewed By: phosek, gulfem

Differential Revision: https://reviews.llvm.org/D151283
</pre>
</div>
</content>
</entry>
</feed>
