EMMA Coverage Report (generated Fri Mar 15 09:08:15 CET 2013)
[all classes][jpacman.model]

COVERAGE SUMMARY FOR SOURCE FILE [Wall.java]

nameclass, %method, %block, %line, %
Wall.java100% (1/1)100% (4/4)66%  (27/41)79%  (6.4/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Wall100% (1/1)100% (4/4)66%  (27/41)79%  (6.4/8)
meetPlayer (PlayerMove): boolean 100% (1/1)57%  (16/28)65%  (2.6/4)
<static initializer> 100% (1/1)75%  (6/8)75%  (0.8/1)
Wall (): void 100% (1/1)100% (3/3)100% (2/2)
guestType (): char 100% (1/1)100% (2/2)100% (1/1)

1package jpacman.model;
2 
3/**
4 * A wall positioned on a cell on the board.
5 *
6 * @author Arie van Deursen; Aug 2, 2003
7 * @version $Id: Wall.java,v 1.6 2008/02/07 08:40:42 arie Exp $
8 */
9public class Wall extends Guest {
10 
11    /**
12     * Create a new wall.
13     */
14    public Wall() {
15        super();
16    }
17 
18    /**
19     * The player wants to occupy the wall's cell.
20     * @param aMove the move the player wants to make.
21     * @return false, the player cannot move here.
22     *
23     * @see jpacman.model.Guest#meetPlayer(jpacman.model.PlayerMove)
24     */
25    @Override
26    public boolean meetPlayer(PlayerMove aMove) {
27        assert guestInvariant();
28        assert aMove != null;
29        assert !aMove.initialized();
30        return false;
31    }
32 
33    /**
34     * @see jpacman.model.Guest#guestType()
35     * @return A character encoding for the wall.
36     */
37    @Override
38    public char guestType() {
39        return Guest.WALL_TYPE;
40    }
41}

[all classes][jpacman.model]
EMMA 2.0.5312 (C) Vladimir Roubtsov