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

hazendaz / jmockit1 / 496

15 Nov 2025 05:33PM UTC coverage: 72.192% (-0.008%) from 72.2%
496

push

github

web-flow
Merge pull request #412 from hazendaz/renovate/major-spring-core

Update spring core to v7 (major)

5677 of 8360 branches covered (67.91%)

Branch coverage included in aggregate %.

11922 of 16018 relevant lines covered (74.43%)

0.74 hits per line

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

75.0
/coverageTests/src/main/java/integration/tests/UnreachableStatements.java
1
/*
2
 * MIT License
3
 * Copyright (c) 2006-2025 JMockit developers
4
 * See LICENSE file for full license text.
5
 */
6
package integration.tests;
7

8
/**
9
 * The Class UnreachableStatements.
10
 */
11
public final class UnreachableStatements {
1✔
12

13
    /**
14
     * Non branching method with unreachable lines.
15
     */
16
    void nonBranchingMethodWithUnreachableLines() {
17
        int a = 1;
1✔
18
        assert false;
1✔
19
        System.gc();
×
20
    }
×
21

22
    /**
23
     * Branching method with unreachable lines.
24
     *
25
     * @param a
26
     *            the a
27
     */
28
    void branchingMethodWithUnreachableLines(int a) {
29
        if (a > 0) {
1✔
30
            assert false;
1✔
31
            System.gc();
×
32
        }
33

34
        System.runFinalization();
1✔
35
    }
1✔
36
}
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

© 2026 Coveralls, Inc