67,147 research outputs found
A heuristic-based approach to code-smell detection
Encapsulation and data hiding are central tenets of the object oriented paradigm. Deciding what data and behaviour to form into a class and where to draw the line between its public and private details can make the difference between a class that is an understandable, flexible and reusable abstraction and one which is not. This decision is a difficult one and may easily result in poor encapsulation which can then have serious implications for a number of system qualities. It is often hard to identify such encapsulation problems within large software systems until they cause a maintenance problem (which is usually too late) and attempting to perform such analysis manually can also be tedious and error prone. Two of the common encapsulation problems that can arise as a consequence of this decomposition process are data classes and god classes. Typically, these two problems occur together – data classes are lacking in functionality that has typically been sucked into an over-complicated and domineering god class. This paper describes the architecture of a tool which automatically detects data and god classes that has been developed as a plug-in for the Eclipse IDE. The technique has been evaluated in a controlled study on two large open source systems which compare the tool results to similar work by Marinescu, who employs a metrics-based approach to detecting such features. The study provides some valuable insights into the strengths and weaknesses of the two approache
Leadership then at all events
Theory purporting to identify leadership remains over-determined by one of two underlying fallacies. Traditionally, it hypostatizes leadership in psychological terms so that it appears as the collection of attributes belonging to an independent, discrete person. By contrast, contemporary perspectives approach leadership by focusing on the intermediary relations between leaders and followers. We retreat from both of these conceptions. Our approach perceives these terms as continuous within each other and not merely as adjacent individuals. The upshot is that leadership should be understood as a more fundamental type of relatedness, one that is glimpsed in the active process we are here calling events. We suggest further work consistent with these ideas offers an innovative and useful line of inquiry, both by extending our theoretical understanding of leadership, but also because of the empirical challenges such a study invites
Impact of surface-polish on the angular and wavelength dependence of fiber focal ratio degradation
We present measurements of how multimode fiber focal-ratio degradation (FRD)
and throughput vary with levels of fiber surface polish from 60 to 0.5 micron
grit. Measurements used full-beam and laser injection methods at wavelengths
between 0.4 and 0.8 microns on 17 meter lengths of Polymicro FBP 300 and 400
micron core fiber. Full-beam injection probed input focal-ratios between f/3
and f/13.5, while laser injection allowed us to isolate FRD at discrete
injection angles up to 17 degrees (f/1.6 marginal ray). We find (1) FRD effects
decrease as grit size decreases, with the largest gains in beam quality
occurring at grit sizes above 5 microns; (2) total throughput increases as grit
size decreases, reaching 90% at 790 nm with the finest polishing levels; (3)
total throughput is higher at redder wavelengths for coarser polishing grit,
indicating surface-scattering as the primary source of loss. We also quantify
the angular dependence of FRD as a function of polishing level. Our results
indicate that a commonly adopted micro-bending model for FRD is a poor
descriptor of the observed phenomenon.Comment: 10 pages, 7 figures, presented at SPIE Astronomical Telescopes and
Instrumentation, July 201
Correspondence between one- and two-equation models for solute\ud transport in two-region heterogeneous porous media
In this work, we study the transient behavior of upscaled models for solute transport in two-region porous media. We focus on the following three models: (1) a time non-local, two-equation model (2eq-nlt). This model does not rely on time constraints and, therefore, is particularly useful in the short-time regime, when the time scale of interest (t) is smaller than the characteristic time (T1) for the relaxation of the effective macroscale parameters (i.e., when t ≤ T1); (2) a time local, two-equation model (2eq). This model can be adopted when (t) is significantly larger than (T1) (i.e., when t » T1); and (3) a one-equation, time-asymptotic formulation (1eq∞). This model can be adopted when (t) is significantly larger than the time scale (T2) associated with exchange processes between the two regions (i.e., when t » T2). In order to obtain some physical insight into this transient behavior, we combine a theoretical approach based on the analysis of spatial moments with numerical and analytical results in simple cases. The main result of this paper is to show that there is weak long-time convergence of the solution of (2eq) toward the solution of (1eq∞) in terms of standardized moments but, interestingly, not in terms of centered moments. Physically, our interpretation of this result is that the spreading of the solute is dominating higher order non-zero perturbations in the asymptotic regime
Long-term Effects of Tillage on the Retention and Transport of Soil Water
Quantitative measurements were made of the physical and chemical properties of two virgin prairie soils, Crowley and Jay, that remain in their native Arkansas environments and of similar soils that had been tilled extensively. Comparisons were made of soil properties at several depths. When compared with the tilled soils the virgin soils had higher organic matter contents, saturated hydraulic conductivities and water retained at several applied pressures. Bulk densities and hydraulic resistances were lower in the virgin soils. For the Crowley silt loam, values of pH and elemental contents of the virgin soil were higher than those of the tilled soil. Determinations also were made of the effects of a 14-year addition of winter cover crops on a Dubbs-Dundee soil in continuous cotton production. In general, the winter cover crops tended to increase hydraulic conductivity~. ·porosity and organic matter content. These results indicated that the detrimental effects of long-term tillage on soil hydraulic properties could partially be overcome with the planting of these crops during the winter. However, the rate of improvement in the hydraulic properties was not dramatic
Dynamic delta method for trace gas analysis
Method has been developed in which measurements are made only over viscous flow range, eliminating fractionation before the molecular leak and problems due to surface elution
An overview of the fundamental aerodynamics branch's research activities in wing leading-edge vortex flows at supersonic speeds
For the past 3 years, a research program pertaining to the study of wing leading edge vortices at supersonic speeds has been conducted in the Fundamental Aerodynamics Branch of the High-Speed Aerodynamics Division at the Langley Research Center. The purpose of the research is to provide an understanding of the factors governing the formation and the control of wing leading-edge vortices and to evaluate the use of these vortices for improving supersonic aerodynamic performance. The studies include both experimental and theoretical investigations and focus primarily on planform, thickness and camber effects for delta wings. An overview of this research activity is presented
Theoretical and experimental investigation of supersonic aerodynamic characteristics of a twin-fuselage concept
A theoretical and experimental investigation has been conducted to evaluate the fundamental supersonic aerodynamic characteristics of a generic twin-body model at a Mach number of 2.70. Results show that existing aerodynamic prediction methods are adequate for making preliminary aerodynamic estimates
- …
