32,073 research outputs found
Exploring the eradication of code smells: An empirical and theoretical perspective
This article has been made available through the Brunel Open Access Publishing Fund - Copyright @ 2010 Hindawi Publishing CorporationCode smells reflect code decay, and, as such, developers should seek to eradicate such smells through application of “deodorant” in the form of one or more refactorings. However, a relative lack of studies exploring code smells either theoretically or empirically when compared with literature on refactoring suggests that there are reasons why smell eradication is neither being applied in anger, nor the subject of significant research. In this paper, we present three studies as supporting evidence for this stance. The first is an analysis of a set of five, open-source Java systems in which we show very little tendency for smells to be eradicated by developers; the second is an empirical study of a subsystem of a proprietary, C# web-based application where practical problems arise in smell identification and the third, a theoretical enumeration of smell-related refactorings to suggest why smells may be left alone from an effort perspective. Key findings of the study were that first, smells requiring application of simple refactorings were eradicated in favour of smells requiring more complex refactorings; second, a wide range of conflicts and anomalies soon emerged when trying to identify smelly code; an interesting result with respect to comment lines was also observed. Finally, perceived (estimated) effort to eradicate a smell may be a key factor in explaining why smell eradication is avoided by developers. The study thus highlights the need for a clearer research strategy on the issue of code smells and all aspects of their identification and measurement.The research in this paper was supported by
a grant from the UK Engineering and Physical Sciences Research Council (EPSRC) (Grant no: EP/G031126/1
Recommended from our members
Age-related changes to lumbosacral spinal cord motoneurons that modulate bladder and bowel functions in male C57BL/6 mice
Incontinence and sexual dysfunction are often increased in the aged human population. In rats and mice the pattern of micturition and faecal clearance also changes with ageing and is suggestive of bladder and bowel dysfunction
Structure, bonding and morphology of hydrothermally synthesised xonotlite
The authors have systematically investigated the role of synthesis conditions upon the structure and morphology of xonotlite. Starting with a mechanochemically prepared, semicrystalline phase with Ca/Si=1, the authors have prepared a series of xonotlite samples hydrothermally, at temperatures between 200 and 250 degrees C. Analysis in each case was by X-ray photoelectron spectroscopy, environmental scanning electron microscopy and X-ray diffraction. The authors’ use of a much lower water/solid ratio has indirectly confirmed the ‘through solution’ mechanism of xonotlite formation, where silicate dissolution is a key precursor of xonotlite formation. Concerning the role of temperature, too low a temperature (~200 degrees C) fails to yield xonotlite or leads to increased number of structural defects in the silicate chains of xonotlite and too high a temperature (>250 degrees C) leads to degradation of the xonotlite structure, through leaching of interchain calcium. Synthesis duration meanwhile leads to increased silicate polymerisation due to diminishing of the defects in the silicate chains and more perfect crystal morphologies
Aerodynamic design and performance testing of an advanced 30 deg swept, eight bladed propeller at Mach numbers from 0.2 to 0.85
The increased emphasis on fuel conservation in the world has stimulated a series of studies of both conventional and unconventional propulsion systems for commercial aircraft. Preliminary results from these studies indicate that a fuel saving of from 15 to 28 percent may be realized by the use of an advanced high speed turboprop. The turboprop must be capable of high efficiency at Mach 0.8 above 10.68 km (35,000 ft) altitude if it is to compete with turbofan powered commercial aircraft. An advanced turboprop concept was wind tunnel tested. The model included such concepts as an aerodynamically integrated propeller/nacelle, blade sweep and power (disk) loadings approximately three times higher than conventional propeller designs. The aerodynamic design for the model is discussed. Test results are presented which indicate propeller net efficiencies near 80 percent were obtained at high disk loadings at Mach 0.8
Humphrey Center News: Spring/Summer 1986 v. 2, no. 2
Newsletter of the Hubert H. Humphrey Cancer Research Center at Boston University School of Medicine
Magnetoresistance of proximity coupled Au wires
We report measurements of the magnetoresistance (MR) of narrow Au wires
coupled to a superconducting Al contact on one end, and a normal Au contact on
the other. The MR at low magnetic field is quadratic in , with a
characteristic field scale determined by phase coherent paths which
encompass not only the wire, but also the two contacts. is essentially
temperature independent at low temperatures, indicating that the area of the
phase coherent paths is not determined by the superconducting coherence length
in the normal metal, which is strongly temperature dependent at low
temperatures. We identify the relevant length scale as a combination of the
electron phase coherence length in the normal metal and the coherence
length in the superconductor
The HIV Seropositive State and Progression to AIDS: An Overview of Factors Promoting Progression
We have considered factors that predispose to infection by the human immunodeficiency virus as well as the clinical consequences of infection. We have also reviewed what is known about the virological status of the asymptomatic carrier, particularly the female, and the fact that pregnancy may be a cofactor for progression of HIV disease in seropositive women. Additionally, we have discussed several other cofactors that may promote the progression of HIV infection. These include intercurrent infection, excessive use of recreational drugs and alcohol, malnutrition, and stress. With respect to stress, we have reviewed evidence indicating that certain personality factors, by buffering the effects of stress, may play a role in determining the outcome of HIV disease. Possible neuromodulators that may mediate the effect(s) of stress on the immune system are considered. Also discussed is the potentially complicating role of HIV infection of the brain of asymptomatic carriers on psychosocial studies, as well as the possible dysregulation of neuromodulator levels which might result from such infection. The possibility that HIV infection of the brain may act to enhance progression of HIV infection is proposed
On the accretion process in a high-mass star forming region - A multitransitional THz Herschel-HIFI study of ammonia toward G34.26+0.15
[Abridged] Our aim is to explore the gas dynamics and the accretion process
in the early phase of high-mass star formation. The inward motion of molecular
gas in the massive star forming region G34.26+0.15 is investigated by using
high-resolution profiles of seven transitions of ammonia at THz frequencies
observed with Herschel-HIFI. The shapes and intensities of these lines are
interpreted in terms of radiative transfer models of a spherical, collapsing
molecular envelope. An accelerated Lambda Iteration (ALI) method is used to
compute the models. The seven ammonia lines show mixed absorption and emission
with inverse P-Cygni-type profiles that suggest infall onto the central source.
A trend toward absorption at increasingly higher velocities for higher
excitation transitions is clearly seen in the line profiles. The lines show only very weak emission, so these absorption profiles
can be used directly to analyze the inward motion of the gas. This is the first
time a multitransitional study of spectrally resolved rotational ammonia lines
has been used for this purpose. Broad emission is, in addition, mixed with the
absorption in the ortho-NH line, possibly tracing a molecular
outflow from the star forming region. The best-fitting ALI model reproduces the
continuum fluxes and line profiles, but slightly underpredicts the emission and
absorption depth in the ground-state ortho line . The derived
ortho-to-para ratio is approximately 0.5 throughout the infalling cloud core
similar to recent findings for translucent clouds in sight lines toward W31C
and W49N. We find evidence of two gas components moving inwards toward the
central region with constant velocities: 2.7 and 5.3 kms, relative
to the source systemic velocity. The inferred mass accretion rates derived are
sufficient to overcome the expected radiation pressure from G34.26+0.15.Comment: 20 pages, 18 figures, accepted by A&A 3 October 201
- …