Skip to content

Commit aa7952d

Browse files
kyle-githubCopilot
andcommitted
More updates to streamline the assembly and C code. Updates to test coverage.
Co-authored-by: Copilot <copilot@github.com>
1 parent 2767c67 commit aa7952d

90 files changed

Lines changed: 1926 additions & 1875 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/coverage.svg

Lines changed: 2 additions & 2 deletions
Loading

docs/coverage/gcov.css

Lines changed: 76 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ td.title
3636
font-style: italic;
3737
font-weight: bold;
3838
}
39+
/* table footnote */
40+
td.footnote
41+
{
42+
text-align: left;
43+
padding-left: 100px;
44+
padding-right: 10px;
45+
background-color: #dae7fe; /* light blue table background color */
46+
/* dark blue table header color
47+
background-color: #6688d4; */
48+
white-space: nowrap;
49+
font-family: sans-serif;
50+
font-style: italic;
51+
font-size:70%;
52+
}
3953
/* "Line coverage date bins" leader */
4054
td.subTableHeader
4155
{
@@ -187,6 +201,17 @@ td.coverFile
187201
font-family: monospace;
188202
}
189203

204+
/* Directory view/File view (all): directory name entry format */
205+
td.coverDirectory
206+
{
207+
text-align: left;
208+
padding-left: 10px;
209+
padding-right: 20px;
210+
color: #284fa8;
211+
background-color: #b8d0ff;
212+
font-family: monospace;
213+
}
214+
190215
/* Directory view/File view (all): filename entry format */
191216
td.overallOwner
192217
{
@@ -528,12 +553,29 @@ pre.source
528553
margin-top: 2px;
529554
}
530555

556+
/* elided/removed code */
557+
span.elidedSource
558+
{
559+
font-family: sans-serif;
560+
/*font-size: 8pt; */
561+
font-style: italic;
562+
background-color: lightgrey;
563+
}
564+
531565
/* Source code view: line number format */
532566
span.lineNum
533567
{
534568
background-color: #efe383;
535569
}
536570

571+
/* Source code view: line number format when there are deleted
572+
lines in the corresponding location */
573+
span.lineNumWithDelete
574+
{
575+
foreground-color: #efe383;
576+
background-color: lightgrey;
577+
}
578+
537579
/* Source code view: format for Cov legend */
538580
span.coverLegendCov
539581
{
@@ -634,7 +676,17 @@ a.branchTla:visited
634676
color: #000000;
635677
}
636678

