• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / rocketmq / 7926

pending completion
7926

push

travis-ci-com

GitHub
[ISSUE #5965] Fix lmqTopicQueueTable initialization (#5967)

10 of 10 new or added lines in 2 files covered. (100.0%)

22455 of 43079 relevant lines covered (52.13%)

1.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.62
/common/src/main/java/org/apache/rocketmq/common/stats/StatsSnapshot.java
1
/*
2
 * Licensed to the Apache Software Foundation (ASF) under one or more
3
 * contributor license agreements.  See the NOTICE file distributed with
4
 * this work for additional information regarding copyright ownership.
5
 * The ASF licenses this file to You under the Apache License, Version 2.0
6
 * (the "License"); you may not use this file except in compliance with
7
 * the License.  You may obtain a copy of the License at
8
 *
9
 *     http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 * Unless required by applicable law or agreed to in writing, software
12
 * distributed under the License is distributed on an "AS IS" BASIS,
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 * See the License for the specific language governing permissions and
15
 * limitations under the License.
16
 */
17

18
package org.apache.rocketmq.common.stats;
19

20
public class StatsSnapshot {
2✔
21
    private long sum;
22
    private double tps;
23

24
    private long times;
25
    private double avgpt;
26

27
    public long getSum() {
28
        return sum;
2✔
29
    }
30

31
    public void setSum(long sum) {
32
        this.sum = sum;
2✔
33
    }
2✔
34

35
    public double getTps() {
36
        return tps;
×
37
    }
38

39
    public void setTps(double tps) {
40
        this.tps = tps;
2✔
41
    }
2✔
42

43
    public double getAvgpt() {
44
        return avgpt;
×
45
    }
46

47
    public void setAvgpt(double avgpt) {
48
        this.avgpt = avgpt;
2✔
49
    }
2✔
50

51
    public long getTimes() {
52
        return times;
2✔
53
    }
54

55
    public void setTimes(long times) {
56
        this.times = times;
2✔
57
    }
2✔
58
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc