File Coverage

examples/hello.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   7781 use Lingua::Shakespeare;
  1         5  
  1         9  
3              
4             The Infamous Hello World Program.
5              
6             Romeo, a young man with a remarkable patience.
7             Juliet, a likewise young woman of remarkable grace.
8             Ophelia, a remarkable woman much in dispute with Hamlet.
9             Hamlet, the flatterer of Andersen Insulting A/S.
10              
11              
12             Act I: Hamlet's insults and flattery.
13              
14             Scene I: The insulting of Romeo.
15              
16             [Enter Hamlet and Romeo]
17              
18             Hamlet:
19             You lying stupid fatherless big smelly half-witted coward!
20             You are as stupid as the difference between a handsome rich brave
21             hero and thyself! Speak your mind!
22              
23             You are as brave as the sum of your fat little stuffed misused dusty
24             old rotten codpiece and a beautiful fair warm peaceful sunny summer's
25             day. You are as healthy as the difference between the sum of the
26             sweetest reddest rose and my father and yourself! Speak your mind!
27              
28             You are as cowardly as the sum of yourself and the difference
29             between a big mighty proud kingdom and a horse. Speak your mind.
30              
31             Speak your mind!
32              
33             [Exit Romeo]
34              
35             Scene II: The praising of Juliet.
36              
37             [Enter Juliet]
38              
39             Hamlet:
40             Thou art as sweet as the sum of the sum of Romeo and his horse and his
41             black cat! Speak thy mind!
42              
43             [Exit Juliet]
44              
45             Scene III: The praising of Ophelia.
46              
47             [Enter Ophelia]
48              
49             Hamlet:
50             Thou art as lovely as the product of a large rural town and my amazing
51             bottomless embroidered purse. Speak thy mind!
52              
53             Thou art as loving as the product of the bluest clearest sweetest sky
54             and the sum of a squirrel and a white horse. Thou art as beautiful as
55             the difference between Juliet and thyself. Speak thy mind!
56              
57             [Exeunt Ophelia and Hamlet]
58              
59              
60             Act II: Behind Hamlet's back.
61              
62             Scene I: Romeo and Juliet's conversation.
63              
64             [Enter Romeo and Juliet]
65              
66             Romeo:
67             Speak your mind. You are as worried as the sum of yourself and the
68             difference between my small smooth hamster and my nose. Speak your
69             mind!
70              
71             Juliet:
72             Speak YOUR mind! You are as bad as Hamlet! You are as small as the
73             difference between the square of the difference between my little pony
74             and your big hairy hound and the cube of your sorry little
75             codpiece. Speak your mind!
76              
77             [Exit Romeo]
78              
79             Scene II: Juliet and Ophelia's conversation.
80              
81             [Enter Ophelia]
82              
83             Juliet:
84             Thou art as good as the quotient between Romeo and the sum of a small
85             furry animal and a leech. Speak your mind!
86              
87             Ophelia:
88             Thou art as disgusting as the quotient between Romeo and twice the
89             difference between a mistletoe and an oozing infected blister! Speak
90             your mind!
91              
92             [Exeunt]