MimeDetectionTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,269 of 1,2690%14 of 140%34342432432727
testTgaDetection()1860%n/a11333311
testHtmlMagicNeedsTagEnd()1090%40%33131311
testRustVersusRlsServices()920%n/a11111111
testDetection()910%n/a11232311
testOs2BitmapArrayIsNotAnIcon()870%20%22121211
testXulByContent()760%20%22151511
testMimeMagicClashSamePriority()710%n/a11161611
testRFC822WithBOM()650%n/a11111111
testEmptyDocument()580%n/a11141411
testSuperTypes()550%n/a11111111
testByteOrderMark()490%n/a117711
testStream(String, String, InputStream)480%n/a119911
tgaHeader(int, int, int, int, int)450%20%22111111
testAnimatedCursorDetection()350%n/a118811
testLyingDeclaredLengthDoesNotTruncateMagic()330%n/a117711
testDetectionWithoutContent()290%n/a118811
testUrlWithoutContent(String, String)250%n/a115511
detect(byte[], String)230%20%225511
testNotXML()170%n/a113311
assertDetected(MediaType, byte[])150%n/a113311
testUrlOnly(String, String)120%n/a113311
testMimeMagicStability()120%20%223311
testUrl(String, String, String)110%n/a113311
testFile(String, String)110%n/a113311
setUp()60%n/a113311
testPNGWithSomeEmlHeaders()50%n/a112211
MimeDetectionTest()30%n/a111111