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
Analyze HTML (also within PHP/Ruby/etc. templates) and JSP/JSF code.
The newest version!
This rule verifies if some given Java packages or classes are used in a JSP file.
The following code illustrates this rule, with java.sql,ArrayList
as libraries:
Noncompliant Code Example
<%@ page import="java.sql.*" %> <!-- Non-Compliant -->
<% java.util.ArrayList clients; %> <!-- Non-Compliant -->
<% java.lang.String name; %> <!-- Compliant -->
© 2015 - 2025 Weber Informatics LLC | Privacy Policy