875 resultados para Bad smells
Resumo:
Les changements sont faits de façon continue dans le code source des logiciels pour prendre en compte les besoins des clients et corriger les fautes. Les changements continus peuvent conduire aux défauts de code et de conception. Les défauts de conception sont des mauvaises solutions à des problèmes récurrents de conception ou d’implémentation, généralement dans le développement orienté objet. Au cours des activités de compréhension et de changement et en raison du temps d’accès au marché, du manque de compréhension, et de leur expérience, les développeurs ne peuvent pas toujours suivre les normes de conception et les techniques de codage comme les patrons de conception. Par conséquent, ils introduisent des défauts de conception dans leurs systèmes. Dans la littérature, plusieurs auteurs ont fait valoir que les défauts de conception rendent les systèmes orientés objet plus difficile à comprendre, plus sujets aux fautes, et plus difficiles à changer que les systèmes sans les défauts de conception. Pourtant, seulement quelques-uns de ces auteurs ont fait une étude empirique sur l’impact des défauts de conception sur la compréhension et aucun d’entre eux n’a étudié l’impact des défauts de conception sur l’effort des développeurs pour corriger les fautes. Dans cette thèse, nous proposons trois principales contributions. La première contribution est une étude empirique pour apporter des preuves de l’impact des défauts de conception sur la compréhension et le changement. Nous concevons et effectuons deux expériences avec 59 sujets, afin d’évaluer l’impact de la composition de deux occurrences de Blob ou deux occurrences de spaghetti code sur la performance des développeurs effectuant des tâches de compréhension et de changement. Nous mesurons la performance des développeurs en utilisant: (1) l’indice de charge de travail de la NASA pour leurs efforts, (2) le temps qu’ils ont passé dans l’accomplissement de leurs tâches, et (3) les pourcentages de bonnes réponses. Les résultats des deux expériences ont montré que deux occurrences de Blob ou de spaghetti code sont un obstacle significatif pour la performance des développeurs lors de tâches de compréhension et de changement. Les résultats obtenus justifient les recherches antérieures sur la spécification et la détection des défauts de conception. Les équipes de développement de logiciels doivent mettre en garde les développeurs contre le nombre élevé d’occurrences de défauts de conception et recommander des refactorisations à chaque étape du processus de développement pour supprimer ces défauts de conception quand c’est possible. Dans la deuxième contribution, nous étudions la relation entre les défauts de conception et les fautes. Nous étudions l’impact de la présence des défauts de conception sur l’effort nécessaire pour corriger les fautes. Nous mesurons l’effort pour corriger les fautes à l’aide de trois indicateurs: (1) la durée de la période de correction, (2) le nombre de champs et méthodes touchés par la correction des fautes et (3) l’entropie des corrections de fautes dans le code-source. Nous menons une étude empirique avec 12 défauts de conception détectés dans 54 versions de quatre systèmes: ArgoUML, Eclipse, Mylyn, et Rhino. Nos résultats ont montré que la durée de la période de correction est plus longue pour les fautes impliquant des classes avec des défauts de conception. En outre, la correction des fautes dans les classes avec des défauts de conception fait changer plus de fichiers, plus les champs et des méthodes. Nous avons également observé que, après la correction d’une faute, le nombre d’occurrences de défauts de conception dans les classes impliquées dans la correction de la faute diminue. Comprendre l’impact des défauts de conception sur l’effort des développeurs pour corriger les fautes est important afin d’aider les équipes de développement pour mieux évaluer et prévoir l’impact de leurs décisions de conception et donc canaliser leurs efforts pour améliorer la qualité de leurs systèmes. Les équipes de développement doivent contrôler et supprimer les défauts de conception de leurs systèmes car ils sont susceptibles d’augmenter les efforts de changement. La troisième contribution concerne la détection des défauts de conception. Pendant les activités de maintenance, il est important de disposer d’un outil capable de détecter les défauts de conception de façon incrémentale et itérative. Ce processus de détection incrémentale et itérative pourrait réduire les coûts, les efforts et les ressources en permettant aux praticiens d’identifier et de prendre en compte les occurrences de défauts de conception comme ils les trouvent lors de la compréhension et des changements. Les chercheurs ont proposé des approches pour détecter les occurrences de défauts de conception, mais ces approches ont actuellement quatre limites: (1) elles nécessitent une connaissance approfondie des défauts de conception, (2) elles ont une précision et un rappel limités, (3) elles ne sont pas itératives et incrémentales et (4) elles ne peuvent pas être appliquées sur des sous-ensembles de systèmes. Pour surmonter ces limitations, nous introduisons SMURF, une nouvelle approche pour détecter les défauts de conception, basé sur une technique d’apprentissage automatique — machines à vecteur de support — et prenant en compte les retours des praticiens. Grâce à une étude empirique portant sur trois systèmes et quatre défauts de conception, nous avons montré que la précision et le rappel de SMURF sont supérieurs à ceux de DETEX et BDTEX lors de la détection des occurrences de défauts de conception. Nous avons également montré que SMURF peut être appliqué à la fois dans les configurations intra-système et inter-système. Enfin, nous avons montré que la précision et le rappel de SMURF sont améliorés quand on prend en compte les retours des praticiens.
Resumo:
El aumento de la cantidad de lodos y las dificultades inherentes a su aplicación agrícola y/o disposición en vertederos, hace necesario encontrar nuevas alternativas para su gestión. A nivel europeo, hoy en día se tiende hacia la aplicación de tratamientos térmicos (incineración, pirólisis y gasificación) que permiten una valoración energética de los lodos, si bien generan un residuo sólido que sigue siendo necesario gestionar. El problema medioambiental provocado por (malos) olores resulta difícil de abordar de una manera genérica, teniendo en consideración la propia naturaleza del olor y sus posibles causas. Los olores en las EDARs son provocados básicamente por la degradación de la materia orgánica en condiciones anaeróbicas y se detectan en todas las operaciones unitarias en diferentes niveles de concentración. Esta tesis incidiendo en ambos aspectos, tiene por objeto investigar la valorización de lodos como materiales precursores de adsorbentes/ catalizadores para la eliminación de olores en el entorno de las EDARs, maximizando la reutilización de los lodos. Para la realización de los experimentos se han seleccionado lodos procedentes de tres EDARs situadas en la región de Girona (SC, SB, SL) que difieren en cuanto al tratamiento de los lodos. Ambas muestras han sido caracterizadas con el fin de determinar las diferencias más importantes en los lodos de partida. Los parámetros de caracterización incluyen el análisis de composición química (análisis elemental e inmediato, determinación contenido en cenizas, medida pH, DRX, FT-IR, SEM / EDX) así como análisis de superficie (adsorción de N2 y CO2). En primer lugar los lodos caracterizados han sido sometidos a diferentes tratamientos térmicos de gasificación y pirólisis y los adsorbentes/ catalizadores obtenidos se han probado como adsorbentes para la eliminación de H2S. Como consecuencia de este estudio, se ha desechado el uso de uno de lodos (SC) puesto que se obtenían resultados muy similares a (SB), a continuación el estudio se centró en el lodo de SL. Con este objetivo se han preparado 12 muestras 6 de ellas pirolizadas y 6 gasificadas en el rango de temperaturas que comprende 600-1100 ºC. Posteriormente las muestras han sido caracterizadas y se ha determinado la capacidad de eliminación (x/M) del H2S. Los resultados muestran que hemos sido capaces de obtener unos materiales que si bien, presentan un bajo desarrollo de porosidad dan lugar a valores de capacidades de eliminación elevados y comparables a carbones y materiales adsorbentes comerciales (Centaur, Sorbalit). Las elevadas eficiencias de eliminación se atribuyen básicamente a la presencia de especies catalíticamente activas tales como los óxidos mixtos de calcio y hierro determinados por DRX en las muestras tratadas térmicamente. El segundo bloque de resultados se centra la mejora de las propiedades texturales de estos materiales adsorbentes. Con este objetivo se llevaron acabo procesos de activación física con CO2 y química con H3PO4 e hidróxidos alcalinos (NaOH y KOH), que hasta el momento no se había probado con este tipo de precursores. Los resultados indican que la activación física (CO2) y química (H3PO4) no son unos buenos métodos para la obtención de adsorbentes altamente porosos con este tipo de materia prima bajo las condiciones probadas, sin embargo la activación con hidróxidos alcalinos da lugar a materiales adsorbentes con superficies específicas de hasta 1600 m2g-1. En el caso de la activación con hidróxidos, tanto el incremento de la relación agente activante/ precursor como el incremento de la temperatura producen un descenso del rendimiento, al mismo tiempo que incrementan el valor de SBET. Los materiales resultantes de la activación con hidróxidos alcalinos se han probado como adsorbentes/ catalizadores para la eliminación de H2S. Los resultados indican que un incremento del área superficial no es indicativo de un aumento de la capacidad de eliminación dada la naturaleza ácida de estos materiales obtenidos. Con el fin de contrarrestar el efecto ácido de estos materiales se han realizado los mismos ensayos añadiendo NaOH al lecho de reacción llegando a valores de x/M de hasta 450 mgg-1. Posteriormente también se han realizado ensayos de eliminación de NH3 con algunas de estas muestras, y los resultados obtenidos de x/M son del orden de carbones activados comerciales. Los materiales adsorbentes obtenidos tras la activación con hidróxidos alcalinos se convierten en materiales muy atractivos para ser utilizados como adsorbentes/ catalizadores de múltiples contaminantes (COVs, Hg...).
Resumo:
Being physically active during and following treatment for breast cancer has been associated with a range of benefits including improved fitness and function, body composition and immune function and reductions in stress, depression and anxiety, as well as the number and severity of treatment-related side-effects such as nausea, fatigue and pain, all of which contribute to improvements in quality of life. There is also emerging evidence linking active lifestyles with improved survival. Therefore, there is little doubt that participating in regular exercise following breast cancer is ‘good’. Unfortunately, research investigating the role of exercise for women considered at high-risk of lymphoedema or who have developed lymphedema following breast cancer is lacking. For fear of initiating or exacerbating lymphoedema, these women have traditionally been cautioned rather than encouraged to be regularly active. However, recent preliminary findings suggest that being inactive may increase risk of developing lymphedema, and that for those with lymphoedema, participation in an exercise program does not exacerbate the condition. This presentation will address what we know about the role of exercise following a breast cancer diagnosis and will provide some practical recommendations about becoming and staying regularly active following breast cancer, for those with and without lymphoedema.
Resumo:
This article surveys literature bearing on the issue of parental liability and responsibility for the crimes of young offenders, with a particular focus on comparing different approaches to dealing with the issue in Australia and Canada. This comparative analysis of Australian and Canadian legislative and policy approaches is situated within a broader discussion of arguments about the “punitive turn” in youth justice, responsibilisation, and cross-jurisdictional criminal justice policy transfer and convergence. Our findings suggest that there are significant differences in the manner and extent to which Australia and Canada have invoked parental responsibility laws and policies as part of the solution to dealing with youth crime. We conclude by speculating on some of the reasons for these differences and establishing an agenda for additional needed cross-jurisdictional research. In particular, we argue that it would be fruitful to undertake a cross-jurisdictional study that examines the development and effects of parental responsibility laws across a larger number of different Western countries as well as across individual states and provinces within these national jurisdictions.
Resumo:
In this article we survey relevant international literature on the issue of parental liability and responsibility for the crimes of young offenders. In addition, as a starting point for needed cross-jurisdictional research, we focus on different approaches that have been taken to making parents responsible for youth crime in Australia and Canada. This comparative analysis of Australian and Canadian legislative and policy approaches is situated within a broader discussion of arguments about parental responsibility, the ‘punitive turn’ in youth justice, and cross-jurisdictional criminal justice policy transfer and convergence. One unexpected finding of our literature survey is the relatively sparse attention given to the issue of parental responsibility for youth crime in legal and criminological literature compared to the attention it receives in the media and popular-public culture. In Part I we examine the different views that have been articulated in the social science literature for and against parental responsibility laws, along with arguments that have been made about why such laws have been enacted in an increasing number of Western countries in recent years. In Part II, we situate our comparative study of Australian and Canadian legislative and policy approaches within a broader discussion of arguments about the ‘punitive turn’ in youth justice, responsibilisation, and cross-jurisdictional criminal justice policy transfer and convergence. In Part III, we identify and examine the scope of different parental responsibility laws that have been enacted in Australia and Canada; noting significant differences in the manner and extent to which parental responsibility laws and policies have been invoked as part of the solution to dealing with youth crime. In our concluding discussion, in Part IV, we try to speculate on some of the reasons for these differences and set an agenda for needed future research on the topic.
Resumo:
Before making a security or privacy decision, Internet users should evaluate several security indicators in their browser, such as the use of HTTPS (indicated via the lock icon), the domain name of the site, and information from extended validation certificates. However, studies have shown that human subjects infrequently employ these indicators, relying on other indicators that can be spoofed and convey no cryptographic assurances. We identify four simple security indicators that accurately represent security properties of the connection and then examine 125 popular websites to determine if the sites' designs result in correctly displayed security indicators during login. In the vast majority of cases, at least some security indicators are absent or suboptimal. This suggests users are becoming habituated to ignoring recommended security indicators.
Resumo:
Driver aggression is an increasing concern for motorists, with some research suggesting that drivers who behave aggressively perceive their actions as justified by the poor driving of others. Thus attributions may play an important role in understanding driver aggression. A convenience sample of 193 drivers (aged 17-36) randomly assigned to two separate roles (‘perpetrators’ and ‘victims’) responded to eight scenarios of driver aggression. Drivers also completed the Aggression Questionnaire and Driving Anger Scale. Consistent with the actor-observer bias, ‘victims’ (or recipients) in this study were significantly more likely than ‘perpetrators’ (or instigators) to endorse inadequacies in the instigator’s driving skills as the cause of driver aggression. Instigators were significantly more likely attribute the depicted behaviours to external but temporary causes (lapses in judgement or errors) rather than stable causes. This suggests that instigators recognised drivers as responsible for driving aggressively but downplayed this somewhat in comparison to ‘victims’/recipients. Recipients and instigators agreed that the behaviours were examples of aggressive driving but instigators appeared to focus on the degree of intentionality of the driver in making their assessments while recipients appeared to focus on the safety implications. Contrary to expectations, instigators gave mean ratings of the emotional impact of driving aggression on recipients that were higher in all cases than the mean ratings given by the recipients. Drivers appear to perceive aggressive behaviours as modifiable, with the implication that interventions could appeal to drivers’ sense of self-efficacy to suggest strategies for overcoming plausible and modifiable attributions (e.g. lapses in judgement; errors) underpinning behaviours perceived as aggressive.
Resumo:
Teaching is emotional work. This is especially the case in the first years of teaching when new teachers are particularly vulnerable. By understanding changes in teacher emotions in the early years of teaching we hope to identify strategies that might ultimately reduce teacher attrition. As part of a larger study of the transition of new teachers to the profession, this ethnographic case study explores how a new science teacher produced and reproduced positive emotional interaction rituals with her students in her first year of teaching. We show how dialogical interactions were positive and satisfying experiences for the teacher, and how they were reproduced successfully in different contexts. We also illustrate how both teacher and students used humor to create a structure for dialogical interactions. During these successful interactions the students used shared resources to satisfy their teacher that they were engaging in the relevant science content. The implications of what we have learned for the professional development of new teachers are discussed in relation to an expanded understanding of teacher emotions.
Resumo:
A recent decision of the Queensland Court of Appeal involved an unusual statement of claim made on behalf of the developer of a proposed resort in Port Douglas. The decision is The Beach Club Port Douglas Pty Ltd v Page [2005] QCA 475. The issue The defendant had objected to a development application of the plaintiff developer and lodged an appeal in the Planning and Environment Court against the council decision granting a development permit. The main issue in the Planning and Environment Court was whether the site coverage of the proposed resort was excessive. In a separate action (the subject matter of the present appeal), the plaintiff developer claimed damages for ‘negligence’ alleging that the defendant had breached a duty of care not to appeal without properly or reasonably assessing whether the development qualified for a permit given that the resort qualified for the maximum allowable site coverage. It was alleged that the appeal lodged by the defendant in the Planning and Environment Court had no reasonable prospects of success and that any reasonable person properly advised would know, or ought reasonably to have known, that to be so. The defendant had been “put on notice” that the plaintiff would incur loss of $10,000 for every day there was a delay in starting construction of the resort. The claim made by the developer required the court to consider those circumstances where a person may lawfully and deliberately cause economic harm to another. Was a duty of care owed by the defendant for negligent conduct of litigation that caused economic loss to the plaintiff?
Resumo:
There is a debate in the research literature whether to view police misconduct and crime as acts of individuals perceived as 'rotten apples' or as an indication of systems failure in the police force. Based on an archival analysis of court cases where police employees were prosecuted, this paper attempts to explore the extent of rotten apples versus systems failure in the police. Exploratory research of 57 prosecuted police officers in Norway indicate that there were more rotten apple cases than system failure cases. The individual failures seem to be the norm rather than the exception of ethical breaches, therefore enhancing the rotten apple theory. However as exploratory research, police crime may still be explained at the organizational level as well.
Resumo:
Reflecting on the legal consequences of globalisation in the 21st century, Twining predicted that societies in the West would have to 'wrestle with the extent to which the state should recognise, make concessions to, or even enforce norms and values embedded in different religions, cultures or traditions'. This is borne out as the direction across the common law world moves towards entrenching legal pluralism. The concessions each nation has made to minorities with different religions, cultures and traditions have varied. The special character of Islam, as a comprehensive blueprint for life in which law and religion unite, has meant that the negotiations for a special place for Muslims within each common law jurisdiction has been at the forefront of new legal ordering possibilities. This is the crux of the pluralism debate. Cautiously, Australians have watched the, at times histrionic, discourse in Canada and Great Britain on official recognition for Islamic law.