Java source code defect detecting method and system based on Eclipse plugin

A defect detection and source code technology, which is applied in the field of Java source code defect detection, can solve problems such as difficulties in timely detection of code defects, and achieve the effect of improving efficiency and simple operation

Inactive Publication Date: 2015-03-25
BEIJING UNIV OF POSTS & TELECOMM
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This separation of the development environment and the test environment brings difficulties to the timely detection of code defects during the development process.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Java source code defect detecting method and system based on Eclipse plugin
  • Java source code defect detecting method and system based on Eclipse plugin
  • Java source code defect detecting method and system based on Eclipse plugin

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0035] As an object-oriented programming language that can write cross-platform application software, the Java language has Bonjour's versatility, efficiency, platform portability and security, and has the world's largest professional developer community. To help development, commonly used Java IDEs include Eclipse, MyEclipse, JBulid, etc., the most common of which is Eclipse.

[0036] Eclipse is an open source, Java-based extensible development platform. On its own, it's just a framework and set of services for building development environments through plugin components. Eclipse provides a complete component management mechanism and a complete interface framework for large and medium-sized applications. Based on this platform, there is no need to develop an interface framework, create menus, resume toolbars and other repetitive tasks. Developers do no...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a Java source code defect detecting method and system based on an Eclipse plugin. The Java source code defect detecting method based on the Eclipse plugin comprises the steps that S1, the detecting plugin is placed in an Eclipse platform; S2, a preset defect mode and a preset storage path are selected from a mode database of the detecting plugin; S3, a java file to be tested and / or a project to be tested in the Eclipse platform is selected according to the defect mode and the storage path and detection is conducted; S4, a detection result is analyzed and processed. By the adoption of the Java source code defect detecting method based on the Eclipse plugin, detection of source code defects can be conducted directly in the Java development environment, and thus the efficiency of testing for software development is improved.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to an Eclipse plug-in-based Java source code defect detection method and system thereof. Background technique [0002] Software testing is a software quality assurance activity, and its motivation is to use manual operation or software automatic operation to check whether it meets the specified requirements, or to find out the difference between the expected results and the actual results. Software testing is usually carried out from two aspects, namely dynamic testing and static testing. In the process of software development, we believe that the later the bug is discovered, the higher the cost of correction. The cost of correcting bugs in the testing phase is about 4 times that of the coding phase. In order to reduce costs, the sooner the bug is found, the better. In the programming stage, it is the dream of many people to find code bugs by statically analyzing the code...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 宫云战朱红金大海黄俊飞王雅文张大林
Owner BEIJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products