File Coverage

examples/fibonacci2.spl
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             #!/usr/bin/env perl
2 1     1   3122 use Lingua::Shakespeare;
  1         6  
  1         10  
3              
4             By Björn Stenberg and Linus Nielsen Feltzing 2001-08-31
5             Should thee wish to bring thyselves to our attention doeth as below,
6             Pointeth thy postal delivery appliance unto
7             bjorn(at)haxx(dot)se or linus(at)haxx(dot)se
8              
9             The Fibonacci drama.
10              
11             Hamlet, a beacon of truth in a world of dark confusion.
12             Juliet, a poor girl starting at the bottom and working her way up.
13             Romeo, a messenger between Hamlet and Juliet.
14             Ophelia, a fine woman bringing our heroes to new levels.
15             Macbeth, a poor insulted lady making but a small appearance.
16              
17              
18             Act I: The search for Fibonacci.
19              
20             Scene I: The taunting of Macbeth.
21              
22             [Enter Hamlet and Macbeth]
23              
24             Macbeth:
25             Thou art nothing. Open your heart!
26              
27             Hamlet:
28             Thou art as rotten as a disgusting dusty evil fat-kidneyed fatherless foul
29             hairy horrible infected lying pig.
30              
31             Macbeth:
32             Thou art as vile as the difference between nothing and the sum of a
33             snotty stinking half-witted hog and a small toad!
34             Speak your mind!
35              
36             Hamlet:
37             Thou art as half-witted as the cube of the difference between nothing and yourself.
38              
39             [Exit Macbeth]
40              
41             [Enter Ophelia]
42              
43             Hamlet:
44             Thou art as noble as myself!
45              
46             [Exit Ophelia]
47              
48             [Enter Romeo]
49              
50             Hamlet:
51             Thou art a hero! Open your heart.
52              
53             Romeo:
54             Speak your mind.
55              
56             Scene II: Tension is building.
57              
58             Romeo:
59             Thou art as villainous as the sum of myself and Juliet.
60             Is Macbeth worse than you? If so, we must proceed to Scene V.
61             Open your heart!
62              
63             [Exit Hamlet]
64              
65             Scene III: New levels of courage.
66              
67             [Enter Ophelia]
68              
69             Romeo:
70             Speak your mind!
71              
72             [Exeunt]
73              
74             Scene IV: Juliet has second thoughts.
75              
76             [Enter Juliet and Hamlet]
77              
78             Hamlet:
79             Thou art as fine as Romeo!
80              
81             [Exit Hamlet]
82              
83             [Enter Romeo]
84              
85             Juliet:
86             Thou art as cunning as Hamlet.
87              
88             [Exit Juliet]
89              
90             [Enter Hamlet]
91              
92             Hamlet:
93             Let us return to scene II.
94              
95             Scene V: Fin.
96              
97             [Exeunt]
98