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

pkiraly / metadata-qa-marc / #1433

18 Mar 2025 09:04PM UTC coverage: 90.582% (-0.02%) from 90.603%
#1433

push

pkiraly
Normalise place names with external dictionary file #598

145 of 169 new or added lines in 5 files covered. (85.8%)

36406 of 40191 relevant lines covered (90.58%)

0.91 hits per line

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

75.0
/src/main/java/de/gwdg/metadataqa/marc/cli/utils/placename/PlaceName.java
1
package de.gwdg.metadataqa.marc.cli.utils.placename;
2

3
public class PlaceName {
4
  private String city;
5
  private int geoid;
6
  private String geoname;
7
  private String country;
8
  private float latitude;
9
  private float longitude;
10

11
  public PlaceName(String city, int geoid, String geoname, String country, float latitude, float longitude) {
1✔
12
    this.city = city;
1✔
13
    this.country = country;
1✔
14
    this.geoname = geoname;
1✔
15
    this.geoid = geoid;
1✔
16
    this.latitude = latitude;
1✔
17
    this.longitude = longitude;
1✔
18
  }
1✔
19

20
  public PlaceName(String[] row) {
21
    this(row[0], Integer.parseInt(row[1]), row[2], row[3], Float.parseFloat(row[4]), Float.parseFloat(row[5]));
1✔
22
  }
1✔
23

24
  public String getCity() {
25
    return city;
1✔
26
  }
27

28
  public String getCountry() {
NEW
29
    return country;
×
30
  }
31

32
  public String getGeoname() {
NEW
33
    return geoname;
×
34
  }
35

36
  public int getGeoid() {
37
    return geoid;
1✔
38
  }
39

40
  public float getLatitude() {
NEW
41
    return latitude;
×
42
  }
43

44
  public float getLongitude() {
NEW
45
    return longitude;
×
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