Percentage | Lines | ||
---|---|---|---|
GoogleFonts |
|
23 % | 300 |
CRAP Score | Lines | ||
---|---|---|---|
GoogleFonts::sortFontType() | 30 | 10 | |
GoogleFonts::getJSONFile() | 20 | 10 | |
GoogleFonts::getFontsByWeight() | 12 | 10 | |
GoogleFonts::sortFonts() | 12 | 13 | |
GoogleFonts::retrieveFonts() | 6 | 8 | |
GoogleFonts::buildQueryString() | 6 | 9 | |
GoogleFonts::listFontTypes() | 6 | 10 | |
GoogleFonts::listFonts() | 6 | 9 | |
GoogleFonts::setFontFileLocation() | 4 | 10 | |
GoogleFonts::setApiKey() | 3 | 7 | |