EMMA Coverage Report (generated Sun Mar 01 22:06:14 CET 2015)
[all classes][org.h2.command.dml]

COVERAGE SUMMARY FOR SOURCE FILE [NoOperation.java]

nameclass, %method, %block, %line, %
NoOperation.java100% (1/1)88%  (7/8)89%  (16/18)89%  (8/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class NoOperation100% (1/1)88%  (7/8)89%  (16/18)89%  (8/9)
queryMeta (): ResultInterface 0%   (0/1)0%   (0/2)0%   (0/1)
NoOperation (Session): void 100% (1/1)100% (4/4)100% (2/2)
getType (): int 100% (1/1)100% (2/2)100% (1/1)
isQuery (): boolean 100% (1/1)100% (2/2)100% (1/1)
isReadOnly (): boolean 100% (1/1)100% (2/2)100% (1/1)
isTransactional (): boolean 100% (1/1)100% (2/2)100% (1/1)
needRecompile (): boolean 100% (1/1)100% (2/2)100% (1/1)
update (): int 100% (1/1)100% (2/2)100% (1/1)

1/*
2 * Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0,
3 * and the EPL 1.0 (http://h2database.com/html/license.html).
4 * Initial Developer: H2 Group
5 */
6package org.h2.command.dml;
7 
8import org.h2.command.CommandInterface;
9import org.h2.command.Prepared;
10import org.h2.engine.Session;
11import org.h2.result.ResultInterface;
12 
13/**
14 * Represents an empty statement or a statement that has no effect.
15 */
16public class NoOperation extends Prepared {
17 
18    public NoOperation(Session session) {
19        super(session);
20    }
21 
22    @Override
23    public int update() {
24        return 0;
25    }
26 
27    @Override
28    public boolean isQuery() {
29        return false;
30    }
31 
32    @Override
33    public boolean isTransactional() {
34        return true;
35    }
36 
37    @Override
38    public boolean needRecompile() {
39        return false;
40    }
41 
42    @Override
43    public boolean isReadOnly() {
44        return true;
45    }
46 
47    @Override
48    public ResultInterface queryMeta() {
49        return null;
50    }
51 
52    @Override
53    public int getType() {
54        return CommandInterface.NO_OPERATION;
55    }
56 
57}

[all classes][org.h2.command.dml]
EMMA 2.0.5312 (C) Vladimir Roubtsov