Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
101 0 0 0 100% 1.223

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
net.sourceforge.pmd.lang.jsp.rule.basic 42 0 0 0 100% 0.38
net.sourceforge.pmd.lang.jsp.rule.basicjsf 1 0 0 0 100% 0.008
net.sourceforge.pmd.lang.jsp 1 0 0 0 100% 0.14
net.sourceforge.pmd 7 0 0 0 100% 0.536
net.sourceforge.pmd.lang.jsp.ast 50 0 0 0 100% 0.159

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

net.sourceforge.pmd.lang.jsp.rule.basic

Class Tests Errors Failures Skipped Success Rate Time
BasicRulesTest 42 0 0 0 100% 0.38

net.sourceforge.pmd.lang.jsp.rule.basicjsf

Class Tests Errors Failures Skipped Success Rate Time
BasicJsfRulesTest 1 0 0 0 100% 0.008

net.sourceforge.pmd.lang.jsp

Class Tests Errors Failures Skipped Success Rate Time
JspParserTest 1 0 0 0 100% 0.14

net.sourceforge.pmd

Class Tests Errors Failures Skipped Success Rate Time
LanguageVersionDiscovererTest 1 0 0 0 100% 0.012
LanguageVersionTest 2 0 0 0 100% 0.001
RuleSetFactoryTest 4 0 0 0 100% 0.523

net.sourceforge.pmd.lang.jsp.ast

Class Tests Errors Failures Skipped Success Rate Time
JspDocStyleTest 35 0 0 0 100% 0.036
JspPageStyleTest 9 0 0 0 100% 0.015
OpenTagRegisterTest 5 0 0 0 100% 0.002
XPathJspRuleTest 1 0 0 0 100% 0.106

Test Cases

[Summary] [Package List] [Test Cases]

LanguageVersionDiscovererTest

testJspFile 0.012

LanguageVersionTest

testFindVersionsForLanguageNameAndVersion[0] 0.001
testGetLanguageVersionForTerseName[0] 0

RuleSetFactoryTest

testDtd 0.07
testXmlSchema 0.049
testReadWriteRoundTrip 0.388
testAllPMDBuiltInRulesMeetConventions 0.016

JspParserTest

testParseDollar 0.14

JspDocStyleTest

testSimplestJsp 0.002
quoteExpression 0.001
unclosedTagMultipleLevels 0.001
testInlineCss 0.001
nestedEmptyTags 0.001
testImportHtmlScript 0.001
nestedMultipleTags 0.001
testCData 0.001
unclosedStartTagWithUnmatchedCloseOfDifferentTag 0.001
unclosedTagAndNoQuotesForAttribute 0.001
unclosedTag 0
testTextInTag 0
noQuoteAttrWithMalformedJspExpression 0.001
noQuoteAttrEmpty 0.002
noQuoteAttrValue 0
testComplexHtmlScript 0.003
testAttributeValueContainingHash 0.002
unclosedTagsWithJspExpressionWithin 0.001
unmatchedTagDoesNotInfluenceStructure 0.001
testComment 0.001
unclosedTagsWithDollar 0.001
quoteEL 0.001
noQuoteAttrWithJspExpression 0
noSpacesBetweenTags 0
noQuoteAttrTab 0
unclosedTagsWithELWithin 0.001
testElementAttributeAndNamespace 0.001
mixedExpressions 0.002
testDoctype 0.003
testHtmlScriptWithAttribute 0
unclosedParentTagClosedBeforeChild 0.001
noQuoteAttrWithJspEL 0.001
testHtmlScript 0.001
noQuoteAttrCrLf 0.001
textAfterOpenAndClosedTag 0.001

JspPageStyleTest

testJsfValueBinding 0.002
testExpressionInAttribute 0.001
testDirective 0.006
testComment 0.001
testElExpression 0.001
testScriptlet 0.001
testElExpressionInAttribute 0
testDeclaration 0.002
testExpression 0.001

OpenTagRegisterTest

unopenedTags 0
interleavedTags 0.001
testSimpleNesting 0
openedIsolatedTag 0.001
doubleNesting 0

XPathJspRuleTest

testExpressionMatching 0.106

BasicRulesTest

DuplicateJspImports::0 Just 1 import 0.019
DuplicateJspImports::1 Duplicate imports 0.012
DuplicateJspImports::2 Duplicate imports 0.011
DuplicateJspImports::3 Duplicate imports 0.009
DuplicateJspImports::4 Duplicate imports 0.01
DuplicateJspImports::5 Just 1 import 0.009
IframeMissingSrcAttribute::0 1, iframe exists with src attribute 0.018
IframeMissingSrcAttribute::1 2, iframe is missing src attribute 0.012
IframeMissingSrcAttribute::2 3, IFRAME is missing src attribute 0.01
JspEncoding::0 No header 0.02
JspEncoding::1 Good page header 0.018
JspEncoding::2 Good page header 2 0.01
JspEncoding::3 Encoding is not UTF-8 0.013
JspEncoding::4 Good meta header 0.014
JspEncoding::5 Good meta header 2 0.015
NoClassAttribute::0 A class attribute. 0.008
NoClassAttribute::1 No scriptlets. 0.005
NoHtmlComments::0 No HTML comments 0.006
NoHtmlComments::1 HTML Comment 0.006
NoHtmlComments::2 JSP Comments 0.007
NoInlineScript::0 A violation. 0.008
NoInlineScript::1 A violation. 0.005
NoInlineScript::2 Ok, no 'src' with empty body. 0.005
NoInlineScript::3 Ok, only 'src' with empty whitespace body. 0.006
NoInlineScript::4 Ok, only 'src' without body. 0.007
NoInlineStyleInformation::0 A <B> element. 0.007
NoInlineStyleInformation::1 A font and align attribute. 0.009
NoInlineStyleInformation::2 No violations. 0.004
NoJspForward::0 A violation. 0.008
NoLongScripts::0 Too long javascript. 0.011
NoLongScripts::1 Short javascript. 0.008
NoScriptlets::0 Two scriptlets. 0.01
NoScriptlets::1 No scriptlets. 0.009
NoUnsanitizedJSPExpression::0 An EL outside taglib #1 0.005
NoUnsanitizedJSPExpression::1 An EL outside taglib #2 0.005
NoUnsanitizedJSPExpression::2 An EL outside taglib #3 0.005
NoUnsanitizedJSPExpression::3 Multiple EL outside taglib 0.007
NoUnsanitizedJSPExpression::4 c:out fixes it 0.005
NoUnsanitizedJSPExpression::5 fn:escape fixes it 0.007
NoUnsanitizedJSPExpression::6 fn:escape as attribute value 0.006
NoUnsanitizedJSPExpression::7 fn:escape as attribute value, multiline 0.005
NoUnsanitizedJSPExpression::8 fn:escape and c:out mix 0.006

BasicJsfRulesTest

DontNestJsfInJstlIteration::0 A violation. 0.008