You need to sign in to do that
Don't have an account?
rekha sharma
checkmarx :Apex Code Quality related bug
Submitted code to checkmarx including the XMLDom.cls, and XmlDomTest.cls from the source:
http://code.google.com/p/visualforce-components/source/browse/trunk/XmlDom/src/unpackaged/classes/
Problem: Test Method with no Asserts.
This has been Updated via http://code.google.com/p/visualforce-components/issues/detail?id=4#c2 & Updated code is here: http://code.google.com/p/visualforce-components/source/browse/trunk/XmlDom/src/unpackaged/classes/
All Answers
I am not sure I understand the question. Are you seeing an issue reported in the checkmarx report that you think should not be reported?
Yoel Gluck
Product Security Team @ Salesforce.com
Thanks for the reply, Actually I am looking for corresponding fix of this issue if any, reported by checkmarx in xmldom class.
It seems like the DomXML code has one test method with no asserts in it:
public static testmethod void test4() //xmldomtest.cls
This will not cause you to fail the security review, but if you would like, you can file an issue with the "visualforce components" project at http://code.google.com/p/visualforce-components/issues/list .
Yoel Gluck
Product Security Team @ Salesforce.com
Sounds Good!
Reported the same issue at : http://code.google.com/p/visualforce-components/issues/detail?id=4
yet not resolved!
This has been Updated via http://code.google.com/p/visualforce-components/issues/detail?id=4#c2 & Updated code is here: http://code.google.com/p/visualforce-components/source/browse/trunk/XmlDom/src/unpackaged/classes/