MCPcopy Create free account
hub / github.com/DiUS/java-faker / url

Method url

src/main/java/com/github/javafaker/Internet.java:53–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 }
52
53 public String url() {
54 return join(
55 "www",
56 ".",
57 FakerIDN.toASCII(
58 faker.name().firstName().toLowerCase().replaceAll("'", "") +
59 "-" +
60 domainWord()
61 ),
62 ".",
63 domainSuffix()
64 );
65 }
66
67 /**
68 * Generates a random avatar url based on a collection of profile pictures of real people. All this avatar have been

Callers

nothing calls this directly

Calls 5

toASCIIMethod · 0.95
domainWordMethod · 0.95
domainSuffixMethod · 0.95
firstNameMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected