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

leeonky / test-charm-java / 218

15 Apr 2025 02:45PM UTC coverage: 74.045% (-0.04%) from 74.088%
218

push

circleci

leeonky
Introduce adaptiveList

20 of 21 new or added lines in 3 files covered. (95.24%)

34 existing lines in 11 files now uncovered.

7968 of 10761 relevant lines covered (74.05%)

0.74 hits per line

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

77.78
/DAL-extension-basic/src/main/java/com/github/leeonky/dal/extensions/basic/sftp/util/Util.java
1
package com.github.leeonky.dal.extensions.basic.sftp.util;
2

3
import java.io.FileNotFoundException;
4
import java.util.Optional;
5

6
import static com.github.leeonky.util.Sneaky.sneakyThrow;
7

UNCOV
8
public class Util {
×
9
    public static final DirDumper DIR_DUMPER = new DirDumper();
1✔
10
    public static final FileDumper FILE_DUMPER = new FileDumper();
1✔
11

12
    public static Object getSubFile(SFtpFile sFtpFile, Object property) {
13
        Optional<SFtpFile> first = sFtpFile.access(property);
1✔
14
        if (first.isPresent())
1✔
15
            return first.get();
1✔
16
        if (sFtpFile.ls().stream().anyMatch(f -> f.name().startsWith(property + ".")))
1✔
17
            return new SftpFileGroup(sFtpFile, property.toString());
1✔
UNCOV
18
        return sneakyThrow(new FileNotFoundException(String.format("File or File Group <%s> not found", property)));
×
19
    }
20
}
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