| With the development of the software industry, software is continuously increasing, the complexity of software have become more sophisticated, but it is precisely because the power system and the complexity of the improvement of software quality makes it difficult to control and effective protection of a software flaw in regular session to the parties to a huge loss. At present, the harm caused by software defects in the software sector in general has been of great importance, many companies have set up specialized agencies of the software product defects found in the amendment, but for large-scale software, software in a number of defects is very alarming, and this defect management work to a lot of difficulties and mismanagement will not be caused by defects in the smooth progress of the rectification work, the defect information can not be used well, can not guarantee that defects in such issues as the timely appearance of the amendment.For project management, defect tracking is a very important aspect, it is useful for the demand in addition to the completion of the degree of control, but also the quality of the software itself is controlled, iterative software development to ensure the smooth progress. The original development of the software project tracking defects through the EXCEL spreadsheet to complete the form, this form can also be carried out while the project management and project implementation, degree of interaction, but with real-time efficiency is not high, not good at the same time maintaining and Statistics, in order to solve the above problem, according to the characteristics of enterprises, the development of appropriate defect tracking tools to manage defects. Although there are many tools currently support the use of a graphical interface to create a defect tracking system, but such a system provided by the function is too simple. Large-scale projects as a result of a larger number of defects, defects in processing more complex, different projects have different needs; many companies have the characteristics of the project according to their own self-developed defect tracking system useful.This article introduces the design and implementation of a defect tracking system. The system is based on the SSH.First of all, the article introduced the advantages of defect tracking, in addition to the completion of the demand for control, but also the quality of the software itself is controlled, iterative software development to ensure the smooth progress. And it describes the deficiencies of the existing tracking system Mercury's TestDirector, IBM's Rational.ClearQuest, TechExcel's DevTrack, Mantis, BugRat, TrackRecord, Bugzilla, QAMonitor and JIRA.Then, the article introduced the development model of SSH. This paper describes the MVC design pattern and the advantages of MVC design pattern; and introduces the architecture of Struts framework, Struts framework and the Struts framework for the working principle of the evaluation of applications; the system of Spring framework structure profile; and describes Hibernate Architecture, Hibernate application framework model, Hibernate, as well as the operational mechanism of the features of Hibernate.Then introduced the knowledge of the defect, given the definition of software defects, software defects (Defect or Bug) is in the process of software development "by-product", depression often result in software products to some extent, can not meet the needs of users. Introduced the life cycle of software defects, software defects from one was found, the report of the defects were repaired, until the final verification of the integrity of the process of closure. Software defects arise from the elimination of the sustained period of time, after injection of defects, defects found, defect identification, defect removal and legacy phases. Introduced the classification of software defects, defects in the content of enterprises can constitute the basic defect library organizations. The defects according to the actual summary of the work the Treasury will continue to expand, improve. Describes the types of defects, software defects in the type of defect are based on the division of the natural attributes. It described the causes of defects, including defects in the source, causing the typical causes of defects and the root causes of defects. It describes the deficiencies in the prevention of the goals, objectives and strategy, and given the discovery of defects in the means.Then it describes the design process of system. The system gives the system framework, as each developer of a project as a result of different deficiencies in the process of dealing with is not the same as always, so defective as amended in order to ensure the quality and efficiency of processes require a higher degree of standardization, therefore, system must have a very high flexibility to support complex processes and realization of the definition of logic, and should have a high reusability to meet the needs of various projects. Statistical analysis of defects for the project team and individual assessment of the workload and deficiencies in the use of information are very important. Process in the defect, each user to play different roles, in order to ensure the integrity of defect information, different information in the treatment of defects, the system functions as well as the operational handling of affairs should have different permissions. Defect inquiry into the rapid and detailed inquiries, the two inquiries. Users to exchange information platform for software and software development team to amend the cooperative work between the team provides a platform for the exchange. And it introduced the development of defects in the structure of tracking system.Finally, the article describes the implementation of system modules. Spring configuration files are given; database layer include persistent object PO, PO corresponding XML configuration files and the operation of the PO-type package, all of the PO in the category of integrated operations in DBOperation, service layer is the business logic layer, primarily through the operation of the data layers to provide access control layer to the interface; control layer using the Struts2 Class Action in response to customer requests; front page and Struts2 to use basic JSP tag library, as well as display a custom label.The article focuses on the framework of the defect tracking system, the process of the implementation. The article analysis the development structure of the defect tracking system from the software project, as well as the importance of defect tracking for the develop of the software project. |