llvm/llvm-project

Incorrect generation of HTML reports

Open

#46.089 aperta il 16 lug 2020

Vedi su GitHub
 (8 commenti) (0 reazioni) (0 assegnatari)C++ (10.782 fork)batch import
bugzillaclang:static analyzergood first issue

Metriche repository

Star
 (26.378 star)
Metriche merge PR
 (Merge medio 1g 2h) (1000 PR mergiate in 30 g)

Descrizione

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.

Guida contributor