function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rekha sharmarekha 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.

Best Answer chosen by Admin (Salesforce Developers) 

All Answers

ygluckygluck

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

rekha sharmarekha sharma

Thanks for the reply, Actually I am looking for corresponding fix of this issue if any, reported by checkmarx in xmldom class.

 

 

ygluckygluck

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

rekha sharmarekha sharma

Sounds Good!

Reported  the same issue at :  http://code.google.com/p/visualforce-components/issues/detail?id=4

yet not resolved!