org.sonar.l10n.web.rules.Web.LibraryDependencyCheck.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-plugin Show documentation
Show all versions of sonar-web-plugin Show documentation
Enables scanning of HTML, and JSP/JSF files.
This rule raises an issue when a configured Java package or class is used in a JSP file.
Noncompliant Code Example
Given a disallowed list of java.sql,ArrayList
:
<%@ page import="java.sql.*" %> <!-- Noncompliant -->
<% java.util.ArrayList clients; %> <!-- Noncompliant -->
<% java.lang.String name; %> <!-- Compliant -->
© 2015 - 2024 Weber Informatics LLC | Privacy Policy