637-
/* Source code view/table entry backround: format for lines classified as "Uncovered New Code (+ => 0):
679+
a.mcdcTla:link
680+
{
681+
color: #000000;
682+
}
683+
684+
a.mcdcTla:visited
685+
{
686+
color: #000000;
687+
}
688+
689+
/* Source code view/table entry background: format for lines classified as "Uncovered New Code (+ => 0):
638690
Newly added code is not tested" */
639691
td.tlaUNC
640692
{
@@ -645,7 +697,7 @@ td.tlaBgUNC {
645697
background-color: #FF6230;
646698
}
647699

648-
/* Source code view/table entry backround: format for lines classified as "Uncovered New Code (+ => 0):
700+
/* Source code view/table entry background: format for lines classified as "Uncovered New Code (+ => 0):
649701
Newly added code is not tested" */
650702
span.tlaUNC
651703
{
@@ -670,7 +722,7 @@ td.headerCovTableHeadUNC {
670722
background-color: #FF6230;
671723
}
672724

673-
/* Source code view/table entry backround: format for lines classified as "Lost Baseline Coverage (1 => 0):
725+
/* Source code view/table entry background: format for lines classified as "Lost Baseline Coverage (1 => 0):
674726
Unchanged code is no longer tested" */
675727
td.tlaLBC
676728
{
@@ -681,7 +733,7 @@ td.tlaBgLBC {
681733
background-color: #FF6230;
682734
}
683735

684-
/* Source code view/table entry backround: format for lines classified as "Lost Baseline Coverage (1 => 0):
736+
/* Source code view/table entry background: format for lines classified as "Lost Baseline Coverage (1 => 0):
685737
Unchanged code is no longer tested" */
686738
span.tlaLBC
687739
{
@@ -706,7 +758,7 @@ td.headerCovTableHeadLBC {
706758
background-color: #FF6230;
707759
}
708760

709-
/* Source code view/table entry backround: format for lines classified as "Uncovered Included Code (# => 0):
761+
/* Source code view/table entry background: format for lines classified as "Uncovered Included Code (# => 0):
710762
Previously unused code is untested" */
711763
td.tlaUIC
712764
{
@@ -717,7 +769,7 @@ td.tlaBgUIC {
717769
background-color: #FF6230;
718770
}
719771

720-
/* Source code view/table entry backround: format for lines classified as "Uncovered Included Code (# => 0):
772+
/* Source code view/table entry background: format for lines classified as "Uncovered Included Code (# => 0):
721773
Previously unused code is untested" */
722774
span.tlaUIC
723775
{
@@ -742,7 +794,7 @@ td.headerCovTableHeadUIC {
742794
background-color: #FF6230;
743795
}
744796

745-
/* Source code view/table entry backround: format for lines classified as "Uncovered Baseline Code (0 => 0):
797+
/* Source code view/table entry background: format for lines classified as "Uncovered Baseline Code (0 => 0):
746798
Unchanged code was untested before, is untested now" */
747799
td.tlaUBC
748800
{
@@ -753,7 +805,7 @@ td.tlaBgUBC {
753805
background-color: #FF6230;
754806
}
755807

756-
/* Source code view/table entry backround: format for lines classified as "Uncovered Baseline Code (0 => 0):
808+
/* Source code view/table entry background: format for lines classified as "Uncovered Baseline Code (0 => 0):
757809
Unchanged code was untested before, is untested now" */
758810
span.tlaUBC
759811
{
@@ -778,7 +830,7 @@ td.headerCovTableHeadUBC {
778830
background-color: #FF6230;
779831
}
780832

781-
/* Source code view/table entry backround: format for lines classified as "Gained Baseline Coverage (0 => 1):
833+
/* Source code view/table entry background: format for lines classified as "Gained Baseline Coverage (0 => 1):
782834
Unchanged code is tested now" */
783835
td.tlaGBC
784836
{
@@ -789,7 +841,7 @@ td.tlaBgGBC {
789841
background-color: #CAD7FE;
790842
}
791843

792-
/* Source code view/table entry backround: format for lines classified as "Gained Baseline Coverage (0 => 1):
844+
/* Source code view/table entry background: format for lines classified as "Gained Baseline Coverage (0 => 1):
793845
Unchanged code is tested now" */
794846
span.tlaGBC
795847
{
@@ -814,7 +866,7 @@ td.headerCovTableHeadGBC {
814866
background-color: #CAD7FE;
815867
}
816868

817-
/* Source code view/table entry backround: format for lines classified as "Gained Included Coverage (# => 1):
869+
/* Source code view/table entry background: format for lines classified as "Gained Included Coverage (# => 1):
818870
Previously unused code is tested now" */
819871
td.tlaGIC
820872
{
@@ -825,7 +877,7 @@ td.tlaBgGIC {
825877
background-color: #CAD7FE;
826878
}
827879

828-
/* Source code view/table entry backround: format for lines classified as "Gained Included Coverage (# => 1):
880+
/* Source code view/table entry background: format for lines classified as "Gained Included Coverage (# => 1):
829881
Previously unused code is tested now" */
830882
span.tlaGIC
831883
{
@@ -850,7 +902,7 @@ td.headerCovTableHeadGIC {
850902
background-color: #CAD7FE;
851903
}
852904

853-
/* Source code view/table entry backround: format for lines classified as "Gained New Coverage (+ => 1):
905+
/* Source code view/table entry background: format for lines classified as "Gained New Coverage (+ => 1):
854906
Newly added code is tested" */
855907
td.tlaGNC
856908
{
@@ -861,7 +913,7 @@ td.tlaBgGNC {
861913
background-color: #CAD7FE;
862914
}
863915

864-
/* Source code view/table entry backround: format for lines classified as "Gained New Coverage (+ => 1):
916+
/* Source code view/table entry background: format for lines classified as "Gained New Coverage (+ => 1):
865917
Newly added code is tested" */
866918
span.tlaGNC
867919
{
@@ -886,7 +938,7 @@ td.headerCovTableHeadGNC {
886938
background-color: #CAD7FE;
887939
}
888940

889-
/* Source code view/table entry backround: format for lines classified as "Covered Baseline Code (1 => 1):
941+
/* Source code view/table entry background: format for lines classified as "Covered Baseline Code (1 => 1):
890942
Unchanged code was tested before and is still tested" */
891943
td.tlaCBC
892944
{
@@ -897,7 +949,7 @@ td.tlaBgCBC {
897949
background-color: #CAD7FE;
898950
}
899951

900-
/* Source code view/table entry backround: format for lines classified as "Covered Baseline Code (1 => 1):
952+
/* Source code view/table entry background: format for lines classified as "Covered Baseline Code (1 => 1):
901953
Unchanged code was tested before and is still tested" */
902954
span.tlaCBC
903955
{
@@ -922,7 +974,7 @@ td.headerCovTableHeadCBC {
922974
background-color: #CAD7FE;
923975
}
924976

925-
/* Source code view/table entry backround: format for lines classified as "Excluded Uncovered Baseline (0 => #):
977+
/* Source code view/table entry background: format for lines classified as "Excluded Uncovered Baseline (0 => #):
926978
Previously untested code is unused now" */
927979
td.tlaEUB
928980
{
@@ -933,7 +985,7 @@ td.tlaBgEUB {
933985
background-color: #FFFFFF;
934986
}
935987

936-
/* Source code view/table entry backround: format for lines classified as "Excluded Uncovered Baseline (0 => #):
988+
/* Source code view/table entry background: format for lines classified as "Excluded Uncovered Baseline (0 => #):
937989
Previously untested code is unused now" */
938990
span.tlaEUB
939991
{
@@ -958,7 +1010,7 @@ td.headerCovTableHeadEUB {
9581010
background-color: #FFFFFF;
9591011
}
9601012

961-
/* Source code view/table entry backround: format for lines classified as "Excluded Covered Baseline (1 => #):
1013+
/* Source code view/table entry background: format for lines classified as "Excluded Covered Baseline (1 => #):
9621014
Previously tested code is unused now" */
9631015
td.tlaECB
9641016
{
@@ -969,7 +1021,7 @@ td.tlaBgECB {
9691021
background-color: #FFFFFF;
9701022
}
9711023

972-
/* Source code view/table entry backround: format for lines classified as "Excluded Covered Baseline (1 => #):
1024+
/* Source code view/table entry background: format for lines classified as "Excluded Covered Baseline (1 => #):
9731025
Previously tested code is unused now" */
9741026
span.tlaECB
9751027
{
@@ -994,7 +1046,7 @@ td.headerCovTableHeadECB {
9941046
background-color: #FFFFFF;
9951047
}
9961048

997-
/* Source code view/table entry backround: format for lines classified as "Deleted Uncovered Baseline (0 => -):
1049+
/* Source code view/table entry background: format for lines classified as "Deleted Uncovered Baseline (0 => -):
9981050
Previously untested code has been deleted" */
9991051
td.tlaDUB
10001052
{
@@ -1005,7 +1057,7 @@ td.tlaBgDUB {
10051057
background-color: #FFFFFF;
10061058
}
10071059

1008-
/* Source code view/table entry backround: format for lines classified as "Deleted Uncovered Baseline (0 => -):
1060+
/* Source code view/table entry background: format for lines classified as "Deleted Uncovered Baseline (0 => -):
10091061
Previously untested code has been deleted" */
10101062
span.tlaDUB
10111063
{
@@ -1030,7 +1082,7 @@ td.headerCovTableHeadDUB {
10301082
background-color: #FFFFFF;
10311083
}
10321084

1033-
/* Source code view/table entry backround: format for lines classified as "Deleted Covered Baseline (1 => -):
1085+
/* Source code view/table entry background: format for lines classified as "Deleted Covered Baseline (1 => -):
10341086
Previously tested code has been deleted" */
10351087
td.tlaDCB
10361088
{
@@ -1041,7 +1093,7 @@ td.tlaBgDCB {
10411093
background-color: #FFFFFF;
10421094
}
10431095

1044-
/* Source code view/table entry backround: format for lines classified as "Deleted Covered Baseline (1 => -):
1096+
/* Source code view/table entry background: format for lines classified as "Deleted Covered Baseline (1 => -):
10451097
Previously tested code has been deleted" */
10461098
span.tlaDCB
10471099
{

docs/coverage/index-sort-f.html

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@
2828
</tr>
2929
<tr>
3030
<td class="headerItem">Test:</td>
31-
<td class="headerValue">Generated</td>
31+
<td class="headerValue">yafl Code Coverage</td>
3232
<td></td>
3333
<td class="headerItem">Lines:</td>
34-
<td class="headerCovTableEntryMed">86.1&nbsp;%</td>
35-
<td class="headerCovTableEntry">539</td>
36-
<td class="headerCovTableEntry">464</td>
34+
<td class="headerCovTableEntryHi">97.3&nbsp;%</td>
35+
<td class="headerCovTableEntry">560</td>
36+
<td class="headerCovTableEntry">545</td>
3737
</tr>
3838
<tr>
3939
<td class="headerItem">Test Date:</td>
40-
<td class="headerValue">Generated</td>
40+
<td class="headerValue">2026-04-28 13:42:34</td>
4141
<td></td>
4242
<td class="headerItem">Functions:</td>
43-
<td class="headerCovTableEntryMed">89.5&nbsp;%</td>
44-
<td class="headerCovTableEntry">38</td>
45-
<td class="headerCovTableEntry">34</td>
43+
<td class="headerCovTableEntryHi">95.7&nbsp;%</td>
44+
<td class="headerCovTableEntry">47</td>
45+
<td class="headerCovTableEntry">45</td>
4646
</tr>
4747
<tr><td><img src="glass.png" width=3 height=3 alt=""></td></tr>
4848
</table>
@@ -80,36 +80,36 @@
8080
<td class="tableHead"> Hit</td>
8181
</tr>
8282
<tr>
83-
<td class="coverFile"><a href="src/index.html">src</a></td>
83+
<td class="coverDirectory"><a href="src/index.html" title="Click to go to directory /Users/kyle/Projects/yafl/src">src/</a></td>
8484
<td class="coverBar" align="center">
85-
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="amber.png" width=83 height=10 alt="83.2%"><img src="snow.png" width=17 height=10 alt="83.2%"></td></tr></table>
85+
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="amber.png" width=89 height=10 alt="89.2%"><img src="snow.png" width=11 height=10 alt="89.2%"></td></tr></table>
8686
</td>
87-
<td class="coverPerMed">83.2&nbsp;%</td>
88-
<td class="coverNumDflt">137</td>
89-
<td class="coverNumDflt">114</td>
90-
<td class="coverPerMed">87.5&nbsp;%</td>
91-
<td class="coverNumDflt">8</td>
92-
<td class="coverNumDflt">7</td>
87+
<td class="coverPerMed">89.2&nbsp;%</td>
88+
<td class="coverNumDflt">139</td>
89+
<td class="coverNumDflt">124</td>
90+
<td class="coverPerMed">84.6&nbsp;%</td>
91+
<td class="coverNumDflt">13</td>
92+
<td class="coverNumDflt">11</td>
9393
</tr>
9494
<tr>
95-
<td class="coverFile"><a href="tests/index.html">tests</a></td>
95+
<td class="coverDirectory"><a href="tests/index.html" title="Click to go to directory /Users/kyle/Projects/yafl/tests">tests/</a></td>
9696
<td class="coverBar" align="center">
97-
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="amber.png" width=87 height=10 alt="87.1%"><img src="snow.png" width=13 height=10 alt="87.1%"></td></tr></table>
97+
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="emerald.png" width=100 height=10 alt="100.0%"></td></tr></table>
9898
</td>
99-
<td class="coverPerMed">87.1&nbsp;%</td>
100-
<td class="coverNumDflt">402</td>
101-
<td class="coverNumDflt">350</td>
102-
<td class="coverPerHi">90.0&nbsp;%</td>
103-
<td class="coverNumDflt">30</td>
104-
<td class="coverNumDflt">27</td>
99+
<td class="coverPerHi">100.0&nbsp;%</td>
100+
<td class="coverNumDflt">421</td>
101+
<td class="coverNumDflt">421</td>
102+
<td class="coverPerHi">100.0&nbsp;%</td>
103+
<td class="coverNumDflt">34</td>
104+
<td class="coverNumDflt">34</td>
105105
</tr>
106106
</table>
107107
</center>
108108
<br>
109109

110110
<table width="100%" border=0 cellspacing=0 cellpadding=0>
111111
<tr><td class="ruler"><img src="glass.png" width=3 height=3 alt=""></td></tr>
112-
<tr><td class="versionInfo">Generated by: <a href="https://github.com//linux-test-project/lcov">LCOV version 2.0-1</a></td></tr>
112+
<tr><td class="versionInfo">Generated by: <a href="https://github.com//linux-test-project/lcov">LCOV version 2.4-0</a></td></tr>
113113
</table>
114114
<br>
115115

0 commit comments

Comments
 (0)