Subroutine Coverage

lib/Catan/Game/Player.pm
Criterion Covered Total %
subroutine 23 60 38.3
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 0 No resource_total
57 0 No summary
79 0 No buy_asset
91 0 No road_build
112 0 No has_connecting_road
118 0 No has_connecting_property
124 0 No settlement_build
141 0 No city_build
173 0 No development_card_build
184 0 No development_card_play
212 0 No action_history
213 0 No actions_taken
214 0 No action_add
218 0 No actions_clear
223 0 No victory_points_add
227 0 No victory_points_count
237 0 No largest_army_toggle
243 0 No longest_road_toggle
249 0 No max_road_calculate
282 0 No max_road_length
286 0 No backtrack
333 0 No update_ratios
372 0 No roll_dice
377 74 No number
378 0 No properties
379 0 No roads
380 0 No settlements
381 0 No cities
382 13 No resources
383 0 No has_rolled_dice
384 0 No has_built_road
385 0 No has_built_settlement
386 0 No has_built_city
387 0 No has_played_dc
388 0 No add_knight
389 0 No knights
390 0 No longest_road
391 0 No largest_army
392 1 No name
393 3 No ratios