59,022 research outputs found

    Using similarity metrics for mining variability from software repositories

    Get PDF

    JWalk: a tool for lazy, systematic testing of java classes by design introspection and user interaction

    Get PDF
    Popular software testing tools, such as JUnit, allow frequent retesting of modified code; yet the manually created test scripts are often seriously incomplete. A unit-testing tool called JWalk has therefore been developed to address the need for systematic unit testing within the context of agile methods. The tool operates directly on the compiled code for Java classes and uses a new lazy method for inducing the changing design of a class on the fly. This is achieved partly through introspection, using Java’s reflection capability, and partly through interaction with the user, constructing and saving test oracles on the fly. Predictive rules reduce the number of oracle values that must be confirmed by the tester. Without human intervention, JWalk performs bounded exhaustive exploration of the class’s method protocols and may be directed to explore the space of algebraic constructions, or the intended design state-space of the tested class. With some human interaction, JWalk performs up to the equivalent of fully automated state-based testing, from a specification that was acquired incrementally

    From actinides to zinc: Using the full abundance pattern of the brightest star in Reticulum II to distinguish between different r-process sites

    Full text link
    The ultra-faint dwarf galaxy Reticulum II was enriched by a rare and prolific r-process event, such as a neutron star merger. To investigate the nature of this event, we present high-resolution Magellan/MIKE spectroscopy of the brightest star in this galaxy. The high signal-to-noise allows us to determine the abundances of 41 elements, including the radioactive actinide element Th and first ever detections of third r-process peak elements (Os and Ir) in a star outside the Milky Way. The observed neutron-capture element abundances closely match the solar r-process component, except for the first r-process peak which is significantly lower than solar but matches other r-process enhanced stars. The ratio of first peak to heavier r-process elements implies the r-process site produces roughly equal masses of high and low electron fraction ejecta, within a factor of 2. We compare the detailed abundance pattern to predictions from nucleosynthesis calculations of neutron star mergers and magneto-rotationally driven jet supernovae, finding that nuclear physics uncertainties dominate over astrophysical uncertainties. We measure \log\mbox{Th/Eu} = -0.84 \pm 0.06\,\text{(stat)} \pm 0.22\,\text{(sys)}, somewhat lower than all previous Th/Eu observations. The youngest age we derive from this ratio is 21.7±2.8 (stat)±10.3 (sys)21.7 \pm 2.8\,\text{(stat)} \pm 10.3\,\text{(sys)} Gyr, indicating that current initial production ratios do not well describe the r-process event in Reticulum II. The abundance of light elements up to Zn are consistent with extremely metal-poor Milky Way halo stars. They may eventually provide a way to distinguish between neutron star mergers and magneto-rotationally driven jet supernovae, but this would require more detailed knowledge of the chemical evolution of Reticulum II.Comment: 23 pages, 7 figures, accepted to Ap

    Artificial table testing dynamically adaptive systems

    Get PDF
    Dynamically Adaptive Systems (DAS) are systems that modify their behavior and structure in response to changes in their surrounding environment. Critical mission systems increasingly incorporate adaptation and response to the environment; examples include disaster relief and space exploration systems. These systems can be decomposed in two parts: the adaptation policy that specifies how the system must react according to the environmental changes and the set of possible variants to reconfigure the system. A major challenge for testing these systems is the combinatorial explosions of variants and envi-ronment conditions to which the system must react. In this paper we focus on testing the adaption policy and propose a strategy for the selection of envi-ronmental variations that can reveal faults in the policy. Artificial Shaking Table Testing (ASTT) is a strategy inspired by shaking table testing (STT), a technique widely used in civil engineering to evaluate building's structural re-sistance to seismic events. ASTT makes use of artificial earthquakes that simu-late violent changes in the environmental conditions and stresses the system adaptation capability. We model the generation of artificial earthquakes as a search problem in which the goal is to optimize different types of envi-ronmental variations

    Type-driven automated program transformations and cost modelling for optimising streaming programs on FPGAs

    Get PDF
    In this paper we present a novel approach to program optimisation based on compiler-based type-driven program transformations and a fast and accurate cost/performance model for the target architecture. We target streaming programs for the problem domain of scientific computing, such as numerical weather prediction. We present our theoretical framework for type-driven program transformation, our target high-level language and intermediate representation languages and the cost model and demonstrate the effectiveness of our approach by comparison with a commercial toolchain

    Tracing the Scenarios in Scenario-Based Product Design: a study to support scenario generation

    Get PDF
    Scenario-based design originates from the human-computer interaction and\ud software engineering disciplines, and continues to be adapted for product development. Product development differs from software development in the former’s more varied context of use, broader characteristics of users and more tangible solutions. The possible use of scenarios in product design is therefore broader and more challenging. Existing design methods that involve scenarios can be employed in many different stages of the product design process. However, there is no proficient overview that discusses a\ud scenario-based product design process in its full extent. The purposes of creating scenarios and the evolution of scenarios from their original design data are often not obvious, although the results from using scenarios are clearly visible. Therefore, this paper proposes to classify possible scenario uses with their purpose, characteristics and supporting design methods. The classification makes explicit different types of scenarios and their relation to one another. Furthermore, novel scenario uses can be referred or added to the classification to develop it in parallel with the scenario-based design\ud practice. Eventually, a scenario-based product design process could take inspiration for creating scenarios from the classification because it provides detailed characteristics of the scenario

    Contextual impacts on industrial processes brought by the digital transformation of manufacturing: a systematic review

    Get PDF
    The digital transformation of manufacturing (a phenomenon also known as "Industry 4.0" or "Smart Manufacturing") is finding a growing interest both at practitioner and academic levels, but is still in its infancy and needs deeper investigation. Even though current and potential advantages of digital manufacturing are remarkable, in terms of improved efficiency, sustainability, customization, and flexibility, only a limited number of companies has already developed ad hoc strategies necessary to achieve a superior performance. Through a systematic review, this study aims at assessing the current state of the art of the academic literature regarding the paradigm shift occurring in the manufacturing settings, in order to provide definitions as well as point out recurring patterns and gaps to be addressed by future research. For the literature search, the most representative keywords, strict criteria, and classification schemes based on authoritative reference studies were used. The final sample of 156 primary publications was analyzed through a systematic coding process to identify theoretical and methodological approaches, together with other significant elements. This analysis allowed a mapping of the literature based on clusters of critical themes to synthesize the developments of different research streams and provide the most representative picture of its current state. Research areas, insights, and gaps resulting from this analysis contributed to create a schematic research agenda, which clearly indicates the space for future evolutions of the state of knowledge in this field
    • …
    corecore