ThreadPoolExecutor

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total717 of 1,63356%141 of 27448%1142081784472571
toString()860%80%55171711
purge()560%120%77141411
setCorePoolSize(int)490%140%88121211
setKeepAliveTime(long, TimeUnit)440%80%55101011
getTaskCount()430%40%33101011
execute(Runnable, long, TimeUnit)351833%3125%23101701
stopCurrentThreadIfNeeded()35410%5116%347901
getCompletedTaskCount()310%20%228811
drainQueue()281636%5116%343801
allowCoreThreadTimeOut(boolean)260%80%557711
ensurePrestart()230%40%336611
addWorker(Runnable, boolean)2210282%131959%101763801
setMaximumPoolSize(int)220%60%446611
checkShutdownAccess()19520%3125%234701
addWorkerFailed(ThreadPoolExecutor.Worker)190%20%228811
getTask()166780%101661%71452201
prestartCoreThread()160%40%332211
contextStopping()140%n/a115511
processWorkerExit(ThreadPoolExecutor.Worker, boolean)135380%7956%5921801
executeInternal(Runnable)125481%31583%31041701
getLargestPoolSize()120%n/a114411
ThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue)100%n/a113311
ThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue, ThreadPoolExecutor.RejectedExecutionHandler)100%n/a113311
setThreadFactory(ThreadFactory)100%20%224411
setRejectedExecutionHandler(ThreadPoolExecutor.RejectedExecutionHandler)100%20%224411
ThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue, ThreadFactory, ThreadPoolExecutor.RejectedExecutionHandler)88791%7750%7822101
compareAndDecrementWorkerCount(int)80%n/a111111
reject(Runnable)60%n/a112211
isStopped()60%n/a111111
getKeepAliveTime(TimeUnit)60%n/a111111
getRejectedExecutionHandler()30%n/a111111
getCorePoolSize()30%n/a111111
allowsCoreThreadTimeOut()30%n/a111111
getThreadRenewalDelay()30%n/a111111
currentThreadShouldBeStopped()22291%2466%241701
getPoolSize()21990%1150%120501
isTerminating()21487%2250%230201
getPoolSizeNoLock()21083%1150%120201
interruptIdleWorkers(boolean)3697%8100%0511301
advanceRunState(int)1995%1375%131601
runWorker(ThreadPoolExecutor.Worker)76100%11191%1702601
tryTerminate()55100%12100%0701701
awaitTermination(long, TimeUnit)35100%4100%030901
getActiveCount()29100%4100%030901
shutdownNow()21100%n/a010901
shutdown()19100%n/a010901
interruptWorkers()15100%2100%020401
static {...}14100%n/a010301
afterExecute(Runnable, Throwable)12100%1375%130501
prestartAllCoreThreads()11100%2100%020401
ThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue, ThreadFactory)10100%n/a010201
remove(Runnable)9100%n/a010301
compareAndIncrementWorkerCount(int)8100%n/a010101
runStateLessThan(int, int)7100%2100%020101
runStateAtLeast(int, int)7100%2100%020101
isRunning(int)6100%2100%020101
decrementWorkerCount()6100%n/a010201
execute(Runnable)6100%n/a010201
isShutdown()6100%n/a010101
isTerminated()6100%n/a010101
workerCountOf(int)4100%n/a010101
ctlOf(int, int)4100%n/a010101
interruptIdleWorkers()4100%n/a010201
setThreadRenewalDelay(long)4100%n/a010201
getSubmittedCount()4100%n/a010101
getThreadFactory()3100%n/a010101
getMaximumPoolSize()3100%n/a010101
getQueue()3100%n/a010101
onShutdown()100%n/a010101
beforeExecute(Thread, Runnable)100%n/a010101
terminated()100%n/a010101