18 research outputs found

    Automatically Fixing Syntax Errors Using the Levenshtein Distance

    Get PDF
    Abstract:To ensure high quality software, much emphasis is laid on software testing. While a number of techniques and tools already exist to identify and locate syntax errors, it is still the duty of programmers to manually fix each of these uncovered syntax errors. In this paper we propose an approach to automate the task of fixing syntax errors by using existing compilers and the levenshtein distance between the identified bug and the possible fixes. The levenshtein distance is a measure of the similarity between two strings. A prototype, called ASBF, has also been built and a number of tests carried out which show that the technique works well in most cases. ASBF is able to automatically fix syntax errors in any erroneous source file and can also process several erroneous files in a source folder. The tests carried out also show that the technique can also be applied to multiple programming languages. Currently ASBF can automatically fix software bugs in the Java and the Python programming languages. The tool also has auto-learning capabilities where it can automatically learn from corrections made manually by a user. It can thereafter couple this learning process with the levenshtein distance to improve its software bugcorrection capabilities.Keywords: Automatically fixing syntax errors, bug fixing, auto-learn, levenshtein distance, Java, Python(Article history: Received 16 September 2016 and accepted 9 December 2016

    EffortEst- An Enhanced Software Effort Estimation by Analogy Method

    Get PDF
    Abstract:Over the past few years, large-scale software project development has become the point of growing interest to many organizations and thus, predicting the size, cost and effort of software projects has become a very significant task to project managers. Often inaccurate prediction results into software projects exceeding budget as well as being out of schedule. Therefore, software project managers have been introduced to numerous software tools and methods in recent years to automate their tasks. The paper presents some existing analogy-based software estimation tools used by project managers and these tools are critically analyzed to identify shortcomings. Finally an enhanced software effort estimation method is proposed. A system prototype named EffortEst has been implemented and evaluated based on the enhanced method. EffortEst provides the near-best estimation of software project effort with limited user intervention.Keywords: Software Effort Estimation, Analogy, Case- Based Reasoning, Prototype(Article history: Received 16 September 2016 and accepted 9 December 2016

    A low cost autonomous unmanned ground vehicle

    Get PDF
    The aim of this project is to design and implement a low cost Autonomous Unmanned Ground Vehicle (AUGV), a vehicle that can be controlled remotely without an onboard human presence. The AUGV is also able to move autonomously while automatically detecting and avoiding obstacles. The vehicle also reads directions from QR codes, calculates the shortest path to its destination and autonomous move towards its final destination. A Raspberry Pi 3 has been used as the brain of the vehicle together with other components such as DC and Servo motors, Ultrasonic and Infrared sensors, webcam, batteries, power bank, motor controller and a smartphone. Python, Java and PHP have been used to implement the prototype which currently focusses on indoor navigation. There exists several potential practical applications of the UAGV such as an autonomous wheel chair for handicapped persons allowing them to move around autonomously without relying on any other persons. The idea can be extended to fit into the untapped indoor commercial market such as malls, hotels, banks, nursing homes, hospitals, offices, stores, schools, museums and many more

    A novel approach of automation testing on mobile devices

    No full text
    AbstractMobile phones and mobile applications have nowbecome an integral part of our everyday life. Mobileapplication testing plays a pivotal role in making the mobileapplications more reliable and defect free. Existing testautomation tools have been tailored to perform mobile testautomation through mobile emulators. Other tools require themobile device where the application is installed, to beconnected to a computer so that the tests can be run.Obviously, the results obtained from emulators often differfrom those obtained on actual mobile devices. To our bestknowledge only a few solutions for creating automated tests ofmobile applications exist and their functionality is very limited.In this paper, we introduce the idea of implementing a mobiletest automation framework- MobTAF which performs mobiletest automation on the mobile device where connection to acomputer is not required. The framework moves the testinginfrastructure to the phone, to support test situations thatcannot easily be replicated with an emulator. A prototypeapplication was then implemented to test the mobileautomation framework, MobTAF. The results prove thatMobTAF framework is an efficient way of performing mobileapplication tests directly on the mobile devices7 Halama

    Development of an IoT-enabled Smart Library System for a University Campus

    No full text
    With the accelerated advancement in technology infrastructure, the concept of libraries in the educational institution has evolved from a traditional system, which consists of several manual processes requiring human intervention to perform critical tasks, to that of a smart library system where the core activities are automated through the use of Internet of Things (IoT) devices. Integrating IoT devices in the different processes enables the streamlining of such processes rendering them more efficient through the capture of real-time data as they are being generated. This paper describes the implementation of a smart library system in a university campus using IoT devices. The system makes use of analytics and machine learning to analyze trends and make predictions. The system prototype is presented in the paper
    corecore