35 resultados para smells
Resumo:
In the context of an e ort to develop methodologies to support the evaluation of interactive system, this paper investigates an approach to detect graphical user interface bad smells. Our approach consists in detecting user interface bad smells through model-based reverse engineering from source code. Models are used to de ne which widgets are present in the interface, when can particular graphical user interface (GUI) events occur, under which conditions, which system actions are executed, and which GUI state is generated next.
Resumo:
This paper presents a catalog of smells in the context of interactive applications. These so-called usability smells are indicators of poor design on an application’s user interface, with the potential to hinder not only its usability but also its maintenance and evolution. To eliminate such usability smells we discuss a set of program/usability refactorings. In order to validate the presented usability smells catalog, and the associated refactorings, we present a preliminary empirical study with software developers in the context of a real open source hospital management application. Moreover, a tool that computes graphical user interface behavior models, giving the applications’ source code, is used to automatically detect usability smells at the model level.
Resumo:
Dissertação apresentada para cumprimento dos requisitos necessários à obtenção do grau de Mestre em Línguas Literaturas e Culturas
Resumo:
Eradication of code smells is often pointed out as a way to improve readability, extensibility and design in existing software. However, code smell detection remains time consuming and error-prone, partly due to the inherent subjectivity of the detection processes presently available. In view of mitigating the subjectivity problem, this dissertation presents a tool that automates a technique for the detection and assessment of code smells in Java source code, developed as an Eclipse plugin. The technique is based upon a Binary Logistic Regression model that uses complexity metrics as independent variables and is calibrated by expert‟s knowledge. An overview of the technique is provided, the tool is described and validated by an example case study.
Resumo:
The development of an array of chemically-responsive dyes on a porous membrane and in its use as a general sensor for odors and volatile organic compounds (VOCs) is reviewed. These colorimetric sensor arrays (CSA) act as an "optoelectronic nose" by using an array of multiple dyes whose color changes are based on the full range of intermolecular interactions. The CSA is digitally imaged before and after exposure and the resulting difference map provides a digital fingerprint for any VOC or mixture of odorants. The result is an enormous increase in discriminatory power among odorants compared to prior electronic nose technologies. For the detection of biologically important analytes, including amines, carboxylic acids, and thiols, high sensitivities (ppbv) have been demonstrated. The array is essentially non-responsive to changes in humidity due to the hydrophobicity of the dyes and membrane.
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:
No title page.
Resumo:
The aim of the study was to develop a culturally adapted translation of the 12-item smell identification test from Sniffin' Sticks (SS-12) for the Estonian population in order to help diagnose Parkinson's disease (PD). A standard translation of the SS-12 was created and 150 healthy Estonians were questioned about the smells used as response options in the test. Unfamiliar smells were replaced by culturally familiar options. The adapted SS-12 was applied to 70 controls in all age groups, and thereafter to 50 PD patients and 50 age- and sex-matched controls. 14 response options from 48 used in the SS-12 were replaced with familiar smells in an adapted version, in which the mean rate of correct response was 87% (range 73-99) compared to 83% with the literal translation (range 50-98). In PD patients, the average adapted SS-12 score (5.4/12) was significantly lower than in controls (average score 8.9/12), p < 0.0001. A multiple linear regression using the score in the SS-12 as the outcome measure showed that diagnosis and age independently influenced the result of the SS-12. A logistic regression using the SS-12 and age as covariates showed that the SS-12 (but not age) correctly classified 79.0% of subjects into the PD and control category, using a cut-off of <7 gave a sensitivity of 76% and specificity of 86% for the diagnosis of PD. The developed SS-12 cultural adaption is appropriate for testing olfaction in Estonia for the purpose of PD diagnosis.
Resumo:
O presente trabalho centra-se na gestão de resíduos produzidos no sistema de drenagem e tratamento de águas residuais do município de Vila Nova de Gaia. A entidade onde decorreu o trabalho é uma empresa responsável pela distribuição de água e pela drenagem e tratamento de águas residuais. A empresa está certificada pela norma NP EN ISO 14001, desde 2001, sendo então um dos objectivos o enquadramento da gestão dos resíduos em estudo na referida norma, acompanhando os requisitos da mesma com vista ao seu total cumprimento. Outros dos objectivos foi estudar qual a opção de tratamento mais adequada a aplicar ao resíduo no seu local de armazenamento temporário com vista a minorar os seus impactes ambientais. De acordo com a caracterização analítica do resíduo e com os aspetos legais aplicáveis, foram também analisados os destinos finais possíveis e ambientalmente adequados ao resíduo. A medida proposta para a minimização de impactes no local de armazenamento temporário do resíduo foi a estabilização com cal nos leitos de secagem, disponíveis numa antiga ETAR de loteamento. O doseamento de cal a aplicar ao resíduo será de 10 kg de cal apagada comercial (Ca (OH)2) por uma tonelada de resíduo fresco com um período mínimo de secagem de 2 meses. Outra das medidas de minimização de impactes selecionada foi a implantação de uma cortina arbórea ao redor da instalação. Sendo o resíduo em estudo muito heterogéneo, constituído principalmente por areias, terras e gradados, a valorização foi equacionada mas não foram encontrados alternativas viáveis. O destino final considerado como mais adequado tendo em conta todas as características do resíduo e eluato, analisadas de acordo com o previsto no Decreto-Lei n.º 183/2009 de 10 de Agosto, foi o aterro para resíduos não perigosos. Foi também objecto do estudo a identificação e análise de todos os aspectos ambientais relacionados com a gestão de resíduos e a avaliação da sua significância. Dos aspectos ambientais identificados como significativos, destacam-se aqueles que ocorrem presentemente, os resíduos armazenados (gradados/limpeza de redes), e os que podem ocorrer em situações de emergência, fuga/derrame de óleos/combustíveis e cheiros/odores. De forma a minimizar os aspectos ambientais identificados, e de acordo com a norma NP EN ISO 14001, foram propostas ações que constam de um programa de gestão elaborado para este trabalho, onde se definem os objectivos, metas e prazos. As principais medidas propostas no programa de gestão foram: Estabilização com cal (inicial e reforço se necessário); melhoria do espaço envolvente; análise de questões de saúde ocupacional/segurança; adjudicação de prestação de serviços da recolha por operador licenciado; implantação da cortina arbórea; registo no SIRAPA; criação de planos de emergência ambiental e de segurança.
Resumo:
Architectural (bad) smells are design decisions found in software architectures that degrade the ability of systems to evolve. This paper presents an approach to verify that a software architecture is smellfree using the Archery architectural description language. The language provides a core for modelling software architectures and an extension for specifying constraints. The approach consists in precisely specifying architectural smells as constraints, and then verifying that software architectures do not satisfy any of them. The constraint language is based on a propositional modal logic with recursion that includes: a converse operator for relations among architectural concepts, graded modalities for describing the cardinality in such relations, and nominals referencing architectural elements. Four architectural smells illustrate the approach.
Resumo:
Information about drugs and alcohol - what parents need to know: information for parents, carers and anyone who works with young people. About this leaflet This is one in a series of leaflets for parents, teachers and young people entitled Mental Health and Growing Up. These leaflets aim to provide practical, up-to-date information about mental health problems (emotional, behavioural and psychiatric disorders) that can affect children and young people. This leaflet offers practical advice for parents, teachers and carers who are worried that a young person is misusing drugs or alcohol. Why do I need to know about a young person using drugs or alcohol? Many young people smoke, drink alcohol and may try drugs. It is important you are aware of this and do not ignore it as a time when they are just having fun or experimenting. It doesnââ,¬â"¢t take much for the young people to soon lose control and to need help to recover from this problem. How common is it? By the age of 16, up to half of young people have tried an illegal drug. Young people are trying drugs earlier and more are drinking alcohol. What are the different types of drugs which cause problems? The most commonly used, readily available and strongly addictive drugs are tobacco and alcohol. There are numerous others that can be addictive. Alcohol and cannabis are sometimes seen as ââ,¬Ëogatewayââ,¬â"¢ drugs that lead to the world of other drugs like cocaine and heroin. Drugs are also classed as ââ,¬Ëolegalââ,¬â"¢ andââ,¬Ëoillegalââ,¬â"¢. The obviously illegal drugs include cannabis (hash), speed (amphetamines), ecstasy (E), cocaine and heroin. Using ââ,¬Ëolegalââ,¬â"¢ drugs (like cigarettes, alcohol, petrol, glue) does not mean they are safe or allowed to be misused. It just means they may be bought or sold for specific purposes and are limited to use by specific age groups. There are clear laws regarding alcohol and young people. For more detailed information on various drugs, their side-effects and the law, see ââ,¬ËoFurther Informationââ,¬â"¢ at the end of the factsheet. Why do young people use drugs or alcohol? Young people may try or use drugs or alcohol for various reasons. They may do it for fun, because they are curious, or to be like their friends. Some are experimenting with the feeling of intoxication. Sometimes they use it to cope with difficult situations or feelings of worry and low mood. A young person is more likely to try or use drugs or alcohol if they hang out or stay with friends or family who use them. What can be the problems related to using drugs or alcohol? Drugs and alcohol can have different effects on different people. In young people especially the effects can be unpredictable and potentially dangerous. Even medications for sleep or painkillers can be addictive and harmful if not used the way they are prescribed by a doctor. Drugs and alcohol can damage health. Sharing needles or equipment can cause serious infections, such as HIV and hepatitis. Accidents, arguments and fights are more likely after drinking and drug use. Young people are more likely to engage in unprotected sex when using drugs. Using drugs can lead to serious mental illnesses, such as psychosis and depression. When does it become addiction or problem? It is very difficult to know when exactly using drugs or alcohol is more than just ââ,¬Ëocasualââ,¬â"¢. Addiction becomes more obvious when the young person spends most of their time thinking about, looking for or using drugs. Drugs or alcohol then become the focus of the young personââ,¬â"¢s life. They ignore their usual work, such as not doing their schoolwork, or stop doing their usual hobbies/sports such as dancing or football. How do I know if there is a problem or addiction? Occasional use can be very difficult to detect. If the young person is using on a regular basis, their behaviour often changes. Look for signs such as: ïâ?s§ unexplained moodiness ïâ?s§ behaviour that is ââ,¬Ëoout of character' ïâ?s§ loss of interest in school or friends ïâ?s§ unexplained loss of clothes or money ïâ?s§ unusual smells and items like silver foil, needle covers. Remember, the above changes can also mean other problems, such as depression, rather than using drugs. What do I do if I am worried? If you suspect young person is using drugs, remember some general rules. ïâ?s§ Pay attention to what the child is doing, including schoolwork, friends and leisure time. ïâ?s§ Learn about the effects of alcohol and drugs (see websites listed below). ïâ?s§ Listen to what the child says about alcohol and drugs, and talk about it with them. ïâ?s§ Encourage the young person to be informed and responsible about drugs and alcohol. ïâ?s§ Talk to other parents, friends or teachers about drugs - the facts and your fears and seek help. If someone in the family or close friend is using drugs or alcohol, it is important that they seek help too. It may be hard to expect the young person to give up, especially if a parent or carer is using it too. My child is abusing drugs. What do I do? ïâ?s§ If your child is using drugs or alcohol, seek help. ïâ?s§ Do stay calm and make sure of facts. ïâ?s§ Don't give up on them, get into long debates or arguments when they are drunk, stoned or high. ïâ?s§ Donââ,¬â"¢t be angry or blame themââ,¬â?othey need your help and trust to make journey of recovery. Where can I get help? You can talk in confidence to a professional like your GP or practice nurse, a local drug project or your local child and adolescent mental health. They can refer your child to relevant services and they will be able to offer you advice and support. You may also be able to seek help through a school nurse, teacher or social worker. You can find this information from your local area telephone book or council website, or ask for the address from your health centre. [For the full factsheet, click on the link above]This resource was contributed by The National Documentation Centre on Drug Use.
Resumo:
Nocturnal bees in the genus Megalopta Smith, 1853 are generally collected using artificial light sources. However, between 1993 and 2000, a total of 946 females (no males were captured) were captured using aromatic baits commonly used for orchid bees (Euglossini) in five localities in Bauru region, São Paulo, Brazil. Aromatic compounds used in bait traps were: benzyl acetate, eucalyptol, eugenol, skatole, methyl salicylate, and vanillin. The Megalopta species collected were: M. guimaraesi (71.2% of total number of specimens), M. amoena (28.1%), and M. aegis (0.6%). Using the data from these traps, we showed that there was a positive and significant correlation between the abundance of individuals and meteorological factors, rainfall and temperature. Bees were more commonly collected in the spring (September to December) and summer (December to March) than in the autumn and winter, the latter characterized for being a drier and colder period. Variations in the abundance were also detected among localities and years. The most attractive compounds were eugenol (54%), methyl salicylate (22%), and eucalyptol (16%). The ability to detect smells may have an important role in searching for flowers during dim-light conditions. We suggest the use of aromatic compounds in future studies on the biology of Megalopta in the Neotropical region.
Resumo:
Vivim en un món desbordat de sons, olors, imatges,.. que sovint adquirei-xen transparència en els ulls dels adults, no obstant durant la infància es posseeix una mirada molt oberta del món, però el dia a dia, les rutines i convencionalismes redueixen les percepcions que es reben de l’entorn. Tre-ballar i fer ús dels sentits desperta i situa a l’infant en posició de ser partícip del món que l’envolta i ajuda a la comprensió i expressió de tot allò que sent i percep. Mitjançant la metodologia de l’experimentació i l’art és possi-ble el desenvolupament de les percepcions sensorials, a través de les quals la ment comença a construir les seves pròpies idees del món. La sensibilitat en la manera de percebre la realitat permet obtenir noves perspectives, així com maneres d’expressar i comunicar, de forma creativa, tot allò que es percep.