FSNamesystemLock

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total748 of 7480%62 of 620%66661701703535
readUnlock(String, Supplier)1890%220%1212404011
writeUnlock(String, boolean, Supplier)1740%200%1111313111
FSNamesystemLock(Configuration, String, MutableRatesWithAggregation, Timer)1360%20%22242411
addMetric(String, long, boolean)310%40%338811
updateLockWait(long, boolean)310%60%448811
doLock(boolean)200%20%226611
doLockInterruptibly(boolean)200%20%226611
getMetricName(String, boolean)180%20%222211
updateProcessingDetails(ProcessingDetails.Timing, long)130%20%224411
FSNamesystemLock(Configuration, String, MutableRatesWithAggregation)90%n/a112211
writeUnlock()60%n/a112211
writeUnlock(String)60%n/a112211
writeUnlock(String, Supplier)60%n/a112211
writeUnlock(String, boolean)60%n/a112211
readUnlock()50%n/a112211
readUnlock(String)50%n/a112211
newWriteLockCondition()50%n/a111111
readLock()40%n/a112211
readLockInterruptibly()40%n/a112211
writeLock()40%n/a112211
writeLockInterruptibly()40%n/a112211
getReadHoldCount()40%n/a111111
getWriteHoldCount()40%n/a111111
isWriteLockedByCurrentThread()40%n/a111111
getQueueLength()40%n/a111111
getNumOfReadLockLongHold()40%n/a111111
getNumOfWriteLockLongHold()40%n/a111111
setMetricsEnabled(boolean)40%n/a112211
setReadLockReportingThresholdMs(long)40%n/a112211
setWriteLockReportingThresholdMs(long)40%n/a112211
setLockForTests(ReentrantReadWriteLock)40%n/a112211
isMetricsEnabled()30%n/a111111
getReadLockReportingThresholdMs()30%n/a111111
getWriteLockReportingThresholdMs()30%n/a111111
getLockForTests()30%n/a111111