File Coverage

examples/shakesbeer.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   2588 use Lingua::Shakespeare;
  1         5  
  1         13  
3              
4             Shakesbeer, by Jonas Sjöbergh, jsh@nadakthse.
5              
6             Romeo, a man who curses men and likes women, while taking up some space.
7             Juliet, often the temporary affections of Romeo.
8             The Ghost,holds his liquor.
9             Hamlet, a man who is a bit jumpy.
10             Oberon, o.
11             Emilia, e.
12             Titus, t.
13             Ajax, n.
14             Angelo, a.
15             Shylock, s.
16             Lennox, l.
17             Bianca, b.
18             The Abbot of Westminster, w.
19             Desdemona, d.
20             Robin, r.
21             Capulet, ,.
22              
23             Act I: Where the action is.
24              
25             Scene I: Where the beginnings are located.
26              
27             [Enter Hamlet and The Ghost]
28             Hamlet:
29             Thou art as mighty as the sum of a proud rich trustworthy hero
30             and a handsome Lord. Thou art as noble as the square of thyself.
31             Thou art as rich as the difference between thyself and a plum.
32             The Ghost:
33             Thou art as good as the difference between a Lord and a Lord.
34              
35             Scene II: Where bottles of beer are displayed.
36              
37             [Exeunt]
38             [Enter Hamlet and The Ghost]
39             the Ghost:
40             Thou art as good as the sum of thyself and a Lord.
41             [Exeunt]
42             [Enter Romeo and the Ghost]
43             Romeo:
44             Open your heart.
45             the Ghost:
46             You are a fine brave gentle bold amazing Lord.
47             [Exit The Ghost]
48             [Enter Bianca]
49             Bianca:
50             Speak your mind.
51             Romeo:
52             Thou art as lovely as the sum of a charming handsome healthy
53             lovely pretty noble angel and the sum of a sweet beautiful
54             lovely fine sunny summer's day and a golden hair. Speak your mind.
55             [Exit Bianca]
56             [Enter Oberon]
57             Romeo:
58             Thou art as foul as the difference between the sum of a horrible
59             disgusting rotten oozing blister and a toad and a cursed
60             miserable dirty disgusting hairy
61             half-witted lying coward.
62             Speak your mind.
63             [Exit Oberon]
64             [Enter Titus]
65             Romeo:
66             Thou art as foul as the difference between the sum of a horrible
67             disgusting rotten blister and a dirty smelly toad and a cursed
68             miserable dirty disgusting hairy half-witted lying coward.
69             Speak your mind. Speak your mind.
70             [Exit Titus]
71             [Enter Lennox]
72             Romeo:
73             Thou art as foul as the difference between the sum of a horrible
74             disgusting rotten oozing blister and a dirty smelly toad and a cursed
75             miserable dirty disgusting hairy half-witted lying coward.
76             Speak your mind.
77             [Exit Lennox]
78             [Enter Emilia]
79             Romeo:
80             Thou art as lovely as the sum of a charming handsome healthy
81             lovely pretty noble angel and the sum of a sweet beautiful
82             lovely fine sunny summer's day and the sum of a golden hair
83             and the sum of a red rose and a flower. Speak your mind.
84             [Exit Emilia]
85             [Enter Shylock]
86             Romeo:
87             Thou art as foul as the difference between the sum of a horrible
88             disgusting rotten blister and a dirty smelly toad and the sum of
89             a cursed miserable dirty disgusting hairy half-witted lying
90             coward and a cow.
91             [Exit Romeo]
92             [Enter the Ghost]
93             the Ghost:
94             Am I as good as a plum? If not, Speak your mind.
95             [Exit the Ghost]
96             [Enter Romeo]
97             Shylock:
98             Speak your mind.
99             [Exit Shylock]
100             [Enter Oberon]
101             Romeo:
102             Speak your mind.
103             [Exit Oberon]
104             [Enter Juliet]
105             Romeo:
106             Thou art as lovely as the sum of a charming handsome healthy
107             lovely pretty noble angel and the sum of a sweet beautiful
108             lovely fine sunny summer's day and the sum of a golden hair
109             and the sum of a red rose and a yellow flower. Speak your mind.
110             Juliet:
111             Speak your mind.
112             [Exit Juliet]
113             [Enter Bianca]
114             Romeo:
115             Speak your mind.
116             [Exit Bianca]
117             [Enter Emilia]
118             Romeo:
119             Speak your mind.
120             Speak your mind.
121             [Exit Emilia]
122             [Enter Robin]
123             Romeo:
124             Thou art as foul as the difference between the sum of a horrible
125             disgusting rotten blister and a dirty smelly toad and the sum of
126             a cursed miserable dirty disgusting hairy half-witted lying
127             coward and a big cow.
128             Speak your mind.
129             [Exit Robin]
130             [Enter Hamlet]
131             Hamlet:
132             Am I as good as a Lord?
133             If so, let us proceed to Scene III.
134             Am I as good as a fine Lord?
135             If so, let us proceed to Scene V.
136             Let us proceed to Scene III.
137              
138             Scene III: Where a wall enters the picture.
139              
140             [Exeunt]
141             [Enter Romeo and Oberon]
142             Oberon:
143             Speak your mind.
144             Romeo:
145             Speak your mind.
146             [Exit Oberon]
147             [Enter Ajax]
148             Romeo:
149             Thou art as foul as the difference between the sum of a horrible
150             disgusting rotten oozing blister and a smelly toad and a cursed
151             miserable dirty disgusting hairy half-witted lying
152             coward.
153             Speak your mind.
154             Ajax:
155             Speak your mind.
156             [Exit Ajax]
157             [Enter Titus]
158             Romeo:
159             Speak your mind.
160             [Exit Titus]
161             [Enter Juliet]
162             Romeo:
163             Thou art as lovely as the sum of a charming handsome healthy
164             lovely pretty noble angel and the sum of a sweet beautiful
165             lovely fine sunny summer's day and the sum of a beautiful golden
166             hair and a lovely red rose. Speak your mind.
167             [Exit Juliet]
168             [Enter Emilia]
169             Romeo:
170             Speak your mind.
171             Emilia:
172             Speak your mind.
173             [Exit Emilia]
174             [Enter The Abbot of Westminster]
175             Romeo:
176             Thou art as foul as the difference between the sum of a normal
177             furry little goat and the sum of a cow and a black hog and a
178             horrid infected rotten oozing smelly stinking vile
179             blister. Speak your mind.
180             [Exit The Abbot of Westminster]
181             [Enter Angelo]
182             Romeo:
183             Thou art as foul as the difference between the sum of a disgusting
184             fat miserable dirty smelly toad and a cow and a
185             horrid infected rotten oozing smelly stinking vile
186             blister. Speak your mind.
187             [Exit Angelo]
188             [Enter Lennox]
189             Romeo:
190             Speak your mind. Speak your mind.
191             [Exit Lennox]
192             [Enter Capulet]
193             Romeo:
194             Thou art as foul as the difference between a huge big cow and
195             the sum of a cursed vile evil plague and a horrible huge hairy
196             dirty smelly hog.
197             [Exit Romeo]
198             [Enter the Ghost]
199             the Ghost:
200             Am I worse than an animal?
201             If so, let us proceed to Scene VI.
202             [Exeunt]
203             [Enter Hamlet and Capulet]
204             Hamlet:
205             Am I as good as a Lord?
206             If so, speak your mind.
207             [Exit Capulet]
208             [Enter Romeo]
209             Hamlet:
210             Am I as good as a son?
211             If so, speak your mind.
212             Am I as good as a brother?
213             If so, let us return to Scene II.
214             [Exeunt]
215             [Enter Juliet and Capulet]
216             Capulet:
217             Remember me. Recall my last remark.
218             [Exit Capulet]
219             [Enter Romeo]
220             Romeo:
221             Thou art as fine as the sum of thyself and a red rose.
222             Speak your mind.
223             Let us return to Scene IV.
224              
225             Scene IV: Where a line ends.
226              
227             [Exeunt]
228             [Enter Romeo and Juliet]
229             Romeo:
230             Thou art as lovely as the sum of a flower and the sum of a
231             lovely red rose and a beautiful gentle sunny summer's
232             day. Speak your mind.
233              
234             Thou art as cute as the difference between yourself and the sum of a
235             furry cat and an animal. Speak your mind.
236             [Exeunt]
237             [Enter Hamlet and The Ghost]
238             The Ghost:
239             Thou art as good as the difference between thyself and thyself.
240             Let us return to Scene II.
241              
242             Scene V: Where bottles are passed around.
243              
244             [Exeunt]
245             [Enter Juliet and Capulet]
246             Capulet:
247             Remember me. Recall that I always tell you to do so.
248             [Exit Capulet]
249             [Enter Romeo]
250             Romeo:
251             Thou art as lovely as the sum of thyself and a gentle summer's
252             day. Speak your mind.
253              
254             Thou art as lovely as the sum of a rose and the sum of a
255             lovely gentle summer's day and a beautiful fine yellow
256             flower. Speak your mind.
257              
258             Thou art as cute as the difference between yourself and the sum of a
259             small animal and a daughter. Speak your mind.
260             [Exit Juliet]
261             [Enter Titus]
262             Romeo:
263             Thou art as foul as the sum of thyself and a foul smelly
264             oozing evil red blister. Speak your mind.
265              
266             Thou art as foul as the difference between thyself and a foul smelly
267             oozing evil red blister.
268             [Exit Titus]
269             [Enter Angelo]
270             Romeo:
271             Speak your mind.
272             [Exit Angelo]
273             [Enter Juliet]
274             Romeo:
275             Thou art as lovely as the sum of a charming handsome healthy
276             lovely pretty noble angel and the sum of a sweet beautiful
277             lovely fine sunny summer's day and the sum of a fair warm golden
278             hair and the sum of a little animal and a cat. Speak your mind.
279             [Exit Juliet]
280             [Enter Emilia]
281             Romeo:
282             Speak your mind.
283             Emilia:
284             Speak your mind.
285             [Exit Emilia]
286             [Enter Oberon]
287             Romeo:
288             Speak your mind.
289             [Exit Oberon]
290             [Enter Ajax]
291             Romeo:
292             Speak your mind.
293             [Exit Ajax]
294             [Enter Emilia]
295             Romeo:
296             Speak your mind.
297             Emilia:
298             Speak your mind.
299             [Exit Emilia]
300             [Enter Desdemona]
301             Romeo:
302             Thou art as lovely as the sum of a charming handsome healthy
303             lovely pretty noble angel and the sum of a sweet beautiful
304             lovely fine sunny summer's day and a fair golden hair. Speak
305             your mind.
306             [Exit Desdemona]
307             [Enter Oberon]
308             Romeo:
309             Speak your mind.
310             [Exit Oberon]
311             [Enter The Abbot of Westminster]
312             Romeo:
313             Speak your mind.
314             [Exit The Abbot of Westminster]
315             [Enter Ajax]
316             Romeo:
317             Speak your mind.
318             [Exit Ajax]
319             [Enter Capulet]
320             Romeo:
321             Speak your mind.
322             Capulet:
323             Speak your mind.
324             [Exit Capulet]
325             [Enter Juliet]
326             Romeo:
327             Thou art as lovely as the sum of a charming handsome healthy
328             lovely pretty noble angel and the sum of a sweet beautiful
329             lovely fine sunny summer's day and the sum of a fair fine
330             golden hair and a beautiful little red rose. Speak your mind.
331             [Exit Juliet]
332             [Enter Angelo]
333             Romeo:
334             Speak your mind.
335             [Exit Angelo]
336             [Enter Shylock]
337             Romeo:
338             Speak your mind.
339             Speak your mind.
340             Shylock:
341             Speak your mind.
342             [Exit Shylock]
343             [Enter Juliet]
344             Romeo:
345             Thou art as lovely as the sum of a charming handsome healthy
346             lovely pretty noble angel and the sum of a sweet beautiful
347             lovely fine sunny summer's day and the sum of a fair fine
348             golden hair and a rose. Speak your mind.
349             [Exit Juliet]
350             [Enter Titus]
351             Romeo:
352             Speak your mind.
353             Titus:
354             Speak your mind.
355             [Exit Titus]
356             [Enter Angelo]
357             Romeo:
358             Speak your mind.
359             [Exit Angelo]
360             [Enter Robin]
361             Romeo:
362             Speak your mind.
363             [Exit Robin]
364             [Enter Oberon]
365             Romeo:
366             Speak your mind.
367             [Exit Oberon]
368             [Enter Juliet]
369             Romeo:
370             Thou art as lovely as the sum of a charming handsome healthy
371             lovely pretty noble angel and the sum of a sweet beautiful
372             lovely fine sunny summer's day and the sum of a fair fine
373             golden hair and the sum of a beautiful little red rose and the
374             sum of a little furry cat and an animal. Speak your mind.
375             [Exit Juliet]
376             [Enter Ajax]
377             Romeo:
378             Speak your mind.
379             [Exit Ajax]
380             [Enter Desdemona]
381             Romeo:
382             Speak your mind.
383             [Exit Desdemona]
384             [Enter Capulet]
385             Romeo:
386             Speak your mind.
387             Capulet:
388             Speak your mind.
389             [Exeunt]
390             [Enter Hamlet and The Ghost]
391             Hamlet:
392             Thou art as rich as the difference between thyself and a plum.
393             The Ghost:
394             Let us return to Scene II.
395              
396             Scene VI: The End.
397              
398             [Exeunt]
399             [Enter Capulet and Juliet]
400             Capulet:
401             Remember me. Recall the last time we met.
402             [Exit Capulet]
403             [Enter Romeo]
404             Romeo:
405             Thou art as pretty as the sum of thyself and a
406             furry animal. Speak your mind.
407              
408             Thou art as lovely as the sum of a flower and the sum of a
409             lovely red rose and a beautiful gentle sunny summer's
410             day. Speak your mind.
411              
412             Thou art as cute as the difference between yourself and the sum of a
413             furry cat and an animal. Speak your mind.
414             [Exeunt]
415              
416              
417              
418