lib/App/FuguSeed/List.pm

filter: Statementstmt 80.6% 25 / 31 Branchbran 50.0% 6 / 12 Conditioncond 50.0% 3 / 6 MC/DCmcdc 50.0% 2 / 4 Subroutinesub 72.7% 8 / 11 Podpod 100% 6 / 6 totaltotal 71.4% 50 / 70 CC 9 SCAR 12.3
CC
9
Cov
69%
word
6.0
word
6.0
index
2.5
CRAP 3.4
« blib/lib/App/FuguSeed/Check.pm ↑ Summary lib/App/FuguSeed/QR.pm »
1 # ex:ts=8 sw=4:
2 # $OpenBSD$
3 #
4 # Copyright (c) 2026 Dick Olsson <hi@senzilla.io>
5 #
6 # Permission to use, copy, modify, and distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
9 #
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 #
18 # The word block below is a copy of share/fuguseed/english.txt, byte
19 # for byte. It must stay equal to that file. Do not edit the block by
20 # hand: copy the share file again. t/fuguseed/list.t holds both copies
21 # to one digest.
22  
23 package App::FuguSeed::List;
24 17 our $VERSION = '0.2.0';
25  
26 17 ▶use v5.34;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 17 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
28 17 ▶use experimental 'signatures';
Subroutine BEGIN: called CC=1 SCAR=0.0
29 17 ▶no feature qw(indirect multidimensional bareword_filehandles);
Subroutine BEGIN: called CC=1 SCAR=0.0
30  
31 # App::FuguSeed::List - the official English word list of BIP39.
32 #
33 # The module holds the 2048 words as data in this file, one word per
34 # line, so a person can diff them against share/fuguseed/english.txt
35 # (LIST-MODULE-1). The index of a word is its 0-based position.
36 #
37 # The module runs on core perl v5.34 with no dependency, because
38 # scripts/pack embeds it in fuguseed-last and fuguseed-qr
39 # (LIST-MODULE-2). It opens no
40 # file (SEC-TRUST-3): the digest check of a list file belongs to
41 # fuguseed-words. A single-quoted heredoc holds the words, because a
42 # packed file holds several modules and only one __DATA__ section can
43 # exist in it.
44 #
45 # Every method is a class method, and the module keeps no state.
46  
47 # DIGEST:
48 # The SHA-256 of the source list (LIST-SOURCE-1), as lower-case
49 # hex. t/fuguseed/list.t holds the embedded words and the share
50 # file to this value, so both copies stay the source list.
51 17 ▶use constant DIGEST =>
Subroutine BEGIN: called CC=1 SCAR=0.0
52 17 '2f5eed53a4727b4bf8880d8f3f199efc90e58503646d9ff8eff3a2ed3b24dbda';
53  
54 17 my @WORDS = split /\n/, <<'WORDS';
55 abandon
56 ability
57 able
58 about
59 above
60 absent
61 absorb
62 abstract
63 absurd
64 abuse
65 access
66 accident
67 account
68 accuse
69 achieve
70 acid
71 acoustic
72 acquire
73 across
74 act
75 action
76 actor
77 actress
78 actual
79 adapt
80 add
81 addict
82 address
83 adjust
84 admit
85 adult
86 advance
87 advice
88 aerobic
89 affair
90 afford
91 afraid
92 again
93 age
94 agent
95 agree
96 ahead
97 aim
98 air
99 airport
100 aisle
101 alarm
102 album
103 alcohol
104 alert
105 alien
106 all
107 alley
108 allow
109 almost
110 alone
111 alpha
112 already
113 also
114 alter
115 always
116 amateur
117 amazing
118 among
119 amount
120 amused
121 analyst
122 anchor
123 ancient
124 anger
125 angle
126 angry
127 animal
128 ankle
129 announce
130 annual
131 another
132 answer
133 antenna
134 antique
135 anxiety
136 any
137 apart
138 apology
139 appear
140 apple
141 approve
142 april
143 arch
144 arctic
145 area
146 arena
147 argue
148 arm
149 armed
150 armor
151 army
152 around
153 arrange
154 arrest
155 arrive
156 arrow
157 art
158 artefact
159 artist
160 artwork
161 ask
162 aspect
163 assault
164 asset
165 assist
166 assume
167 asthma
168 athlete
169 atom
170 attack
171 attend
172 attitude
173 attract
174 auction
175 audit
176 august
177 aunt
178 author
179 auto
180 autumn
181 average
182 avocado
183 avoid
184 awake
185 aware
186 away
187 awesome
188 awful
189 awkward
190 axis
191 baby
192 bachelor
193 bacon
194 badge
195 bag
196 balance
197 balcony
198 ball
199 bamboo
200 banana
201 banner
202 bar
203 barely
204 bargain
205 barrel
206 base
207 basic
208 basket
209 battle
210 beach
211 bean
212 beauty
213 because
214 become
215 beef
216 before
217 begin
218 behave
219 behind
220 believe
221 below
222 belt
223 bench
224 benefit
225 best
226 betray
227 better
228 between
229 beyond
230 bicycle
231 bid
232 bike
233 bind
234 biology
235 bird
236 birth
237 bitter
238 black
239 blade
240 blame
241 blanket
242 blast
243 bleak
244 bless
245 blind
246 blood
247 blossom
248 blouse
249 blue
250 blur
251 blush
252 board
253 boat
254 body
255 boil
256 bomb
257 bone
258 bonus
259 book
260 boost
261 border
262 boring
263 borrow
264 boss
265 bottom
266 bounce
267 box
268 boy
269 bracket
270 brain
271 brand
272 brass
273 brave
274 bread
275 breeze
276 brick
277 bridge
278 brief
279 bright
280 bring
281 brisk
282 broccoli
283 broken
284 bronze
285 broom
286 brother
287 brown
288 brush
289 bubble
290 buddy
291 budget
292 buffalo
293 build
294 bulb
295 bulk
296 bullet
297 bundle
298 bunker
299 burden
300 burger
301 burst
302 bus
303 business
304 busy
305 butter
306 buyer
307 buzz
308 cabbage
309 cabin
310 cable
311 cactus
312 cage
313 cake
314 call
315 calm
316 camera
317 camp
318 can
319 canal
320 cancel
321 candy
322 cannon
323 canoe
324 canvas
325 canyon
326 capable
327 capital
328 captain
329 car
330 carbon
331 card
332 cargo
333 carpet
334 carry
335 cart
336 case
337 cash
338 casino
339 castle
340 casual
341 cat
342 catalog
343 catch
344 category
345 cattle
346 caught
347 cause
348 caution
349 cave
350 ceiling
351 celery
352 cement
353 census
354 century
355 cereal
356 certain
357 chair
358 chalk
359 champion
360 change
361 chaos
362 chapter
363 charge
364 chase
365 chat
366 cheap
367 check
368 cheese
369 chef
370 cherry
371 chest
372 chicken
373 chief
374 child
375 chimney
376 choice
377 choose
378 chronic
379 chuckle
380 chunk
381 churn
382 cigar
383 cinnamon
384 circle
385 citizen
386 city
387 civil
388 claim
389 clap
390 clarify
391 claw
392 clay
393 clean
394 clerk
395 clever
396 click
397 client
398 cliff
399 climb
400 clinic
401 clip
402 clock
403 clog
404 close
405 cloth
406 cloud
407 clown
408 club
409 clump
410 cluster
411 clutch
412 coach
413 coast
414 coconut
415 code
416 coffee
417 coil
418 coin
419 collect
420 color
421 column
422 combine
423 come
424 comfort
425 comic
426 common
427 company
428 concert
429 conduct
430 confirm
431 congress
432 connect
433 consider
434 control
435 convince
436 cook
437 cool
438 copper
439 copy
440 coral
441 core
442 corn
443 correct
444 cost
445 cotton
446 couch
447 country
448 couple
449 course
450 cousin
451 cover
452 coyote
453 crack
454 cradle
455 craft
456 cram
457 crane
458 crash
459 crater
460 crawl
461 crazy
462 cream
463 credit
464 creek
465 crew
466 cricket
467 crime
468 crisp
469 critic
470 crop
471 cross
472 crouch
473 crowd
474 crucial
475 cruel
476 cruise
477 crumble
478 crunch
479 crush
480 cry
481 crystal
482 cube
483 culture
484 cup
485 cupboard
486 curious
487 current
488 curtain
489 curve
490 cushion
491 custom
492 cute
493 cycle
494 dad
495 damage
496 damp
497 dance
498 danger
499 daring
500 dash
501 daughter
502 dawn
503 day
504 deal
505 debate
506 debris
507 decade
508 december
509 decide
510 decline
511 decorate
512 decrease
513 deer
514 defense
515 define
516 defy
517 degree
518 delay
519 deliver
520 demand
521 demise
522 denial
523 dentist
524 deny
525 depart
526 depend
527 deposit
528 depth
529 deputy
530 derive
531 describe
532 desert
533 design
534 desk
535 despair
536 destroy
537 detail
538 detect
539 develop
540 device
541 devote
542 diagram
543 dial
544 diamond
545 diary
546 dice
547 diesel
548 diet
549 differ
550 digital
551 dignity
552 dilemma
553 dinner
554 dinosaur
555 direct
556 dirt
557 disagree
558 discover
559 disease
560 dish
561 dismiss
562 disorder
563 display
564 distance
565 divert
566 divide
567 divorce
568 dizzy
569 doctor
570 document
571 dog
572 doll
573 dolphin
574 domain
575 donate
576 donkey
577 donor
578 door
579 dose
580 double
581 dove
582 draft
583 dragon
584 drama
585 drastic
586 draw
587 dream
588 dress
589 drift
590 drill
591 drink
592 drip
593 drive
594 drop
595 drum
596 dry
597 duck
598 dumb
599 dune
600 during
601 dust
602 dutch
603 duty
604 dwarf
605 dynamic
606 eager
607 eagle
608 early
609 earn
610 earth
611 easily
612 east
613 easy
614 echo
615 ecology
616 economy
617 edge
618 edit
619 educate
620 effort
621 egg
622 eight
623 either
624 elbow
625 elder
626 electric
627 elegant
628 element
629 elephant
630 elevator
631 elite
632 else
633 embark
634 embody
635 embrace
636 emerge
637 emotion
638 employ
639 empower
640 empty
641 enable
642 enact
643 end
644 endless
645 endorse
646 enemy
647 energy
648 enforce
649 engage
650 engine
651 enhance
652 enjoy
653 enlist
654 enough
655 enrich
656 enroll
657 ensure
658 enter
659 entire
660 entry
661 envelope
662 episode
663 equal
664 equip
665 era
666 erase
667 erode
668 erosion
669 error
670 erupt
671 escape
672 essay
673 essence
674 estate
675 eternal
676 ethics
677 evidence
678 evil
679 evoke
680 evolve
681 exact
682 example
683 excess
684 exchange
685 excite
686 exclude
687 excuse
688 execute
689 exercise
690 exhaust
691 exhibit
692 exile
693 exist
694 exit
695 exotic
696 expand
697 expect
698 expire
699 explain
700 expose
701 express
702 extend
703 extra
704 eye
705 eyebrow
706 fabric
707 face
708 faculty
709 fade
710 faint
711 faith
712 fall
713 false
714 fame
715 family
716 famous
717 fan
718 fancy
719 fantasy
720 farm
721 fashion
722 fat
723 fatal
724 father
725 fatigue
726 fault
727 favorite
728 feature
729 february
730 federal
731 fee
732 feed
733 feel
734 female
735 fence
736 festival
737 fetch
738 fever
739 few
740 fiber
741 fiction
742 field
743 figure
744 file
745 film
746 filter
747 final
748 find
749 fine
750 finger
751 finish
752 fire
753 firm
754 first
755 fiscal
756 fish
757 fit
758 fitness
759 fix
760 flag
761 flame
762 flash
763 flat
764 flavor
765 flee
766 flight
767 flip
768 float
769 flock
770 floor
771 flower
772 fluid
773 flush
774 fly
775 foam
776 focus
777 fog
778 foil
779 fold
780 follow
781 food
782 foot
783 force
784 forest
785 forget
786 fork
787 fortune
788 forum
789 forward
790 fossil
791 foster
792 found
793 fox
794 fragile
795 frame
796 frequent
797 fresh
798 friend
799 fringe
800 frog
801 front
802 frost
803 frown
804 frozen
805 fruit
806 fuel
807 fun
808 funny
809 furnace
810 fury
811 future
812 gadget
813 gain
814 galaxy
815 gallery
816 game
817 gap
818 garage
819 garbage
820 garden
821 garlic
822 garment
823 gas
824 gasp
825 gate
826 gather
827 gauge
828 gaze
829 general
830 genius
831 genre
832 gentle
833 genuine
834 gesture
835 ghost
836 giant
837 gift
838 giggle
839 ginger
840 giraffe
841 girl
842 give
843 glad
844 glance
845 glare
846 glass
847 glide
848 glimpse
849 globe
850 gloom
851 glory
852 glove
853 glow
854 glue
855 goat
856 goddess
857 gold
858 good
859 goose
860 gorilla
861 gospel
862 gossip
863 govern
864 gown
865 grab
866 grace
867 grain
868 grant
869 grape
870 grass
871 gravity
872 great
873 green
874 grid
875 grief
876 grit
877 grocery
878 group
879 grow
880 grunt
881 guard
882 guess
883 guide
884 guilt
885 guitar
886 gun
887 gym
888 habit
889 hair
890 half
891 hammer
892 hamster
893 hand
894 happy
895 harbor
896 hard
897 harsh
898 harvest
899 hat
900 have
901 hawk
902 hazard
903 head
904 health
905 heart
906 heavy
907 hedgehog
908 height
909 hello
910 helmet
911 help
912 hen
913 hero
914 hidden
915 high
916 hill
917 hint
918 hip
919 hire
920 history
921 hobby
922 hockey
923 hold
924 hole
925 holiday
926 hollow
927 home
928 honey
929 hood
930 hope
931 horn
932 horror
933 horse
934 hospital
935 host
936 hotel
937 hour
938 hover
939 hub
940 huge
941 human
942 humble
943 humor
944 hundred
945 hungry
946 hunt
947 hurdle
948 hurry
949 hurt
950 husband
951 hybrid
952 ice
953 icon
954 idea
955 identify
956 idle
957 ignore
958 ill
959 illegal
960 illness
961 image
962 imitate
963 immense
964 immune
965 impact
966 impose
967 improve
968 impulse
969 inch
970 include
971 income
972 increase
973 index
974 indicate
975 indoor
976 industry
977 infant
978 inflict
979 inform
980 inhale
981 inherit
982 initial
983 inject
984 injury
985 inmate
986 inner
987 innocent
988 input
989 inquiry
990 insane
991 insect
992 inside
993 inspire
994 install
995 intact
996 interest
997 into
998 invest
999 invite
1000 involve
1001 iron
1002 island
1003 isolate
1004 issue
1005 item
1006 ivory
1007 jacket
1008 jaguar
1009 jar
1010 jazz
1011 jealous
1012 jeans
1013 jelly
1014 jewel
1015 job
1016 join
1017 joke
1018 journey
1019 joy
1020 judge
1021 juice
1022 jump
1023 jungle
1024 junior
1025 junk
1026 just
1027 kangaroo
1028 keen
1029 keep
1030 ketchup
1031 key
1032 kick
1033 kid
1034 kidney
1035 kind
1036 kingdom
1037 kiss
1038 kit
1039 kitchen
1040 kite
1041 kitten
1042 kiwi
1043 knee
1044 knife
1045 knock
1046 know
1047 lab
1048 label
1049 labor
1050 ladder
1051 lady
1052 lake
1053 lamp
1054 language
1055 laptop
1056 large
1057 later
1058 latin
1059 laugh
1060 laundry
1061 lava
1062 law
1063 lawn
1064 lawsuit
1065 layer
1066 lazy
1067 leader
1068 leaf
1069 learn
1070 leave
1071 lecture
1072 left
1073 leg
1074 legal
1075 legend
1076 leisure
1077 lemon
1078 lend
1079 length
1080 lens
1081 leopard
1082 lesson
1083 letter
1084 level
1085 liar
1086 liberty
1087 library
1088 license
1089 life
1090 lift
1091 light
1092 like
1093 limb
1094 limit
1095 link
1096 lion
1097 liquid
1098 list
1099 little
1100 live
1101 lizard
1102 load
1103 loan
1104 lobster
1105 local
1106 lock
1107 logic
1108 lonely
1109 long
1110 loop
1111 lottery
1112 loud
1113 lounge
1114 love
1115 loyal
1116 lucky
1117 luggage
1118 lumber
1119 lunar
1120 lunch
1121 luxury
1122 lyrics
1123 machine
1124 mad
1125 magic
1126 magnet
1127 maid
1128 mail
1129 main
1130 major
1131 make
1132 mammal
1133 man
1134 manage
1135 mandate
1136 mango
1137 mansion
1138 manual
1139 maple
1140 marble
1141 march
1142 margin
1143 marine
1144 market
1145 marriage
1146 mask
1147 mass
1148 master
1149 match
1150 material
1151 math
1152 matrix
1153 matter
1154 maximum
1155 maze
1156 meadow
1157 mean
1158 measure
1159 meat
1160 mechanic
1161 medal
1162 media
1163 melody
1164 melt
1165 member
1166 memory
1167 mention
1168 menu
1169 mercy
1170 merge
1171 merit
1172 merry
1173 mesh
1174 message
1175 metal
1176 method
1177 middle
1178 midnight
1179 milk
1180 million
1181 mimic
1182 mind
1183 minimum
1184 minor
1185 minute
1186 miracle
1187 mirror
1188 misery
1189 miss
1190 mistake
1191 mix
1192 mixed
1193 mixture
1194 mobile
1195 model
1196 modify
1197 mom
1198 moment
1199 monitor
1200 monkey
1201 monster
1202 month
1203 moon
1204 moral
1205 more
1206 morning
1207 mosquito
1208 mother
1209 motion
1210 motor
1211 mountain
1212 mouse
1213 move
1214 movie
1215 much
1216 muffin
1217 mule
1218 multiply
1219 muscle
1220 museum
1221 mushroom
1222 music
1223 must
1224 mutual
1225 myself
1226 mystery
1227 myth
1228 naive
1229 name
1230 napkin
1231 narrow
1232 nasty
1233 nation
1234 nature
1235 near
1236 neck
1237 need
1238 negative
1239 neglect
1240 neither
1241 nephew
1242 nerve
1243 nest
1244 net
1245 network
1246 neutral
1247 never
1248 news
1249 next
1250 nice
1251 night
1252 noble
1253 noise
1254 nominee
1255 noodle
1256 normal
1257 north
1258 nose
1259 notable
1260 note
1261 nothing
1262 notice
1263 novel
1264 now
1265 nuclear
1266 number
1267 nurse
1268 nut
1269 oak
1270 obey
1271 object
1272 oblige
1273 obscure
1274 observe
1275 obtain
1276 obvious
1277 occur
1278 ocean
1279 october
1280 odor
1281 off
1282 offer
1283 office
1284 often
1285 oil
1286 okay
1287 old
1288 olive
1289 olympic
1290 omit
1291 once
1292 one
1293 onion
1294 online
1295 only
1296 open
1297 opera
1298 opinion
1299 oppose
1300 option
1301 orange
1302 orbit
1303 orchard
1304 order
1305 ordinary
1306 organ
1307 orient
1308 original
1309 orphan
1310 ostrich
1311 other
1312 outdoor
1313 outer
1314 output
1315 outside
1316 oval
1317 oven
1318 over
1319 own
1320 owner
1321 oxygen
1322 oyster
1323 ozone
1324 pact
1325 paddle
1326 page
1327 pair
1328 palace
1329 palm
1330 panda
1331 panel
1332 panic
1333 panther
1334 paper
1335 parade
1336 parent
1337 park
1338 parrot
1339 party
1340 pass
1341 patch
1342 path
1343 patient
1344 patrol
1345 pattern
1346 pause
1347 pave
1348 payment
1349 peace
1350 peanut
1351 pear
1352 peasant
1353 pelican
1354 pen
1355 penalty
1356 pencil
1357 people
1358 pepper
1359 perfect
1360 permit
1361 person
1362 pet
1363 phone
1364 photo
1365 phrase
1366 physical
1367 piano
1368 picnic
1369 picture
1370 piece
1371 pig
1372 pigeon
1373 pill
1374 pilot
1375 pink
1376 pioneer
1377 pipe
1378 pistol
1379 pitch
1380 pizza
1381 place
1382 planet
1383 plastic
1384 plate
1385 play
1386 please
1387 pledge
1388 pluck
1389 plug
1390 plunge
1391 poem
1392 poet
1393 point
1394 polar
1395 pole
1396 police
1397 pond
1398 pony
1399 pool
1400 popular
1401 portion
1402 position
1403 possible
1404 post
1405 potato
1406 pottery
1407 poverty
1408 powder
1409 power
1410 practice
1411 praise
1412 predict
1413 prefer
1414 prepare
1415 present
1416 pretty
1417 prevent
1418 price
1419 pride
1420 primary
1421 print
1422 priority
1423 prison
1424 private
1425 prize
1426 problem
1427 process
1428 produce
1429 profit
1430 program
1431 project
1432 promote
1433 proof
1434 property
1435 prosper
1436 protect
1437 proud
1438 provide
1439 public
1440 pudding
1441 pull
1442 pulp
1443 pulse
1444 pumpkin
1445 punch
1446 pupil
1447 puppy
1448 purchase
1449 purity
1450 purpose
1451 purse
1452 push
1453 put
1454 puzzle
1455 pyramid
1456 quality
1457 quantum
1458 quarter
1459 question
1460 quick
1461 quit
1462 quiz
1463 quote
1464 rabbit
1465 raccoon
1466 race
1467 rack
1468 radar
1469 radio
1470 rail
1471 rain
1472 raise
1473 rally
1474 ramp
1475 ranch
1476 random
1477 range
1478 rapid
1479 rare
1480 rate
1481 rather
1482 raven
1483 raw
1484 razor
1485 ready
1486 real
1487 reason
1488 rebel
1489 rebuild
1490 recall
1491 receive
1492 recipe
1493 record
1494 recycle
1495 reduce
1496 reflect
1497 reform
1498 refuse
1499 region
1500 regret
1501 regular
1502 reject
1503 relax
1504 release
1505 relief
1506 rely
1507 remain
1508 remember
1509 remind
1510 remove
1511 render
1512 renew
1513 rent
1514 reopen
1515 repair
1516 repeat
1517 replace
1518 report
1519 require
1520 rescue
1521 resemble
1522 resist
1523 resource
1524 response
1525 result
1526 retire
1527 retreat
1528 return
1529 reunion
1530 reveal
1531 review
1532 reward
1533 rhythm
1534 rib
1535 ribbon
1536 rice
1537 rich
1538 ride
1539 ridge
1540 rifle
1541 right
1542 rigid
1543 ring
1544 riot
1545 ripple
1546 risk
1547 ritual
1548 rival
1549 river
1550 road
1551 roast
1552 robot
1553 robust
1554 rocket
1555 romance
1556 roof
1557 rookie
1558 room
1559 rose
1560 rotate
1561 rough
1562 round
1563 route
1564 royal
1565 rubber
1566 rude
1567 rug
1568 rule
1569 run
1570 runway
1571 rural
1572 sad
1573 saddle
1574 sadness
1575 safe
1576 sail
1577 salad
1578 salmon
1579 salon
1580 salt
1581 salute
1582 same
1583 sample
1584 sand
1585 satisfy
1586 satoshi
1587 sauce
1588 sausage
1589 save
1590 say
1591 scale
1592 scan
1593 scare
1594 scatter
1595 scene
1596 scheme
1597 school
1598 science
1599 scissors
1600 scorpion
1601 scout
1602 scrap
1603 screen
1604 script
1605 scrub
1606 sea
1607 search
1608 season
1609 seat
1610 second
1611 secret
1612 section
1613 security
1614 seed
1615 seek
1616 segment
1617 select
1618 sell
1619 seminar
1620 senior
1621 sense
1622 sentence
1623 series
1624 service
1625 session
1626 settle
1627 setup
1628 seven
1629 shadow
1630 shaft
1631 shallow
1632 share
1633 shed
1634 shell
1635 sheriff
1636 shield
1637 shift
1638 shine
1639 ship
1640 shiver
1641 shock
1642 shoe
1643 shoot
1644 shop
1645 short
1646 shoulder
1647 shove
1648 shrimp
1649 shrug
1650 shuffle
1651 shy
1652 sibling
1653 sick
1654 side
1655 siege
1656 sight
1657 sign
1658 silent
1659 silk
1660 silly
1661 silver
1662 similar
1663 simple
1664 since
1665 sing
1666 siren
1667 sister
1668 situate
1669 six
1670 size
1671 skate
1672 sketch
1673 ski
1674 skill
1675 skin
1676 skirt
1677 skull
1678 slab
1679 slam
1680 sleep
1681 slender
1682 slice
1683 slide
1684 slight
1685 slim
1686 slogan
1687 slot
1688 slow
1689 slush
1690 small
1691 smart
1692 smile
1693 smoke
1694 smooth
1695 snack
1696 snake
1697 snap
1698 sniff
1699 snow
1700 soap
1701 soccer
1702 social
1703 sock
1704 soda
1705 soft
1706 solar
1707 soldier
1708 solid
1709 solution
1710 solve
1711 someone
1712 song
1713 soon
1714 sorry
1715 sort
1716 soul
1717 sound
1718 soup
1719 source
1720 south
1721 space
1722 spare
1723 spatial
1724 spawn
1725 speak
1726 special
1727 speed
1728 spell
1729 spend
1730 sphere
1731 spice
1732 spider
1733 spike
1734 spin
1735 spirit
1736 split
1737 spoil
1738 sponsor
1739 spoon
1740 sport
1741 spot
1742 spray
1743 spread
1744 spring
1745 spy
1746 square
1747 squeeze
1748 squirrel
1749 stable
1750 stadium
1751 staff
1752 stage
1753 stairs
1754 stamp
1755 stand
1756 start
1757 state
1758 stay
1759 steak
1760 steel
1761 stem
1762 step
1763 stereo
1764 stick
1765 still
1766 sting
1767 stock
1768 stomach
1769 stone
1770 stool
1771 story
1772 stove
1773 strategy
1774 street
1775 strike
1776 strong
1777 struggle
1778 student
1779 stuff
1780 stumble
1781 style
1782 subject
1783 submit
1784 subway
1785 success
1786 such
1787 sudden
1788 suffer
1789 sugar
1790 suggest
1791 suit
1792 summer
1793 sun
1794 sunny
1795 sunset
1796 super
1797 supply
1798 supreme
1799 sure
1800 surface
1801 surge
1802 surprise
1803 surround
1804 survey
1805 suspect
1806 sustain
1807 swallow
1808 swamp
1809 swap
1810 swarm
1811 swear
1812 sweet
1813 swift
1814 swim
1815 swing
1816 switch
1817 sword
1818 symbol
1819 symptom
1820 syrup
1821 system
1822 table
1823 tackle
1824 tag
1825 tail
1826 talent
1827 talk
1828 tank
1829 tape
1830 target
1831 task
1832 taste
1833 tattoo
1834 taxi
1835 teach
1836 team
1837 tell
1838 ten
1839 tenant
1840 tennis
1841 tent
1842 term
1843 test
1844 text
1845 thank
1846 that
1847 theme
1848 then
1849 theory
1850 there
1851 they
1852 thing
1853 this
1854 thought
1855 three
1856 thrive
1857 throw
1858 thumb
1859 thunder
1860 ticket
1861 tide
1862 tiger
1863 tilt
1864 timber
1865 time
1866 tiny
1867 tip
1868 tired
1869 tissue
1870 title
1871 toast
1872 tobacco
1873 today
1874 toddler
1875 toe
1876 together
1877 toilet
1878 token
1879 tomato
1880 tomorrow
1881 tone
1882 tongue
1883 tonight
1884 tool
1885 tooth
1886 top
1887 topic
1888 topple
1889 torch
1890 tornado
1891 tortoise
1892 toss
1893 total
1894 tourist
1895 toward
1896 tower
1897 town
1898 toy
1899 track
1900 trade
1901 traffic
1902 tragic
1903 train
1904 transfer
1905 trap
1906 trash
1907 travel
1908 tray
1909 treat
1910 tree
1911 trend
1912 trial
1913 tribe
1914 trick
1915 trigger
1916 trim
1917 trip
1918 trophy
1919 trouble
1920 truck
1921 true
1922 truly
1923 trumpet
1924 trust
1925 truth
1926 try
1927 tube
1928 tuition
1929 tumble
1930 tuna
1931 tunnel
1932 turkey
1933 turn
1934 turtle
1935 twelve
1936 twenty
1937 twice
1938 twin
1939 twist
1940 two
1941 type
1942 typical
1943 ugly
1944 umbrella
1945 unable
1946 unaware
1947 uncle
1948 uncover
1949 under
1950 undo
1951 unfair
1952 unfold
1953 unhappy
1954 uniform
1955 unique
1956 unit
1957 universe
1958 unknown
1959 unlock
1960 until
1961 unusual
1962 unveil
1963 update
1964 upgrade
1965 uphold
1966 upon
1967 upper
1968 upset
1969 urban
1970 urge
1971 usage
1972 use
1973 used
1974 useful
1975 useless
1976 usual
1977 utility
1978 vacant
1979 vacuum
1980 vague
1981 valid
1982 valley
1983 valve
1984 van
1985 vanish
1986 vapor
1987 various
1988 vast
1989 vault
1990 vehicle
1991 velvet
1992 vendor
1993 venture
1994 venue
1995 verb
1996 verify
1997 version
1998 very
1999 vessel
2000 veteran
2001 viable
2002 vibrant
2003 vicious
2004 victory
2005 video
2006 view
2007 village
2008 vintage
2009 violin
2010 virtual
2011 virus
2012 visa
2013 visit
2014 visual
2015 vital
2016 vivid
2017 vocal
2018 voice
2019 void
2020 volcano
2021 volume
2022 vote
2023 voyage
2024 wage
2025 wagon
2026 wait
2027 walk
2028 wall
2029 walnut
2030 want
2031 warfare
2032 warm
2033 warrior
2034 wash
2035 wasp
2036 waste
2037 water
2038 wave
2039 way
2040 wealth
2041 weapon
2042 wear
2043 weasel
2044 weather
2045 web
2046 wedding
2047 weekend
2048 weird
2049 welcome
2050 west
2051 wet
2052 whale
2053 what
2054 wheat
2055 wheel
2056 when
2057 where
2058 whip
2059 whisper
2060 wide
2061 width
2062 wife
2063 wild
2064 will
2065 win
2066 window
2067 wine
2068 wing
2069 wink
2070 winner
2071 winter
2072 wire
2073 wisdom
2074 wise
2075 wish
2076 witness
2077 wolf
2078 woman
2079 wonder
2080 wood
2081 wool
2082 word
2083 work
2084 world
2085 worry
2086 worth
2087 wrap
2088 wreck
2089 wrestle
2090 wrist
2091 write
2092 wrong
2093 yard
2094 year
2095 yellow
2096 you
2097 young
2098 youth
2099 zebra
2100 zero
2101 zone
2102 zoo
2103 WORDS
2104  
2105 17 my %INDEX;
2106 17 @INDEX{@WORDS} = ( 0 .. $#WORDS );
2107  
2108 # $class->word($index):
2109 # The word of the 0-based index $index, or undef outside 0 to
2110 # 2047.
2111 2214 ▶sub word ( $, $index )
Subroutine word: called CC=4 SCAR=17.9
Pod documented
2112 0 ▶{
Subroutine word: not called CC=4 SCAR=17.9
Pod documented
2113 0 ▶ return unless defined $index;
Branch: 2 branches
BranchTrueFalseTotal
unless defined $index 1 2212 2213
unless defined $index 0 0 0
2114 0 ▶ return unless $index =~ /\A[0-9]+\z/ && $index <= $#WORDS;
Branch: 2 branches
BranchTrueFalseTotal
unless $index =~ /\A[0-9]+\z/u and $index <= $#WORDS 2 2210 2212
unless $index =~ /\A[0-9]+\z/u and $index <= $#WORDS 0 0 0
Condition50%3/6
$index =~ /\A[0-9]+\z/u and $index <= $#WORDS
!ll&&!rl&&r
112210
$index =~ /\A[0-9]+\z/u and $index <= $#WORDS
!ll&&!rl&&r
000
MC/DC100%2/2
$index =~ /\A[0-9]+\z/u and $index <= $#WORDS
$index =~ /\A[0-9]+\z/u $index <= $#WORDS
MC/DC0%0/2
$index =~ /\A[0-9]+\z/u and $index <= $#WORDS
$index =~ /\A[0-9]+\z/u $index <= $#WORDS
Truth table100%3/3
A and B
A= $index =~ /\A[0-9]+\z/uB= $index <= $#WORDS
ABresult
0X0
100
111
Truth table0%0/3
A and B
A= $index =~ /\A[0-9]+\z/uB= $index <= $#WORDS
ABresult
0X0
100
111
2115 0 return $WORDS[$index];
2116 }
2117  
2118 # $class->index($word):
2119 # The 0-based index of $word, or undef for an unknown word. The
2120 # name repeats a built-in function of perl, so a caller reaches
2121 # this one through the arrow only.
2122 6395 ▶sub index ( $, $word )
Subroutine index: called CC=2 SCAR=9.2
Pod documented
2123 0 ▶{
Subroutine index: not called CC=2 SCAR=9.2
Pod documented
2124 0 ▶ return unless defined $word;
Branch: 2 branches
BranchTrueFalseTotal
unless defined $word 1 6393 6394
unless defined $word 0 0 0
2125 0 return $INDEX{$word};
2126 }
2127  
2128 # $class->words:
2129 # The 2048 words, in list order.
2130 1 ▶sub words ($)
Subroutine words: called CC=1 SCAR=1.2
Pod documented
2131 0 ▶{
Subroutine words: not called CC=1 SCAR=1.2
Pod documented
2132 0 return @WORDS;
2133 }
2134  
2135 17 1;
« blib/lib/App/FuguSeed/Check.pm ↑ Summary lib/App/FuguSeed/QR.pm »