Rotten green tests in Java, Pharo and Python Aranega Vincent; Delplanque Julien; Martinez, Matias ...
Empirical software engineering,
12/2021, Letnik:
26, Številka:
6
Journal Article
Recenzirano
Odprti dostop
Rotten Green Tests are tests that pass, but not because the assertions they contain are true: a rotten test passes because some or all of its assertions are not actually executed. The presence of a ...rotten green test is a test smell, and a bad one, because the existence of a test gives us false confidence that the code under test is valid, when in fact that code may not have been tested at all. This article reports on an empirical evaluation of the tests in a corpus of projects found in the wild. We selected approximately one hundred mature projects written in each of Java, Pharo, and Python. We looked for rotten green tests in each project, taking into account test helper methods, inherited helpers, and trait composition. Previous work has shown the presence of rotten green tests in Pharo projects; the results reported here show that they are also present in Java and Python projects, and that they fall into similar categories. Furthermore, we found code bugs that were hidden by rotten tests in Pharo and Python. We also discuss two test smells —missed fail and missed skip —that arise from the misuse of testing frameworks, and which we observed in tests written in all three languages.
Performing Power van der Meer, Arnout
2020, 2021, 2021-02-15
eBook
Odprti dostop
"Performing Power illuminates how colonial dominance in Indonesia was legitimized, maintained, negotiated, and contested through the everyday staging and public performance of power between the ...colonizer and colonized. Arnout Van der Meer's Performing Power explores what seemingly ordinary interactions reveal about the construction of national, racial, social, religious, and gender identities as well as the experience of modernity in colonial Indonesia. Through acts of everyday resistance, such as speaking a different language, withholding deference, and changing one's appearance and consumer behavior, a new generation of Indonesians contested the hegemonic colonial appropriation of local culture, and the racial and gender inequalities that it sustained. Over time these relationships of domination and subordination became inverted, and by the twentieth century the Javanese used the tropes of Dutch colonial behavior to subvert the administrative hierarchy of the state. Thanks to generous funding from the Sustainable History Monograph Pilot and the Mellon Foundation the ebook editions of this book are available as Open Access (OA) volumes from Cornell Open (cornellopen.org) and other Open Access repositories."
Court dance in Java has changed from a colonial ceremonial tradition into a national artistic classicism. Central to this general transformation has been dance’s role in personal transformation, ...developing appropriate forms of everyday behaviour and strengthening the powers of persuasion that come from the skillful manipulation of both physical and verbal forms of politeness. This account of dance’s significance in performance and in everyday life draws on extensive research, including dance training in Java, and builds on how practitioners interpret and explain the repertoire. The Javanese case is contextualized in relation to social values, religion, philosophy, and commoditization arising from tourism. It also raises fundamental questions about the theorization of culture, society and the body during a period of radical change.
Millions of Javanese peasants live alongside state-controlled
forest lands in one of the world's most densely populated
agricultural regions. Because their legal access and customary
rights to the ...forest have been severely limited, these peasants
have been pushed toward illegal use of forest resources. Rich
Forests, Poor People untangles the complex of peasant and
state politics that has developed in Java over three centuries.
Drawing on historical materials and intensive field research,
including two contemporary case studies, Peluso presents the story
of the forest and its people. Without major changes in forest
policy, Peluso contends, the situation is portentous. Economic,
social, and political costs to the government will increase.
Development efforts will by stymied and forest destruction will
continue. Mindful that a dramatic shift is unlikely, Peluso
suggests how tension between foresters and villagers can be
alleviated while giving peasants a greater stake in local forest
management.
In Alcohol in Early Java: Its Social and Cultural Significance, Jiří Jákl offers an account of the history of alcohol in pre-Islamic Java (9-15th C.E.).
A major contribution to the understanding of Indonesian legal history. Hoadley shows how European colonialism skewed local legal institutions to serve colonial ends, and he discusses a fascinating ...series of cases that illustrate the evolution of this process.
The heterogeneous Sundaland region was assembled by closure of Tethyan oceans and addition of continental fragments. Its Mesozoic and Cenozoic history is illustrated by a new plate tectonic ...reconstruction. A continental block (Luconia–Dangerous Grounds) rifted from east Asia was added to eastern Sundaland north of Borneo in the Cretaceous. Continental blocks that originated in western Australia from the Late Jurassic are now in Borneo, Java and Sulawesi. West Burma was not rifted from western Australia in the Jurassic. The Banda (SW Borneo) and Argo (East Java–West Sulawesi) blocks separated from western Australia and collided with the SE Asian margin between 110 and 90Ma, and at 90Ma the Woyla intra-oceanic arc collided with the Sumatra margin. Subduction beneath Sundaland terminated at this time. A marked change in deep mantle structure at about 110°E reflects different subduction histories north of India and Australia since 90Ma. India and Australia were separated by a transform boundary that was leaky from 90 to 75Ma and slightly convergent from 75 to 55Ma. From 80Ma, India moved rapidly north with north-directed subduction within Tethys and at the Asian margin. It collided with an intra-oceanic arc at about 55Ma, west of Sumatra, and continued north to collide with Asia in the Eocene. Between 90 and 45Ma Australia remained close to Antarctica and there was no significant subduction beneath Sumatra and Java. During this interval Sundaland was largely surrounded by inactive margins with some strike-slip deformation and extension, except for subduction beneath Sumba–West Sulawesi between 63 and 50Ma. At 45Ma Australia began to move north; subduction resumed beneath Indonesia and has continued to the present. There was never an active or recently active ridge subducted in the Late Cretaceous or Cenozoic beneath Sumatra and Java. The slab subducted between Sumatra and east Indonesia in the Cenozoic was Cretaceous or older, except at the very western end of the Sunda Arc where Cenozoic lithosphere has been subducted in the last 20million years. Cenozoic deformation of the region was influenced by the deep structure of Australian fragments added to the Sundaland core, the shape of the Australian margin formed during Jurassic rifting, and the age of now-subducted ocean lithosphere within the Australian margin.
•The West Java Water Quality Index (WJWQI) was presented in this paper.•WJWQI aims to address the limitations of the currently used indices in West Java.•Statistical assessment for parameter ...redundancy undertaken for parameter selection.•Application of WJWQI indicates most monitoring stations had marginal water quality.•Uncertainty and sensitivity analysis of WJWQI done using Monte Carlo simulation.
The West Java Water Quality Index (WJWQI) described in this paper was specifically developed to replace the currently used indices in West Java, Indonesia. The WJWQI addressed the limitations of the currently used indices, namely their inability to make accurate comparison of the general status of water quality between the rivers in West Java, inability to make these comparisons in a cost effective manner, and the lack of credibility and acceptability of the currently used indices by relevant authorities in West Java (since the local conditions and local expert opinion have not been considered in the development of the currently used indices). Addressing these limitations increases the credibility and acceptability of WJWQI to be used by the relevant authorities and the users of WJWQI in West Java. This index was developed using four basic steps, which are selection of parameters, obtaining sub-index values (transformation to a common scale), establishing weights, and aggregation of sub-indices to produce the final index. The methodology for parameter selection used in the development of WJWQI, which considered cost effective monitoring of water quality parameters in West Java rivers and the inclusion of local experts’ opinion in establishing the parameter weights will increase the credibility and acceptability of WJWQI among the relevant authorities and the users of WJWQI. The application of WJWQI for the West Java Province was demonstrated using monitoring data taken between 2001 and 2011, to evaluate the general status of water quality spatially and temporally. The results of the application show that most monitoring stations had marginal water quality, indicating that rivers in the West Java Province have been experiencing water quality deterioration significantly. Moreover, an uncertainty and sensitivity analysis was undertaken through Monte Carlo simulation to determine the robustness of WJWQI, which proved to be robust.
Millions of Javanese peasants live alongside state-controlled forest lands in one of the world's most densely populated agricultural regions. Because their legal access and customary rights to the ...forest have been severely limited, these peasants have been pushed toward illegal use of forest resources. Rich Forests, Poor People untangles the complex of peasant and state politics that has developed in Java over three centuries.Drawing on historical materials and intensive field research, including two contemporary case studies, Peluso presents the story of the forest and its people. Without major changes in forest policy, Peluso contends, the situation is portentous. Economic, social, and political costs to the government will increase. Development efforts will by stymied and forest destruction will continue. Mindful that a dramatic shift is unlikely, Peluso suggests how tension between foresters and villagers can be alleviated while giving peasants a greater stake in local forest management.
Java EE is a collection of technologies and APIs to support Enterprise Application development. The choice of what to use and when can be dauntingly complex for any developer. This book will help you ...master this. Packed with easy to follow recipes, this is your guide to becoming productive with Java EE 8.