Abstract-A failed test reveals a potential bug in the tested code. Developers need to understand which parts of the test are relevant to the failure before they start bug-fixing.This paper presents a fully-automated technique (and its tool implementation, called FailureDoc) to explain a failed test. FailureDoc augments the failed test with explanatory documentation in the form of code comments. The comments indicate changes to the test that would cause it to pass, helping programmers understand why the test fails.We evaluated FailureDoc on five real-world programs. FailureDoc generated meaningful comments for most of the failed tests. The inferred comments were concise and revealed important debugging clues. We further conducted a user study. The results showed that FailureDoc is useful in bug diagnosis.
Lipopolysaccharide (LPS) is associated with adverse developmental outcomes including embryonic resorption, fetal death, congenital teratogenesis and fetal growth retardation. Here, we explored the effects of maternal LPS exposure during pregnancy on testicular development, steroidogenesis and spermatogenesis in male offspring. The pregnant mice were intraperitoneally injected with LPS (50 µg/kg) daily from gestational day (GD) 13 to GD 17. At fetal period, a significant decrease in body weight and abnormal Leydig cell aggregations were observed in males whose mothers were exposed to LPS during pregnancy. At postnatal day (PND) 26, anogenital distance (AGD), a sensitive index of altered androgen action, was markedly reduced in male pups whose mothers were exposed to LPS daily from GD13 to GD 17. At PND35, the weight of testes, prostates and seminal vesicles, and serum testosterone (T) level were significantly decreased in LPS-treated male pups. At adulthood, the number of sperm was significantly decreased in male offspring whose mothers were exposed to LPS on GD 13–17. Maternal LPS exposure during gestation obviously diminished the percent of seminiferous tubules in stages I–VI, increased the percent of seminiferous tubules in stages IX–XII, and caused massive sloughing of germ cells in seminiferous tubules in mouse testes. Moreover, maternal LPS exposure significantly reduced serum T level in male mice whose mothers were exposed to LPS challenge during pregnancy. Taken together, these results suggest that maternal LPS exposure during pregnancy disrupts T production. The decreased T synthesis might be associated with LPS-induced impairments for spermatogenesis in male offspring.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.