Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/lib/writer-html.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace HtmlLib {
.infoEvent { color:#808080; }
.infoEventComment { color:#00C0C0; }
.traceEvent { color: #C0C0C0; }
.newDefect { color: #00FF00; }
.newFinding { color: #00FF00; }
.parseWarning { color: #FF0000; }
.impFlag { color: #FF0000; font-weight: bold; }
#scanProps { font-family: monospace; }
Expand Down Expand Up @@ -128,7 +128,7 @@ std::string digTitle(const TScanProps &props) {

it = props.find("diffbase-project-name");
if (NA != it) {
title += " - defects not occurring in ";
title += " - findings not occurring in ";
title += it->second;
}

Expand Down Expand Up @@ -296,7 +296,7 @@ void HtmlWriterCore::writeHeaderOnce(
writeScanProps(str_, props);

// initialize the section for defects
HtmlLib::initSection(str_, "List of Defects");
HtmlLib::initSection(str_, "List of Findings");
HtmlLib::initPre(str_);

headerWritten_ = true;
Expand Down Expand Up @@ -399,11 +399,11 @@ void HtmlWriter::setDiffBase(
: it->second;

if (projName.empty()) {
d->newDefMsg = "newly introduced defect";
d->newDefMsg = "newly introduced finding";
return;
}

d->newDefMsg += "defect not occurring in <b>";
d->newDefMsg += "finding not occurring in <b>";
d->newDefMsg += projName;
d->newDefMsg += "</b>";
}
Expand Down Expand Up @@ -462,7 +462,7 @@ void HtmlWriter::Private::writeNewDefWarning(const Defect &def)
return;

// a newly introduced defect
this->str << " <span class='newDefect'>[<b>warning:</b> "
this->str << " <span class='newFinding'>[<b>warning:</b> "
<< this->newDefMsg << "]</span>";
}

Expand Down
Loading