<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'><font size="3" face="Calibri">Use a map instead of vector to store line counts.</font><BR>
<font size="3" face="Calibri"><br></font><BR>
<font size="3" face="Calibri">There are a few motivations for this:</font><BR>
<ul><li><span style="font-family: Calibri; font-size: 12pt;">Using a map allows for checking if line is in map. This differentiates </span><span style="font-family: Calibri; font-size: 12pt;">unexecutable lines (such as comments) from unexecuted logical lines of </span><span style="font-family: Calibri; font-size: 12pt;">code. "#####" is now outputted in this case, as it is done in gcov.</span></li><li><span style="font-family: Calibri; font-size: 12pt;">Source files are no longer read in twice: once when storing the line </span><span style="font-family: Calibri; font-size: 12pt;">counts, and once when outputting the data.</span></li><li><span style="font-family: Calibri; font-size: 12pt;">Greatly simplifies the function FileInfo::addLineCount().</span></li></ul><BR><style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style><div dir="ltr"></div>
                                          </div></body>
</html>