1,828,804 research outputs found
Definition, implementation and validation of energy code smells: an exploratory study on an embedded system
Optimizing software in terms of energy efficiency is one of the challenges that both research and industry will have to face in the next few years.We consider energy efficiency as a software product quality characteristic, to be improved through the refactoring of appropriate code pattern: the aim of this work is identifying those code patterns, hereby defined as Energy Code Smells, that might increase the impact of software over power consumption. For our purposes, we perform an experiment consisting in the execution of several code patterns on an embedded system. These code patterns are executed in two versions: the first one contains a code issue that could negatively impact power consumption, the other one is refactored removing the issue. We measure the power consumption of the embedded device during the execution of each code pattern. We also track the execution time to investigate whether Energy Code Smells are also Performance Smells. Our results show that some Energy Code Smells actually have an impact over power consumption in the magnitude order of micro Watts. Moreover, those Smells did not introduce a performance decreas
Code Flows: Visualizing Structural Evolution of Source Code
Understanding detailed changes done to source code is of great importance in software maintenance. We present Code Flows, a method to visualize the evolution of source code geared to the understanding of fine and mid-level scale changes across several file versions. We enhance an existing visual metaphor to depict software structure changes with techniques that emphasize both following unchanged code as well as detecting and highlighting important events such as code drift, splits, merges, insertions and deletions. The method is illustrated with the analysis of a real-world C++ code system.
Fourteen years of R/qtl: Just barely sustainable
R/qtl is an R package for mapping quantitative trait loci (genetic loci that
contribute to variation in quantitative traits) in experimental crosses. Its
development began in 2000. There have been 38 software releases since 2001. The
latest release contains 35k lines of R code and 24k lines of C code, plus 15k
lines of code for the documentation. Challenges in the development and
maintenance of the software are discussed. A key to the success of R/qtl is
that it remains a central tool for the chief developer's own research work, and
so its maintenance is of selfish importance.Comment: Previously submission to First Workshop on Sustainable Software for
Science: Practice and Experiences (WSSSPE),
http://wssspe.researchcomputing.org.uk; revised for submission to the Journal
of Open Research Software, http://openresearchsoftware.metajnl.com
- …
