lib/AI/MicroStructure/simpsons.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran 0.0% 0 / 8 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package AI::MicroStructure::simpsons;
2 use strict;
3 use AI::MicroStructure::List;
4 our @ISA = qw( AI::MicroStructure::List );
5 __PACKAGE__->init();
6  
7 our %Remote = (
8 source => [
9 'http://tim.rawle.org/simpsons/cha_ah.htm',
10 'http://tim.rawle.org/simpsons/cha_iq.htm',
11 'http://tim.rawle.org/simpsons/cha_rz.htm'
12 ],
13 extract => sub {
14 my @c;
15 return map {
16 $_ =
17 /^([^,]+),\s*(.+)\((?:M(?:(?:is)?s|rs?)|(?:nee|aka).*)\)/i
18 ? "$2 $1"
19 : /^([^,]+),?\s*\((.+)\)/ ? "$2 $1"
20 : /^([^,]+),\s*(.*)\((.+)\)/ ? "$3 $2 $1"
21 : /^([^,]+),\s*([^()]+)$/ ? "$2 $1"
22 : $_;
23 s/\W+/_/g;
24 s/^_+|_+$//g;
25 $_;
26 } $_[0] =~ m{<dt><b><a name="\w+">([^<]+)</a></b>}g;
27 }
28 );
29  
30 1;
31  
32 =head1 NAME
33 =head1 DESCRIPTION
34 =head1 CONTRIBUTOR
35 =over 4
36 =back
37 =head1 DEDICATION
38 =head1 SEE ALSO
39 =cut
40  
41 __DATA__
42 # names
43 Abigail
44 Akira
45 Uncle_Al
46 Langdon_Alger
47 Aristople_Amadopolis
48 Smooth_Jimmy_Apollo
49 Congressman_Bob_Arnold
50 Arthur
51 State_Comptroller_Atkins
52 Babysitter_Receptionist
53 Ballet_Teacher
54 Rex_Banner
55 Birch_Barlow
56 Barney
57 Bee_suit_man
58 Belle
59 Benjamin
60 Mr_Bergstrom
61 Bill
62 Blinky
63 Bob
64 Shary_Bobbins
65 Bodyguard
66 Wendell_Borton
67 Lucille_Botzcowski
68 Mr_Bouvier
69 Jacqueline_Bouvier
70 Patty_Bouvier
71 Selma_Bouvier
72 Kent_Brockman
73 Brockman
74 Don_Brodka
75 Jacques_Brunswick
76 Charles_Montgomery_Burns
77 Larry_Burns
78 Capital_City_Goofball
79 Carl
80 Superintendent_Chalmers
81 Charlie
82 Mr_Chase
83 Scott_Christian
84 Dr_Colossus
85 Comic_Book_Guy
86 Cosine
87 Crazy_Old_Man
88 Database
89 Brandine_Delroy
90 Cletus_Delroy
91 Amber_Dempsey
92 Disco_Stu
93 Dolph
94 Principal_Dondelinger
95 Lunchlady_Doris
96 Doug
97 Duffman
98 E_Mail
99 Eddie
100 El_Barto
101 Erin
102 Fallout_Boy
103 Fat_Tony
104 Eugene_Fisk
105 Maude_Flanders
106 Ned_Flanders
107 Rod_Flanders
108 Todd_Flanders
109 Arthur_Fortune
110 Dr_Foster
111 Pops_Freshemeyer
112 Prof_John_Frink
113 Furious_D
114 Gary
115 Geech
116 Gerald
117 Mr_Gil
118 Mrs_Glick
119 Ashley_Grant
120 Frank_Grimey_Grimes
121 Guillermo
122 Barney_Gumble
123 Janey_Hagstrom
124 Ham
125 Colonel_Leslie_Hap_Hapablap
126 Herman
127 Bernice_Hibbert
128 Dr_Julius_Hibbert
129 Elizabeth_Hoover
130 Adil_Hoxha
131 Hollis_Hurlburt
132 Lionel_Hutz
133 Itchy
134 Jasper
135 Jericho
136 the_Scumbag_Jimmy
137 Joey
138 John
139 Johnny_Tightlips
140 Jimbo_Corky_Jones
141 Jub_Jub
142 Kang
143 Karl
144 Kearny
145 Kodos
146 Wally_Kogen
147 Edna_Krabappel
148 Rabbi_Hyman_Krustofski
149 Krusty_the_Clown
150 Chester_J_Lampwick
151 Laddie
152 Lyle_Lanley
153 Dewey_Largo
154 Cadet_Larsen
155 Jack_Larson
156 The_Lawyer
157 Legs
158 Lenny
159 Asst_Superintendent_Leopold
160 Lewis
161 Professor_Lombardo
162 Lou
163 Louie
164 Helen_Lovejoy
165 Jessica_Lovejoy
166 Reverend_Timothy_Lovejoy
167 Stacy_Lovell
168 Luigi
169 Lurleen_Lumpkin
170 Malibu_Stacy
171 Malloy
172 Otto_Mann
173 Marty
174 McBain
175 Captain_Horatio_McCallister
176 Troy_McClure
177 Merl
178 Roger_Meyers_Jr
179 Roger_Meyers_Sr
180 Mister_Teeny
181 Mr_Mitchell
182 Hans_Moleman
183 Dr_Marvin_Monroe
184 Mr_Plow
185 Munchie
186 Nelson_Muntz
187 Captain_Lance_Murdock
188 Bleeding_Gums_Murphy
189 Lindsey_Naegle
190 Apu_Nahasapeemapetilon
191 Jamshed_Nahasapeemapetilon
192 Manjula_Nahasapeemapetilon
193 Pahusacheta_Nahasapeemapetilon
194 Sanjay_Nahasapeemapetilon
195 Mr_Nigel
196 Number_One
197 Frank_Ormand
198 Ray_Patterson
199 Evelyn_Peters
200 Dean_Bobby_Peterson
201 Arnie_Pie_in_the_Sky
202 Cadet_Platt
203 Plow_King
204 Herbert_Powell_Simpson
205 Janey_Powell
206 Laura_Powers
207 Ruth_Powers
208 Prince
209 Martin_Prince
210 Dr_J_Loren_Pryor
211 Mrs_Pummelhorse
212 Freddy_Quimby
213 Diamond_Joe_Quimby
214 Quimby
215 Radioactive_Man
216 Report_Card
217 Rex
218 Richard
219 Dr_Nick_Riviera
220 Roscoe
221 Salesman
222 Sam
223 Santa_s_Little_Helper
224 Hank_Scorpio
225 Scratchy
226 the_Preparer_Serak
227 Seth
228 The_Seven_Duffs
229 Sherri
230 She_s_the_Fastest
231 Beatrice_Bea_Simmons
232 Mindy_Simmons
233 Abraham_J_Simpson
234 Bartholomew_J_Simpson
235 Homer_Jay_Simpson
236 Lisa_Marie_Simpson
237 Maggie_Simpson
238 Marge_Simpson
239 Mona_Simpson
240 Llewellyn_Sinclair
241 Agnes_Skinner
242 Principal_Seymour_Skinner
243 Smiling_Joe_Fission
244 Waylon_Smithers
245 Turkey_Chester_Snake
246 Snowball
247 Snowball_II
248 Judge_Snyder
249 Spotty_teenager
250 Jebediah_Obediah_Zachariah_Jebediah_Springfield
251 Stampy
252 Samantha_Stanky
253 Sue_Sue
254 Sunday_School_Teacher
255 Lucius_Sweet
256 Moe_Szyslak
257 Tattoo_Parlour_Guy
258 Drederick_Tatum
259 Allison_Taylor
260 Captain_Tenille
261 Terri
262 Cecil_Terwilliger
263 Robert_Underdunk_Terwilliger
264 Tibor
265 Shawna_Tifton
266 Uter
267 Melvin_van_Horne
268 Kirk_van_Houten
269 Louanne_van_Houten
270 Milhouse_van_Houten
271 Nana_van_Houten
272 Very_Tall_Man
273 Veterinarian
274 Don_Vittorio
275 Warren
276 Alex_Whitney
277 Chief_Clancy_Wiggum
278 Ralph_Wiggum
279 Sara_Wiggum
280 Mr_William
281 Sylvia_Winfield
282 Emily_Winthrop
283 Rainier_Wolfcastle
284 Dr_Wolfe
285 Woman_in_Pink
286 Artie_Ziff
287 Zutroy
288 Dr_Zweig