Code

Rating   Name Duplication Size Complexity CRAP
B card.js ➔ describe(ꞌGet cards with different valuesꞌ) 0 113 1 ?
A cardDeck.js ➔ ... ➔ it(ꞌget all cards, one by oneꞌ) 0 22 2 ?
A cardParameterized.js ➔ describe(ꞌCheck card ranksꞌ) 0 22 1 ?
A card.js ➔ ... ➔ it(ꞌshould have rank 14ꞌ) 0 6 1 ?
A card.js ➔ ... ➔ describe(ꞌGet card with value 39ꞌ) 0 15 1 ?
A cardParameterized.js ➔ checkCard 0 6 1 ?
A card.js ➔ ... ➔ it(ꞌshould have rank 2ꞌ) 0 6 1 ?
A card.js ➔ ... ➔ it(ꞌshould be undefinedꞌ) 0 6 1 ?
A cardDeck.js ➔ ... ➔ it(ꞌshould be 104 cardsꞌ) 0 6 1 ?
A card.js ➔ ... ➔ it(ꞌshould be card ♥Kꞌ) 0 6 1 ?
A card.js ➔ ... ➔ it(ꞌshould be card ♥Aꞌ) 0 6 1 ?
A cardParameterized.js ➔ checkRank 0 6 1 ?
A card.js ➔ ... ➔ it(ꞌshould be card ♠Aꞌ) 0 6 1 ?
A card.js ➔ ... ➔ describe(ꞌGet card with value 1ꞌ) 0 15 1 ?
A card.js ➔ ... ➔ describe(ꞌGet card with value 0ꞌ) 0 15 1 ?