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

DataBiosphere / consent / #5928

19 May 2025 12:15PM UTC coverage: 78.727% (-0.06%) from 78.785%
#5928

push

web-flow
DT-1660: Remove LC institution and era commons values (#2526)

20 of 22 new or added lines in 5 files covered. (90.91%)

3 existing lines in 3 files now uncovered.

10003 of 12706 relevant lines covered (78.73%)

0.79 hits per line

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

90.91
/src/main/java/org/broadinstitute/consent/http/enumeration/OrganizationType.java
1
package org.broadinstitute.consent.http.enumeration;
2

3
public enum OrganizationType {
1✔
4
  FOR_PROFIT("For-Profit"),
1✔
5
  NON_PROFIT("Nonprofit");
1✔
6

7
  final String value;
8

9
  OrganizationType(String value) {
1✔
10
    this.value = value;
1✔
11
  }
1✔
12

13
  public static OrganizationType getOrganizationTypeFromString(String value) {
14
    for (OrganizationType e : OrganizationType.values()) {
1✔
15
      if (e.getValue().equalsIgnoreCase(value)) {
1✔
16
        return e;
1✔
17
      }
18
    }
UNCOV
19
    return null;
×
20
  }
21

22

23
  public String getValue() {
24
    return value;
1✔
25
  }
26
}
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