SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 476 test cases in 24 pages. Pages: << 1 2 3 4 5 6 ... >> Last
Go to page:

Select Test Case ID(down) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1540062015-10-06JavaSource CodeCandidate This test gets the index of the character . in the input ...CWE-253: Incorrect Check of Function Return Value
Bad test case
1540082015-10-06JavaSource CodeCandidate This test takes input in the form of an integer. and creates an ...CWE-460: Improper Cleanup on Thrown Exception
Bad test case
1540132015-10-06JavaSource CodeCandidate This weakness takes a value and converts it to upper case.. If ...CWE-252: Unchecked Return Value
Bad test case
1540142015-10-06JavaSource CodeCandidate This weakness takes a value and converts it to upper case.. If ...CWE-252: Unchecked Return Value
Bad test case
1540202015-10-06JavaSource CodeCandidate CWE-584 Return Inside Finally. This test takes the name of a ...CWE-584: Return Inside Finally Block
Bad test case
1540212015-10-06JavaSource CodeCandidate This test takes input in the form of an integer. and creates an ...CWE-460: Improper Cleanup on Thrown Exception
Bad test case
1540232015-10-06JavaSource CodeCandidate This test takes a filename and attemps to read and output. to ...CWE-390: Detection of Error Condition Without Action
Bad test case
1540272015-10-06JavaSource CodeCandidate This test reads data from a sensitive file without checking. ...CWE-252: Unchecked Return Value
Bad test case
1540342015-10-06JavaSource CodeCandidate This test takes input in the form of an integer. and creates an ...CWE-460: Improper Cleanup on Thrown Exception
Bad test case
1540442015-10-06JavaSource CodeCandidate This test attempts to insert a new record into a MySQL. ...CWE-209: Information Exposure Through an Error Message
Bad test case
1540452015-10-06JavaSource CodeCandidate This test takes input in the form of an integer. and creates an ...CWE-460: Improper Cleanup on Thrown Exception
Bad test case
1540502015-10-06JavaSource CodeCandidate This test case takes a value and attempts to convert it to. ...CWE-248: Uncaught Exception
Bad test case
1540682015-10-06JavaSource CodeCandidate This test takes a filename and attemps to read and output. to ...CWE-390: Detection of Error Condition Without Action
Bad test case
1540742015-10-06JavaSource CodeCandidate This test gets the index of the character . in the input ...CWE-253: Incorrect Check of Function Return Value
Bad test case
1540872015-10-06JavaSource CodeCandidate CWE-584 Return Inside Finally. This test takes the name of a ...CWE-584: Return Inside Finally Block
Bad test case
1540882015-10-06JavaSource CodeCandidate This test attempts to insert a new record into a MySQL. ...CWE-209: Information Exposure Through an Error Message
Bad test case
1540932015-10-06JavaSource CodeCandidate This test gets the index of the character . in the input ...CWE-253: Incorrect Check of Function Return Value
Bad test case
1540962015-10-06JavaSource CodeCandidate This test takes user input for the size of an array to be. ...CWE-391: Unchecked Error Condition
Bad test case
1540982015-10-06JavaSource CodeCandidate This test takes user input for the size of an array to be. ...CWE-391: Unchecked Error Condition
Bad test case
1541032015-10-06JavaSource CodeCandidate This test attempts to insert a new record into a MySQL. ...CWE-209: Information Exposure Through an Error Message
Bad test case
<< 1 2 3 4 5 6 ... >> Last
Total of selected test cases: 476
Total pages: 24