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

stasha / flex / 17

29 Apr 2025 11:38PM UTC coverage: 67.722% (-6.4%) from 74.123%
17

push

circleci

stasha
Added bunch of changes and various experiments

206 of 343 branches covered (60.06%)

Branch coverage included in aggregate %.

143 of 219 new or added lines in 12 files covered. (65.3%)

4 existing lines in 2 files now uncovered.

436 of 605 relevant lines covered (72.07%)

0.72 hits per line

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

55.0
/src/main/java/com/stasha/info/flex/parsers/FlexParsedTemplate.java
1
package com.stasha.info.flex.parsers;
2

3
import java.util.Arrays;
4

5
/**
6
 *
7
 * @author stasha
8
 */
9
public class FlexParsedTemplate {
10

11
    private final String value;
12
    private final String strToReplace;
13
    private final FlexStringTemplateOptions options;
14
    private final String[] formats;
15

16
    public FlexParsedTemplate(String strToReplace, String value, FlexStringTemplateOptions options, String[] formats) {
1✔
17
        this.strToReplace = strToReplace;
1✔
18
        this.value = value;
1✔
19
        this.options = options;
1✔
20
        this.formats = formats;
1✔
21
    }
1✔
22

23
    public String getStrToReplace() {
24
        return strToReplace;
1✔
25
    }
26

27
    public String getValue() {
28
        return this.value;
1✔
29
    }
30

31
    public FlexStringTemplateOptions getOptions() {
32
        return options;
1✔
33
    }
34

35
    public String[] getFormats() {
36
        return formats;
1✔
37
    }
38
    
39
    public boolean isSimple() {
NEW
40
        return (options == null || !options.hasOptions()) && (formats == null || formats.length > 0);
×
41
    }
42

43
    @Override
44
    public String toString() {
45
        return "value=" + value + ", options=" + options + ", formats=" + Arrays.toString(formats);
1✔
46
    }
47

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