Subroutine Coverage

lib/Catan/Game/Player.pm
Criterion Covered Total %
subroutine 55 60 91.6
pod 0 42 0.0


line count pod subroutine
3 4 n/a BEGIN
3 1 n/a BEGIN
4 4 n/a BEGIN
4 1 n/a BEGIN
5 4 n/a BEGIN
5 1 n/a BEGIN
6 4 n/a BEGIN
6 1 n/a BEGIN
7 4 n/a BEGIN
7 1 n/a BEGIN
8 4 n/a BEGIN
8 1 n/a BEGIN
9 4 n/a BEGIN
9 1 n/a BEGIN
10 4 n/a BEGIN
10 1 n/a BEGIN
14 4 n/a BEGIN
14 1 n/a BEGIN
18 9 No new
41 0 No resource_lose_random
51 20 No resource_total
57 0 No summary
79 37 No buy_asset
91 30 No road_build
112 18 No has_connecting_road
118 30 No has_connecting_property
124 13 No settlement_build
141 6 No city_build
173 8 No development_card_build
184 7 No development_card_play
212 0 No action_history
213 247 No actions_taken
214 89 No action_add
218 64 No actions_clear
223 1 No victory_points_add
227 441 No victory_points_count
237 1 No largest_army_toggle
243 3 No longest_road_toggle
249 172 No max_road_calculate
282 0 No max_road_length
286 3624 No backtrack
333 13 No update_ratios
372 56 No roll_dice
377 2494 No number
378 1982 No properties
379 392 No roads
380 76 No settlements
381 5 No cities
382 798 No resources
383 108 No has_rolled_dice
384 39 No has_built_road
385 22 No has_built_settlement
386 0 No has_built_city
387 14 No has_played_dc
388 3 No add_knight
389 12 No knights
390 115 No longest_road
391 10 No largest_army
392 39 No name
393 136 No ratios