<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/tools/llvm-cov/SourceCoverageViewHTML.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>SourceCoverageViewHTML.cpp: Reformat JS</title>
<updated>2024-12-18T11:00:02+00:00</updated>
<author>
<name>NAKAMURA Takumi</name>
<email>geek4civic@gmail.com</email>
</author>
<published>2024-12-18T10:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7384d8bc18535286a24b4422f6661109d127e8fd'/>
<id>7384d8bc18535286a24b4422f6661109d127e8fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Remove redundant control flow statements (NFC) (#115831)</title>
<updated>2024-11-12T18:09:42+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-11-12T18:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4048c64306e23b622443bbe7293057a9b07a13bb'/>
<id>4048c64306e23b622443bbe7293057a9b07a13bb</id>
<content type='text'>
Identified with readability-redundant-control-flow.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identified with readability-redundant-control-flow.</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-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] Add HTML dark theme support (#93080)</title>
<updated>2024-06-05T12:35:43+00:00</updated>
<author>
<name>EdJoPaTo</name>
<email>github@edjopato.de</email>
</author>
<published>2024-06-05T12:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=163cb1fc2fe4caa8306a18abdb0516870e4d7f3d'/>
<id>163cb1fc2fe4caa8306a18abdb0516870e4d7f3d</id>
<content type='text'>
Personally I use
[cargo-llvm-cov](https://github.com/taiki-e/cargo-llvm-cov) which
creates helpful HTML coverage reports, but they don't support a dynamic
dark themes.

I updated the styling to support both dark and bright color themes based
on the browser preference. The bright theme should look similar to the
current theme.

I also improved some color contrasts (Firefox accessibility tool
reported them) and ensured that line-number links keep their
text-decoration.

Things that both have `.tooltip` and `.red` look kinda odd as the
coloring is now based on tinting with transparency. Given that the
tooltip should always show 0 in such cases (otherwise it wouldn't be
red) the tooltip could be removed there on the HTML generation, but that
seemed out of scope for my style only change.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Personally I use
[cargo-llvm-cov](https://github.com/taiki-e/cargo-llvm-cov) which
creates helpful HTML coverage reports, but they don't support a dynamic
dark themes.

I updated the styling to support both dark and bright color themes based
on the browser preference. The bright theme should look similar to the
current theme.

I also improved some color contrasts (Firefox accessibility tool
reported them) and ensured that line-number links keep their
text-decoration.

Things that both have `.tooltip` and `.red` look kinda odd as the
coloring is now based on tinting with transparency. Given that the
tooltip should always show 0 in such cases (otherwise it wouldn't be
red) the tooltip could be removed there on the HTML generation, but that
seemed out of scope for my style only change.</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>[llvm-cov] format cells in report with 0/0 branches/functions/lines differenly (gray instead red) and make the table a bit nicer (#75780)</title>
<updated>2023-12-19T10:15:39+00:00</updated>
<author>
<name>Hana Dusíková</name>
<email>hanicka@hanicka.net</email>
</author>
<published>2023-12-18T10:11:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=18e1179208a1bcf561c76cd50460e1a411171736'/>
<id>18e1179208a1bcf561c76cd50460e1a411171736</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
</feed>
