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

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.185
net.sourceforge.pmd.lang.jsp.rule.basicjsf 1 0 0 0 100% 0.004
net.sourceforge.pmd.lang.jsp 1 0 0 0 100% 0.014
net.sourceforge.pmd 7 0 0 0 100% 0.297
net.sourceforge.pmd.lang.jsp.ast 50 0 0 0 100% 0.078

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

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

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

net.sourceforge.pmd.lang.jsp

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

net.sourceforge.pmd

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

net.sourceforge.pmd.lang.jsp.ast

Class Tests Errors Failures Skipped Success Rate Time
XPathJspRuleTest 1 0 0 0 100% 0.049
JspPageStyleTest 9 0 0 0 100% 0.009
OpenTagRegisterTest 5 0 0 0 100% 0
JspDocStyleTest 35 0 0 0 100% 0.02

Test Cases

[Summary] [Package List] [Test Cases]

XPathJspRuleTest

testExpressionMatching 0.049

JspParserTest

testParseDollar 0.014

LanguageVersionDiscovererTest

testJspFile 0.008

BasicRulesTest

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

JspPageStyleTest

testJsfValueBinding 0.001
testExpressionInAttribute 0
testDirective 0.001
testComment 0
testElExpression 0
testScriptlet 0.007
testElExpressionInAttribute 0
testDeclaration 0
testExpression 0

OpenTagRegisterTest

unopenedTags 0
interleavedTags 0
testSimpleNesting 0
openedIsolatedTag 0
doubleNesting 0

LanguageVersionTest

testFindVersionsForLanguageNameAndVersion[0] 0.001
testGetLanguageVersionForTerseName[0] 0

RuleSetFactoryTest

testDtd 0.045
testXmlSchema 0.031
testReadWriteRoundTrip 0.204
testAllPMDBuiltInRulesMeetConventions 0.008

BasicJsfRulesTest

DontNestJsfInJstlIteration::0 A violation. 0.004

JspDocStyleTest

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