Writing oracles is challenging. As a result, developers often create oracles that check too little, resulting in tests that are unable to detect failures, or check too much, resulting in tests that are brittle and difficult to maintain. In this paper we present a new technique for automatically analyzing test oracles. The technique is based on dynamic tainting and detects both brittle assertions-assertions that depend on values that are derived from uncontrolled inputs-and unused inputs-inputs provided by the test that are not checked by an assertion. We also presented OraclePolish, an implementation of the technique that can analyze tests that are written in Java and use the JUnit testing framework. Using OraclePolish, we conducted an empirical evaluation of more than 4000 real test cases. The results of the evaluation show that OraclePolish is effective; it detected 164 tests that contain brittle assertions and 1618 tests that have unused inputs. In addition, the results also demonstrate that the costs associated with using the technique are reasonable.
The paper presents the initial study on the integration of synchrophasor infrastructure within the Oregon State University (OSU) Corvallis campus smart grid project. Two popular approaches for transmission level synchrophasor placement are preliminarily applied in a benchmark distribution level network, and subsequently compared in order to evaluate their performance. The first method utilizes a linear optimization approach given the network electrical distances; the second method inspects the sensitivities of bus voltage and angle with respect to power injection by running ac power flow. Moreover, it considers additional constraints and rules such as the size of system and local operating policies/priorities. Finally, a few candidate solutions are identified for the placement of synchrophasors on the OSU-Corvallis campus. This project also builds a geographical campus grid model in PowerWorld to better visualize the experiment outcomes.
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.