Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.34
net.sourceforge.pmd.lang.jsp.rule.basicjsf 1 0 0 0 100% 0.006
net.sourceforge.pmd.lang.jsp 1 0 0 0 100% 0.022
net.sourceforge.pmd 7 0 0 0 100% 0.426
net.sourceforge.pmd.lang.jsp.ast 50 0 0 0 100% 0.116

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.34

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

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

net.sourceforge.pmd.lang.jsp

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

net.sourceforge.pmd

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

net.sourceforge.pmd.lang.jsp.ast

Class Tests Errors Failures Skipped Success Rate Time
JspDocStyleTest 35 0 0 0 100% 0.027
JspPageStyleTest 9 0 0 0 100% 0.01
OpenTagRegisterTest 5 0 0 0 100% 0.001
XPathJspRuleTest 1 0 0 0 100% 0.078

Test Cases

[Summary] [Package List] [Test Cases]

LanguageVersionDiscovererTest

testJspFile 0.01

LanguageVersionTest

testFindVersionsForLanguageNameAndVersion[0] 0.001
testGetLanguageVersionForTerseName[0] 0

RuleSetFactoryTest

testDtd 0.063
testXmlSchema 0.042
testReadWriteRoundTrip 0.294
testAllPMDBuiltInRulesMeetConventions 0.016

JspParserTest

testParseDollar 0.022

JspDocStyleTest

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

JspPageStyleTest

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

OpenTagRegisterTest

unopenedTags 0.001
interleavedTags 0
testSimpleNesting 0
openedIsolatedTag 0
doubleNesting 0

XPathJspRuleTest

testExpressionMatching 0.078

BasicRulesTest

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

BasicJsfRulesTest

DontNestJsfInJstlIteration::0 A violation. 0.006