25,314 research outputs found
The analysis of test coverage using mutation operator BSR
Code coverage is a measure used to describe the degree to which the source code of a program or paths through the program has been tested by a particular test suite. In this thesis we have designed and implemented a Java tool for code coverage analysis which is based on principles of mutation testing. Mutations are small modifications of source code which are deliberately seeded into the source code under testing in order to evaluate the quality of existing test suite and improve it. We used the mutation operator BSR to systematically seed so-called bombs into Java source code. In mutation testing a bomb is a statement which causes an exception when executed. After that we ran the test suite against the mutated code and checked whether it finished successfully. Based on the test suite results it is possible to assess the code coverage at the position where the bomb was placed. We put a lot of effort in algorithm optimization because mutation testing is known to be extremely time-consuming process.
We designed the application as a plugin for Maven, software project management and comprehension tool, which makes it simple to use on any Maven based Java project. Our goal was to develop a tool similar to EMMA by functionality and code coverage measurement methodology. By running the code coverage analysis on a few real-world open source projects, the application proved to be pretty accurate and comparable to EMMA
Primjena genetskih algoritama u generiranju računalnog koda
U ovom radu prezentirana je primjena genetskog programiranja, tehnike koja koristi genetski algoritam za generiranje računalnog koda. Definirani su osnovni pojmovi i principi te je dana implementacija u programskom jeziku Haskell. Demonstriran je način na koji se postiže specijacija, odnosno stvaranje novih vrsta, tako da se konstruira stablo u kojem svaki čvor predstavlja novu vrstu koja je evoluirana odvojeno od ostalih. Zatim se te nezavisne vrste križaju pa njihov produkt nastavlja evoluirati. Takva strategija je podložna paralelizaciji te je opisana distribuirana implementacija koja se može izvršavati na više računala koristeći RabbitMQ[4] tehnologiju. Definiran je jezik regularnih izraza kojima se opisuju uzorci u tekstu. Dana je njihova implementacija u Haskellu te je opisano kako se na sintaksnim stablima regularnih izraza provode križanja i mutiranje. Zatim je postavljen problem prepoznavanja pripada li neka riječ engleskom ili njemačkom jeziku. Na osnovu 300 primjera jednog i drugog jezika genetski algoritam evoluira izraz koji prihvaća najveći broj engleskih riječi i što manji broj njemačkih. Konačni produkt postiže 75% točnost na primjerima za trening i 71% točnost na sveukupnom korpusu od 400000 riječi[1][3]. Korisnost tako generiranog izraza demonstrirana je na prepoznavanju jezika u cijelim rečenicama gdje je postignuta približno 85% točnost, te na prepoznavanju izmišljenih riječi.In this work we presented an application of genetic programming, a technique which uses genetics algorithms to generate computer code. We defined basic terms and principles and provided an implementation in the programming language Haskell. We demonstrated a way to achieve speciation, the creation of new species, by constructing a tree in which each node represents a new species evolved separate form others. Then those independent species are crossed and their product continues evolving. This strategy allows for paralelization so we describe a distributed implementation which can be ran on multiple computers via the RabbitMQ[4] technology. We define the language of regular expressions which are used to describe patterns in text. An implementation is given in Haskell and it is described how crossing and mutation is done on regular expression syntax trees. Then we pose the problem of classifying words as either English or German. Given 300 examples of each language the algorithm evolves an expression that accepts as many English words as possible while rejecting as many German. The final product achieves the accuracy of 75% on the training sample and 71% on the whole corpus of 400000 words [1][3]. The utility of such an expression is demonstrated in recognizing the language of whole sentences where we achieve approximately 85% accuracy, and on recognizing made-up words
Стретешки план за локален економски развој
Документот - Стратешки план за локален економски развој на Штип и Карбинци, претставува план за градење на економскиот капацитет на локалната средина, со цел, подобрување на економската иднина и квалитетот на животот на заедницата и граѓаните од географско-економскиот територијалитет, составен од двете општини.
Истиот ја дефинира визијата и стратешките (долгорочни) цели, како и политиката за идниот локалнен економски развој, преку дефинирање на развојна рамка со конкретни развојни цели и мерки, односно програми и проекти за нивна реализација на подолг рок
Visualization of 3D medical images on the web using WebCL
The main goal of this thesis is to implement the basic functionalities of the NeckVeins application in to a web application and by that proving that it's possible to implement the same functionalities on the web. This thesis describes the process of developing a web application for visualization of volumetric data of veins from a CT machine. In the beginning of this thesis all the used technologies are described. The description of editing the Three.js editor for the purpose of this thesis follows. In it we describe the functionalities of displaying and controlling the objects. Then we describe the biggest part of this thesis which is the support for opening and displaying pairs of Mhd and Raw data with the algorithm Marching cubes implemented with the experimental WebCL technology.
Lastly we describe our speed measurements of the web and the desktop NeckVeins application in which we conclude that there is no major difference in speed of processing data, but there is a big speed gap between the speed of drawing frames. It's concluded that the desktop application is much faster when it comes to drawing single frames
Computer vision based robotic system for collecting small industrial products
The goal of this thesis is the development of an efficient, robust and inexpensive system for collection and processing of metal products on various processing stations. The main advantage of the system over dedicated automation machines is its versatility, as it can identify and process many different types of products.
The complete system consists of a camera, a robot and a computer with our software. Metal products are placed on a flat surface. The camera takes a photo of the surface, which is transfered to the PC and then processed using computer vision. Our software also transforms the points from the coordinate system of the camera to the coordinate system of the robot. The robot is then controlled using these coordinates. The robot picks up a product from the surface and carries it to the processing station where it is processed further – hole drilling, thread rolling or thread cutting, grinding, etc. After the cycle is finished, the product is put in a container. The cycle is then repeated with the next product
Role of the occupational therapist in schizophrenia patients rehabilitation
Mentalno zdravlje je esencijalni čimbenik za aktivno i neovisno funkcioniranje u svim aspektima života.
Poremećaji mentalnog zdravlja značajno narušavaju svakodnevno življenje, te uzrokuju disbalans u tri područja čovjekovih aktivnosti: samozbrinjavanju, produktivnosti i slobodnom vremenu. Odabir,
organiziranje i aktivna participacija u produktivnim aktivnostima pojedinca narušenog mentalnoga zdravlja značajno su ograničene i/ili onemogućene zbog smanjene motivacije, nemogućnosti zadovoljenja zahtjeva produktivnih uloga, smanjenih sposobnosti rješavanja svakodnevnih problema, narušenih socijalnih vještina,
smanjenog uvida u vlastito stanje, te stigme mentalne bolesti koja narušava odnos radne okoline prema pojedincu. U liječenju osoba oboljelih od shizofrenije od velikog značaja je psihosocijalna rehabilitacija.
Ona uključuje edukaciju bolesnika i obitelji o bolesti, plan sprječavanja recidiva bolesti, trening socijalnih vještina, strategije rješavanja problema, tehnike samokontrole i samousmjeravanja, radnu terapiju, profesionalnu rehabilitaciju, programe potpomognutog zapošljavanja, te rekreativnu, kao i razne oblike
kreativne terapije. Cilj navedenih strategija psihosocijalne rehabilitacije je izgradnja vještina potrebnih za svakodnevni život i rad, uspješna socijalna (re)integracija, odnosno radno uključivanje, čime se prevenira i/ili smanjuje opterećenje pojedinca i društva kao cjeline. Dodatni značaj ovoj intervenciji je i činjenica da se
ove bolesti javljaju na početku radne karijere pacijenata, pa je ovakav pristup od velike važnosti za ostatak njihovog radnoga vijeka. Od svih poremećaja mentalnoga zdravlja, shizofrenija je povezana s najvećom stigmatizacijom i diskriminacijom, stoga je svrha ovoga rada dati prikaz radno-terapijske intervencije u
procesu psihosocijalne rehabilitacije osobe oboljele od shizofrenije. Prikaz iskustva psihosocijalne rehabilitacije je proizašao iz projekta „Prihvatimo različitosti, odbacimo predrasude“ Udruge za unapređenje duševnoga zdravlja i podizanja kvalitete života duševnog bolesnika i njegove obitelji „Sretna obitelj“ u Popovači, Hrvatska. Iako se intervencija pokazala uspješnom već u inicijalnim fazama provedbe, ostaje još prostora za daljnja znanstvena i stručna promišljanja i istraživanja koja bi ukazala na opravdanost šire
primjene gore navedenoga koncepta u hrvatskom kontekstu.Mental health is an essential factor for active and independent functioning in all aspects of life. Mental health disorders significantly impair daily life and cause imbalance in three areas of human occupation; selfcare, productivity and leisure. Selection, organization and active participation in the productive activities of an individual with mental health problems are significantly restricted and/or disabled. This is due to reduced motivation in satisfying productive role requirements, reduced capability of dealing with everyday problems, poor social skills, reduced insight into one’s own condition and mental illness stigma which impairs the relationship between the working environment and the individual. Schizophrenia patients’ treatment is of great importance to psychosocial rehabilitation. sychosocial rehabilitation includes education of patients and families about the disease, plan to prevent recurrence, social skills’ training, problem solving strategies, self-control techniques and self-direction, occupational therapy, vocational rehabilitation, employment programs, various forms of recreational and creative therapies, all with the goal of building skills for everyday life and work, successful social (re) integration, or inclusion, which prevents and/or reduces theburden on individuals and society as a whole. Additional significance of this intervention is the fact that these diseases occur at the beginning of the patient’s working career, so this approach is of great importance for the rest of their lives. Of all mental health disorders, schizophrenia is associated with the greatest stigma
and discrimination, therefore, the purpose of this study provides insight into the work and therapeutic intervention in the process of psychosocial rehabilitation of persons suffering from schizophrenia. The psychosocial rehabilitation description experience was conducted within the project "Accept differences reject the prejudices” by the "Happy Family" Association, Popovača, Croatia. Although interventions have proved to be successful in the initial stages of implementation, there remains room for further scientific and
technical thinking and research that would indicate the reasons for a broader application of the above concepts in the Croatian context
A study of transition to the ARM Cortex-M architecture for the home automation system
When developing a system for the home automation Assys we expand the functionality and complexity of the system and with that we achieved
the highest capability of microcontroller ATmega328P.
In this thesis we described the properties of the platform which prevent the further development and reasons for the need for more capable
microcontroller.
The study was carried out on the development board STM32F4 Discovery, which contains a powerful microcontroller from the family ARM Cortex-M4.
On the new platform, we implemented part of the system which is responsible for dimming and with that we directly demonstrated the benefits of
more powerful hardware. In the study, we found out that the replacement of the microcontroller is necessary despite the higher price,
power consumption and additional costs during the transition. If we consider the gained performance of the
new platform the replacement is justified
Design of scalable and highly accessible gateway for managing application programming interfaces
As a consequence of the increasing interest for application programming interfaces (APIs) the API management field has rapidly gained importance. With the quick rise in the amount of data on the Internet and increased amount of requests, there is a great need for elastic, scalable and reliable infrastructure of such systems. In our thesis we discuss an approach to the described problems and propose an architecture of an API management system. We developed API gateway, which we implemented in Node.js server-side Javascript framework. We deployed the implemented component wrapped in Docker containers using the Kubernetes orchestration tool. In the results section of the thesis we discuss the load and effectiveness testing of the deployed system. We proved that as a consequence of the extended path through the implemented gateway, the response time of requests has increased in average for 10 milliseconds and that the gateway can handle the load of 1000 request per second
Visualization of 3D medical images on the web using WebCL
The main goal of this thesis is to implement the basic functionalities of the NeckVeins application in to a web application and by that proving that it's possible to implement the same functionalities on the web. This thesis describes the process of developing a web application for visualization of volumetric data of veins from a CT machine. In the beginning of this thesis all the used technologies are described. The description of editing the Three.js editor for the purpose of this thesis follows. In it we describe the functionalities of displaying and controlling the objects. Then we describe the biggest part of this thesis which is the support for opening and displaying pairs of Mhd and Raw data with the algorithm Marching cubes implemented with the experimental WebCL technology.
Lastly we describe our speed measurements of the web and the desktop NeckVeins application in which we conclude that there is no major difference in speed of processing data, but there is a big speed gap between the speed of drawing frames. It's concluded that the desktop application is much faster when it comes to drawing single frames
- …
