llvm/llvm-project

Incorrect generation of HTML reports

Open

#46,089 创建于 2020年7月16日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)C++ (10,782 fork)batch import
bugzillaclang:static analyzergood first issue

仓库指标

Star
 (26,378 star)
PR 合并指标
 (平均合并 1天 2小时) (30 天内合并 1,000 个 PR)

描述

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.

贡献者指南