2,867 research outputs found

    The effectiveness of refactoring, based on a compatibility testing taxonomy and a dependency graph

    Get PDF
    In this paper, we describe and then appraise a testing taxonomy proposed by van Deursen and Moonen (VD&M) based on the post-refactoring repeatability of tests. Four categories of refactoring are identified by VD&M ranging from semantic-preserving to incompatible, where, for the former, no new tests are required and for the latter, a completely new test set has to be developed. In our appraisal of the taxonomy, we heavily stress the need for the inter-dependence of the refactoring categories to be considered when making refactoring decisions and we base that need on a refactoring dependency graph developed as part of the research. We demonstrate that while incompatible refactorings may be harmful and time-consuming from a testing perspective, semantic-preserving refactorings can have equally unpleasant hidden ramifications despite their advantages. In fact, refactorings which fall into neither category have the most interesting properties. We support our results with empirical refactoring data drawn from seven Java open-source systems (OSS) and from the same analysis form a tentative categorization of code smells

    Study of genetic diversity of wild Caspian trout Salmo trutta caspius in the Sardabrud and Astara Rivers, using D-Loop region sequencing

    Get PDF
    In this study the genetic diversity of wild Caspian trout (Salmo trutta caspius) in the Sardabroud and Astara Rivers was evaluated using D-Loop region sequencing. For this purpose, 35 specimens of adult Caspian brown trout were collected from these rivers in the Mazandarn and Gilan Provinces in fall and winter 2011. Approximately 3-5 g of soft and fresh fin tissue was isolated and fixed in ethanol 96% and then transferred to the Caspian Sea Ecology Research Center Genetics Laboratory in Sari, Iran. Genomic DNA from the samples was extracted using Ammonium Acetate Method. The quality and quantity of the extracted DNA were assessed by spectrophotometer and agarose gel (1%) electrophoresis. Polymerase Chain Reaction (PCR) was performed on the target DNA using a primers sequence D-Loop region of mtDNA molecule. Then the product was purified and DNA sequencing was carried out using chain termination method. The D-Loop region of Caspian trout contained 654 bp. Data were analyzed using Bio-Edit, DnaSP, Arlequin and Mega software. 20 and 15 haplotypes was observed in Sardabrud and Astara River. The DNA sequence of one of them was recorded in Gene Bank with numbers KC991027 and KF015727. 223 and 240 polymorphic loci were detected in Sardabrud and Astara River that all of them were out of Hardy-Weinberg equilibrium (p<0.05). Average nucleotide and haplotype diversity were 0.127±0.067, 1.000±0.005 in Sardabrud River and 0.118±0.063 and 1.000±0.005 in Astara River

    The moment xud\langle x\rangle_{u-d} of the nucleon from Nf=2N_f=2 lattice QCD down to nearly physical quark masses

    Full text link
    We present an update of our analysis [1] which includes additional ensembles at different quark masses, lattice spacings and volumes, all with high statistics. We use Nf=2N_f=2 mass-degenerate quark flavours, employing the non-perturbatively improved clover action. The lattice matrix elements are converted to the MS\overline{\rm MS} scheme via renormalization factors determined non-perturbatively in the RI^\prime-MOM scheme. We have systematically investigated excited state contributions, in particular, at the smallest, near physical, pion mass. While our results~(with much increased precision) are consistent with Ref.~[1], comparing with previous determinations we find that excited state contributions can be significant if the quark smearing is not suitably optimized, in agreement with other recent studies. The difference with respect to the value for xud\langle x\rangle_{u-d} extracted from experimental data is reduced but not resolved. Using lattice sizes in the range Lmπ3.46.7L m_\pi\sim 3.4-6.7, no significant finite volume effects were observed. Performing a controlled continuum limit that may remove the discrepancy will require simulations at lattice spacings a<0.06a< 0.06 fm.Comment: v2, labelling and visibility of figures improved, very minor changes to tex

    An expert system for nausea and vomiting problems in infants and children

    Get PDF
    Infants and children are suffering from a lots of nausea and vomiting problems. Doctors, usually face various difficulties dealing with these problems because of their similarities. In this paper, we present an expert system to help users in getting the correct diagnosis of problems of nausea and vomiting in infants and children (Gastro-esophageal reflux, Gastroenteritis, Systemic Infection, Bowel obstruction, Tumors, A bleeding disease, tonsillitis, and Hepatitis pharynx). Furthermore, this expert system provide information about the disease and how to deal with it. SL5 Object expert system language was used to design and implement this expert system

    Evaluation of the effects of different concentrations of neutral anolyte on fungal infected eggs in rainbow trout (Oncorhynchus mykiss) in comparison with green malachite

    Get PDF
    The objective of this study was to determine the effect of different concentrations of anolyte on saprolegniasis in comparison with green malachite in rainbow trout hatcheries, in the northern part of Iran, Tonekabon. Nearly 5000 green eggs of Oncorhynchus mykiss (equivalent to 300 g) were obtained from a private farm in the north of Iran. The study was designed in 5 treatments, 0.25, 0.5, 30 and 100 ppm of neutral anolyte and 2 ppm of green malachite and two controls including positive control, meaning that the green eggs were purposely infected with saprolegnia but without any disinfectant, and negative control, which was implied to as the untreated group, all in triplicate. There was no significant difference (α>0.05) in hatchability percent between 2 ppm of green malachite and the group treated with 0.25 ppm of neutral anolyte, contrary to other anolyte concentrations. It is concluded that constant use of 0.25 ppm of neutral electrolyzed oxidized water (NEOW) is a more effective anti-fungal solution with the least side effects in comparison with 2 ppm of green malachite

    Automatic eduction and statistical analysis of coherent structures in the wall region of a confine plane

    Get PDF
    This paper describes a vortex detection algorithm used to expose and statistically characterize the coherent flow patterns observable in the velocity vector fields measured by Particle Image Velocimetry (PIV) in the impingement region of air curtains. The philosophy and the architecture of this algorithm are presented. Its strengths and weaknesses are discussed. The results of a parametrical analysis performed to assess the variability of the response of our algorithm to the 3 user-specified parameters in our eduction scheme are reviewed. The technique is illustrated in the case of a plane turbulent impinging twin-jet with an opening ratio of 10. The corresponding jet Reynolds number, based on the initial mean flow velocity U0 and the jet width e, is 14000. The results of a statistical analysis of the size, shape, spatial distribution and energetic content of the coherent eddy structures detected in the impingement region of this test flow are provided. Although many questions remain open, new insights into the way these structures might form, organize and evolve are given. Relevant results provide an original picture of the plane turbulent impinging jet
    corecore