April 20, 2013 Coverage Analysis in Perl: The Basics Back

Branch and Condition Analysis (3)

                    &&  ||  and     or
                    if ($alpha && $beta) {
                        # take some action
                    }
                 $alpha       $beta     Decision
                    1           0           0
                    0           X           0
                    1           1           0


Home Last TOC Copyright © 2013 James E Keenan Back Next