Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for compliance detection of Java source code

A compliance detection and source code technology, applied in the field of compliance detection of Java source code, can solve problems such as harming the vital interests of ordinary users, huge labor costs, and lack of unified coding standards

Active Publication Date: 2014-03-26
三六零数字安全科技集团有限公司 +2
View PDF3 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In recent years, due to the fact that Android application software written based on Java has not uniformly and strictly followed the coding standards in the development process, security incidents such as malicious attacks against Android application software and user privacy information leakage have emerged in an endless stream, which not only damages the vital interests of ordinary users, but also It also greatly increases the cost of software development and maintenance investment for software developers.
At present, in the development and testing of application software, manual inspection of coding standards is generally carried out, which not only requires huge labor costs, but also greatly slows down the progress of software development

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
  • Method and device for compliance detection of Java source code
  • Method and device for compliance detection of Java source code
  • Method and device for compliance detection of Java source code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0077] Aiming at the problem that there are few automatic detection tools for the current Java language coding specification, a Java source code compliance detection method and device proposed by the present invention can realize automatic detection of Java source code compliance and quickly detect non-compliant coding Standardized source code fragments can effectively improve the efficiency of software development and testing, and ...

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 discloses a method and device for compliance detection of a Java source code. The method comprises the steps that a coding standard library of the Java source code is established, a compliance detection standard set is generated according to coding standards in the coding standard library, a compliance detection model of the Java source code to be detected is established, the compliance detection model comprises a class set C, a method set M, a variable set V and an instruction set I, each standard in the compliance detection standard set is matched with the class set C, the method set M, the variable set V and the instruction set I in the compliance detection model, if the standards are matched with the sets, match result information is recorded, and detection result information is output according to the recorded match result information. According to the technical scheme, automatic detection of the compliance of the Java source code can be achieved, a source code segment incapable of meeting the coding standards is rapidly detected, the software development and test efficiency is effectively improved, and the coding quality and the safety of application software are guaranteed from the level of the source code.

Description

technical field [0001] The invention relates to the technical field of computer software development, in particular to a method and device for checking the compliance of Java source codes. Background technique [0002] Java is an efficient object-oriented programming language, which is widely used in the development process of Android (Android) application software. With the continuous growth of the market share of Android mobile smart terminals, the number of Android application software written based on Java has increased dramatically. Coding standardization and security issues of Android application software have increasingly become the focus of attention in the industry. [0003] In recent years, due to the fact that Android application software written based on Java has not uniformly and strictly followed the coding standards in the development process, security incidents such as malicious attacks against Android application software and user privacy information leakag...

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/36G06F21/55
Inventor 童小刚吴迪韩建
Owner 三六零数字安全科技集团有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products