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

devonfw / IDEasy / 15194259932

22 May 2025 06:35PM UTC coverage: 67.399% (-0.3%) from 67.716%
15194259932

Pull #1334

github

web-flow
Merge 51098c5fd into f34447afb
Pull Request #1334: #1332: fixed bug pattern, proper Step usage, allow running tool if plugin failed

3117 of 5030 branches covered (61.97%)

Branch coverage included in aggregate %.

7993 of 11454 relevant lines covered (69.78%)

3.06 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