Multiple Condition Coverage
I might be missing something here but, the way you wrote the code in your question, conditions A and B are completely independent of each other. You therefore won’t cover all of the code unless you test both conditionals. Statement coverage is used to derive scenario based upon the structure of the code under test. …