This version of SonarQube Server is no longer receiving patches. Please see the latest release for details on updating.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

HTML

HTML analysis is available starting in all editions of SonarQube 8.9.

For AI agents: You're in the SonarQube Server 8.9 documentation. For a list of all 8.9 pages, see the SonarQube Server 8.9 page index. For the whole site, see the page index or the full text. For another version, replace 8.9 in the URL with that version. The latest version has no version number in its URL.

Language-specific properties

You can discover and update HTML-specific Analysis parameters in: Administration > General Settings > HTML.

PHP code analysis

PHP and HTML analyzers both analyze files with extensions: .php, .php3, .php4, .php5, .phtml.

File metrics, such as the number of lines of code, can only be measured by one of the languages, PHP or HTML. They are handled by the PHP analyzer by default, and by HTML analyzer if for some reason the former is not present.

The HTML analyzer inspects PHP files even if the PHP file extensions are not included in the list of file extensions to analyze.

Issue tracker

Check the issue tracker for this language.

Last updated

Was this helpful?