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

devonfw / IDEasy / 15217656699

23 May 2025 07:22PM UTC coverage: 67.562% (-0.3%) from 67.89%
15217656699

push

github

web-flow
#1332: fixed bug pattern, proper Step usage, allow running tool if plugin failed (#1334)

Co-authored-by: jan-vcapgemini <59438728+jan-vcapgemini@users.noreply.github.com>

3151 of 5064 branches covered (62.22%)

Branch coverage included in aggregate %.

8048 of 11512 relevant lines covered (69.91%)

3.07 hits per line

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

0.0
cli/src/main/java/com/devonfw/tools/ide/step/StepSummary.java
1
package com.devonfw.tools.ide.step;
2

3
/**
4
 * Simple container for the overall summary of a {@link Step}.
5
 *
6
 * @see StepImpl#logSummary(boolean)
7
 */
8
class StepSummary {
×
9

10
  private int total;
11

12
  private int error;
13

14
  /**
15
   * @return the total number of {@link Step}s that had been executed.
16
   */
17
  public int getTotal() {
18

19
    return this.total;
×
20
  }
21

22
  /**
23
   * @return the number of {@link Step}s that failed.
24
   */
25
  public int getError() {
26

27
    return this.error;
×
28
  }
29

30
  /**
31
   * @param failure - see {@link Step#isFailure()}.
32
   */
33
  public void add(boolean failure) {
34

35
    this.total++;
×
36
    if (failure) {
×
37
      this.error++;
×
38
    }
39
  }
×
40

41
  @Override
42
  public String toString() {
43

44
    return this.error + " step(s) failed out of " + this.total + " steps.";
×
45
  }
46

47
}
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