Prediction of the resolution time of a newly-submitted bug is a relevant aspect during the bug triage process since it can help project managers to better estimate software maintenance efforts and better manage software projects. Once a bug is reported, it is typically recorded in a Bug Tracking System, and it is assigned to a developer in order to solve the issue. The contribution of this paper is to provide a deep learning approach for the resolution of the bug-fixing time prediction, proposing a new feature set, consisting of the description of the issue and comments of the developers, in order to perform transfer learning on a pre-trained language representations model, called BERT. The problem of predicting the resolution time of a bug is therefore formulated as a supervised text categorization task. BERT makes use of a self-attention mechanism that allows learning the bidirectional context representation of a word in a sentence, which constitutes one of the main advantages over the previously proposed solutions. Experimental results show the proposed approach has effective bug-fixing time prediction ability.
Process mining is a family of techniques that aim at analyzing business process execution data recorded in event logs. Conformance checking is a branch of this discipline embracing approaches for verifying whether the behavior of a process, as recorded in a log, is in line with some expected behavior provided in the form of a process model. In the literature, process mining techniques have already been used to study software development processes starting from logs derived from version management systems or from document management systems. In this paper, we use conformance checking to test coding behaviors starting from event logs generated from IDE usage. Understanding how developers carry out coding activities and what hurdles they usually face should provide useful tips for improving and supporting software development processes. In particular, through conformance checking, we can compare different process executions, and identify behavioral similarities and differences. In our experimentation, we evaluated the activities performed by 40 novice developers performing coding activities in 5 development sessions. We assessed the developers to distinguish the ones obtaining the best performance. We then compared the behavior extracted from this group of developers with the others. The results show different IDE usage patterns for developers with different skills and performance.
1 September 2008 in Journal of Information & Knowledge Management
For large scale software systems, many bugs can be reported over a long period of time. For software quality assurance and software project management, it is important to assign adequate resources to resolve the reported bug. An important issue concerning assignment is the ability to predict bug-fixing time because it can help a project team better estimate software maintenance efforts and better manage software projects. In this paper, we propose a model that can predict the bug-fixing time using the text information extracted from Bugzilla, an on-line open source Bug Tracking System (BTS). We perform an empirical investigation for the bugs of Novell, OpenOffice and LiveCode, three open source projects using Bugzilla. Proposed model is based on historical data stored on the BTS. For each bug-report we build a classification model to predict the time of its resolution, as slow or fast. In this work we used, as classifier, Support Vector Machine (SVM) but different classifier can be easily used. Our model, differently from existing work reported in the literature, selects all and only the attributes useful for prediction and filters appropriately attributes for the test-set. Experimental results show the model is effective. In the future, we will use and compare other different classification method to select the best one for a specific data-set
The computing education community has shown a long-time interest in how to analyze the Object-Oriented (OO) source code developed by students to provide them with useful formative tips. Instructors need to understand the student’s difficulties to provide precise feedback on most frequent mistakes and to shape, design and effectively drive the course. This paper proposes and evaluates an approach allowing to analyze student’s source code and to automatically generate feedback about the more common violations of the produced code. The approach is implemented through a cloud-based tool allowing to monitor how students use language constructs based on the analysis of the most common violations of the Object-Oriented paradigm in the student source code. Moreover, the tool supports the generation of reports about student’s mistakes and misconceptions that can be used to improve the students’ education. The paper reports the results of a quasi-experiment performed in a class of a CS1 course to investigate the effects of the provided reports in terms of coding ability (concerning the correctness and the quality of the produced source code). Results show that after the course the treatment group obtained higher scores and produced better source code than the control group following the feedback provided by the teachers.