llvm/llvm-project

Incorrect generation of HTML reports

Open

#46,089 opened on Jul 16, 2020

View on GitHub
 (8 comments) (0 reactions) (0 assignees)C++ (10,782 forks)batch import
bugzillaclang:static analyzergood first issue

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (Avg merge 1d 2h) (1,000 merged PRs in 30d)

Description

Bugzilla Link 46744
Version unspecified
OS All
Attachments HTML file generated by scan-build (version 10.0.0)
Reporter LLVM Bugzilla Contributor
CC @ccadar,@devincoughlin,@haoNoQ

Extended Description

The HTML file generated by the Clang Static Analyser (version 10.0.0) has an issue with the nesting of closing tags. I have attached one such HTML file. In this file, at line 2314, the placement of closing of outermost tr and td tags is incorrect.

As a result, HTML parsers like jsoup and pup fail to read the HTML file past the line number 2314.

HTML validator reports issues with all the line numbers beginning from 2315 until the end of HTML file.

I manually fixed the issue and then the parsers were able to parse the entire HTML file.

Contributor guide