Deprecated test case
Description
CWE: 382 bad case calls System.exit during a normal work flow.
Note: System.exit may be justifiable if
a) significant failures occur during application initialization.
b) the program is invoked by another application and intended to exit with a
status code to determine success/failure.
Otherwise alternatives, such as throwing exceptions should be used as a fail safe
measure.
Sinks:
GoodSink: notify user, do not use System.exit
BadSink : calling System.exit, breaching best practices
Flow Variant: 03 Control flow: if(5==5) and if(5!=5)
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.