static analysis - How to exclude particular method in java? -
we evaluate jtest static code analysis tool using java juliet test suite. downloaded juliet_test_suite_v1.2_for_java.zip from
https://samate.nist.gov/srd/testsuite.php juliet_test_suite_v1.2_for_java.zip file contains java files https://samate.nist.gov/srd/resources/juliet_test_suite_v1.2_for_java_-_user_guide.pdf has method , bad method in java file.to find false positive, false negative, true positive , true negative, run method of java file excluding bad method , bad methods excluding method. how can achieve this? ex: public class ex{ public void bad(){ bad code here // error
public void good(){ code here } approach available in java achieve this? in c++, have macros concept achieve above scenario. please let me know if need more information.
Comments
Post a Comment