CN109308256A - A kind of java dynamically analyzing of program method, equipment and storage medium - Google Patents

A kind of java dynamically analyzing of program method, equipment and storage medium Download PDF

Info

Publication number
CN109308256A
CN109308256A CN201810817527.1A CN201810817527A CN109308256A CN 109308256 A CN109308256 A CN 109308256A CN 201810817527 A CN201810817527 A CN 201810817527A CN 109308256 A CN109308256 A CN 109308256A
Authority
CN
China
Prior art keywords
character string
class
string
program
analyzed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810817527.1A
Other languages
Chinese (zh)
Other versions
CN109308256B (en
Inventor
刘正
赵继光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201810817527.1A priority Critical patent/CN109308256B/en
Publication of CN109308256A publication Critical patent/CN109308256A/en
Application granted granted Critical
Publication of CN109308256B publication Critical patent/CN109308256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The application provides a kind of java dynamically analyzing of program method, comprising: the preordering method of character string string class in modification java development kit;For the incoming parameter assignment of program to be analyzed, the assignment includes pre-buried character string;Program to be analyzed described in Dynamic Execution, determine whether two character strings compared include pre-buried character string, it is pre-buried character string in response to a character string in described two character strings, using another character string in described two character strings as the key parameter values of the program to be analyzed.Method provided by the present application can analyze and directly carry out the dynamic analysis of program without syntax and semantics.

Description

A kind of java dynamically analyzing of program method, equipment and storage medium
Technical field
The present invention relates to computer fields, in particular to a kind of java dynamically analyzing of program method, equipment and storage Medium.
Background technique
With the continuous expansion of software size, measurement scope and workload are also increase accordingly, in order to reduce to greatest extent Cost of labor improves testing efficiency effect simultaneously, provides software system security and robustness, automated procedures analysis, automation Test cases generates and the automatic tests directions such as execution are the directions that researcher constantly explores.
The direction of software system architecture towards loose coupling, light interface, weight framework, weight container was developed in recent years, system complex Degree constantly rises, and the code analysis mode based on general syntax and semantics analysis is difficult to adapt to the software systems of continuous complexity, Its application range is restricted.
Summary of the invention
Embodiment of the present invention provides a kind of java dynamically analyzing of program method, obtains the key in program to be analyzed automatically Parameter value and the resource situation of routine call, to automatically generate for test cases, program validation, program quality and leakage Hole detection, coverage analysis etc. provide basic data, avoid the code analysis mode based on the syntax and semantics analysis of transmission, because , to more complicated software, ease for use is more preferable for this.
In a first aspect, embodiment of the present invention provides a kind of java dynamically analyzing of program method characterized by comprising Modify the preordering method of character string string class in java development kit;For the incoming parameter assignment of program to be analyzed, the assignment Including pre-buried character string;Program to be analyzed described in Dynamic Execution determines whether two character strings compared include pre-buried character String is pre-buried character string in response to a character string in described two character strings, by another in described two character strings Key parameter values of the character string as the program to be analyzed.
Second aspect, embodiment of the present invention provide a kind of computer equipment, including memory and processor, wherein deposit Reservoir is stored with computer instruction;Processor is configured to run the computer instruction so that the computer equipment executes the Method described in one side.
The third aspect, embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer and refer to It enables, the computer instruction realizes method described in first aspect when being stored by execution.
Detailed description of the invention
Fig. 1 shows the flow diagram of the java dynamically analyzing of program method of embodiment according to the present invention.
Fig. 2 shows test cases according to an embodiment of the present invention.
Fig. 3 shows code snippet screenshot according to an embodiment of the present invention.
Fig. 4 shows code snippet screenshot according to an embodiment of the present invention.
Fig. 5 shows code snippet screenshot according to an embodiment of the present invention.
Fig. 6 shows the structural schematic diagram of computer equipment according to an embodiment of the present invention.
Specific embodiment
It is described in detail to various aspects of the present invention below in conjunction with the drawings and specific embodiments.Wherein, many institute's weeks Module, unit and its mutual connection, link, communication or the operation known are not shown or do not elaborate.Also, institute Feature, framework or the function of description can combine in any way in one or more embodiments.Those skilled in the art Member is it should be appreciated that following various embodiments are served only for the protection scope for example, and is not intended to limit the present invention.May be used also To be readily appreciated that, module or unit or processing mode in each embodiment described herein and shown in the drawings can by it is various not It is combined and designs with configuration.
The process signal of the java dynamically analyzing of program method of embodiment according to the present invention is shown referring to Fig. 1, Fig. 1 Figure, this method can include: step S101, step S102 and step S103, next in conjunction with specific embodiments to above-mentioned steps It is illustrated.
Step S101 modifies the preordering method of character string string class in java development kit.
In an embodiment of the present invention, the source generation to the character string string class in java development kit is needed according to analysis Code, for example, the corresponding source code of equals method of string class.
It should be noted that the modification of string class is not limited to equals method, it can also be according to exploitation needs pair The get method of HashMap, length method of String class etc. are modified.
It step 102, is the incoming parameter assignment of program to be analyzed, the assignment includes pre-buried character string.
In an embodiment of the present invention, program to be analyzed can be java method to be analyzed.Obtain program to be analyzed Incoming parameter can include: obtain the type of the input parameter of method to be analyzed, generate the ginseng for meeting the type of the input parameter Number list, to be passed to the method to be analyzed for the parameter value list as parameter.Wherein, the input parameter of acquisition can Including entity class.The input parameter for obtaining method for testing to be measured can use the reflection mechanism of java language.If it is real for inputting parameter Body class, can use java language reflection mechanism obtain the entity class attribute type and set method.According to acquisition The parameter value list that the type of input parameter generates the type for meeting the input parameter can make the parameter of entity class With set method to the attribute assignment of the entity class.Pre-buried character string can be the spcial character automatically generated using java script String, it is different from the character string of common meaning, to mutually be distinguished with the parameter in program to be analyzed.
Step S103, program to be analyzed described in Dynamic Execution determine whether two character strings compared include pre-buried word Symbol string is pre-buried character string in response to a character string in described two character strings, will be another in described two character strings Key parameter values of a character string as the program to be analyzed.
In the embodiment of the present invention, do not know the source code of program to be analyzed and do not use java syntax and semantics Under conditions of analytical tool, the method for obtaining the key parameter values of program to be analyzed can modify the core classes of modification java The source code of java.lang.String records parameter value in the method for calling to String.
In some embodiments, java dynamically analyzing of program method may also include that the key parameter for obtaining program to be analyzed. Specifically, can include: static label flag is set in the string class and increases the set method of the label, Wherein, the label is used to control the coverage of custom code in the character string string class, and string class can be Java core classes java.lang.String;Increase the side get of static queue and the static queue in the string class Method modifies the equals method of the character string string class, when to run the equals method, two words being compared The static queue is recorded in symbol string, and modified string class is packaged into jar packet and is added to the java of program to be analyzed Running environment, and high priority and path are set by priority and original string class one is shown and covers original character The code of string string class, original string class are original java.lang.String.
Label flag in the embodiment of the present invention may include two values, and a value is true, and expression goes to string class Method when execute customized code, another is false, and expression is not executed when going to the method for string class and made by oneself The code of justice.The embodiment of the present invention can control the coverage of custom code in String class by setting label, so that Any code modified in String class only has an impact when analyzing program and needing, without influencing whether entire java program Run life cycle, it is ensured that program safety operation.In some embodiments, the pseudocode of equals method can be such that
Equals method (comparand symbol string parameter)
Judge whether flag is executable custom code, it is executable then continue to execute, otherwise skip
Custom code is executed, records two character strings into static queue
Flag is set as that custom code not can be performed
}
After being packaged into jar packet by modified string class and being added to the java running environment of program to be analyzed, The test function of program to be analyzed can be write, it may include: the set method for obtaining the label sets true for the label True generates predetermined character string to execute the custom code in the string class when executing the method for the string class As the pre-buried character string of test check function, pass through the side equals of string class described in the check function call The method and static queue is recorded in character string to be compared, calls the get method of the static queue, reads the static state The character string compared in queue, the character string compared include first that the pre-buried character string and the first parameter are constituted Second group of character string that group character string, the pre-buried character string and the second parameter are constituted.Determining two character strings compared is No includes pre-buried character string can include: determines from first group of character string that the static queue is read whether include pre-buried character String;Whether and determining from second group of character string that the static queue is read includes pre-buried character string.
Illustrate the acquisition of the key parameter to program to be analyzed with a specific example below.
Fig. 2 shows the check methods of class Test1, from two key parameters of the input parameter of this method known to code For " abc " and " 123 ", when inputting parameter and being the two character strings, code can just run to expectation path.Do not knowing Test1 Source code and obtain the two key parameters without using under conditions of other java analytical tools, it may include:
1, a static flag label is set in String class and increases its set method newly, the effect of the label is control The coverage of custom code in String class processed, so that any code modified in String class is only needed in analysis program It is had an impact when wanting, without influencing whether entire java program operation life cycle, it is ensured that program safety operation.
2, increase a static queue object and its get method in String class, while modifying String class Equals method, so that static team is recorded in two character strings that can be to be compared when program runs to equals method In column.Such as following pseudocode:
Equals method (comparand symbol string parameter)
Judge whether flag is executable custom code, if executable custom code, then continue to execute, otherwise jump It crosses
Custom code is executed, records two character strings into static queue
It is set as label flag that custom code not can be performed
}
3, modified String class file is broken into jar packet and is added to the java running environment of program to be tested, if Setting it and calling priority is that high priority and path and original java.lang.String are consistent to cover primitive class generation Code.
4, the test method for writing trial function to be measured, the check method testing code main contents such as Test1 are as follows:
The side set of the flag defined before being obtained using String.Class.getMethod method in java reflection mechanism Method calls the method to set true for flag, indicates to execute when the method currently gone in String class customized Code.A special string (such as 112233xxx) is automatically generated as the pre-buried input of check function using procedure script to join Number calls check method, and check method, which can call the equals method of String class and record, at this time compares operational character string. After check method end of run, is obtained and called customized in String class using String.Class.getMethod method The get method of static queue, by the static queue two groups of character strings take out, i.e., acquisition (112233xxx, abc) and (112233xxx, 123) two groups of character strings are judged that wherein 112233xxx is self-defining character string, to know that its is corresponding Abc and 123 two character string is the key parameter of check function, and then three test cases of the available function, point Not are as follows: output NO, input parameter not equal to abc and differ when output YES, input parameter are equal to 123 when input parameter is equal to abc It is not returned when 123, wherein third case may be considered invalid case.It is by analyzing the case that these are automatically generated The no original demands that meet can derive whether program code is correct.If it was found that occurring in the analysis program process unexpected It is abnormal, it may be possible to which that program bug needs subsequent analysis to verify.If calling resource recorded in analysis program process (such as Sql sentence, external function etc.) it duplicates, then it is assumed that program, which has been likely to occur, to be computed repeatedly, and code quality has to be checked.
Dynamically analyzing of program method provided in an embodiment of the present invention, it is direct without syntactic analysis and semantic analysis step The dynamic analysis of program are executed, it is intuitive effective, it is suitble to the dynamically analyzing of program of complication system.
In some embodiments of the invention, largely executable path can be generated, with the complexity of program, key parameter pair Answer increasing for path node, the quantity growth in path is exponential, that is, so-called path explosion problem, in order to control road The consumption of resource in diameter ergodic process is proposed using the code coverage in the current operational process of java coverage rate tool real-time judge Degree terminates the analytic process so as to can choose when program runs certain number and coverage rate reaches a certain level, Avoid the Infinite Cyclic of program.The interface that code coverage situation is obtained when the embodiment of the present invention is using its operation of Jacoco, is dividing It analyses and is obtained in program process and using the code coverage information of analyzed program.
In a kind of specific embodiment, the physical interface example of calling is as shown in Figure 3.Code shown in Fig. 3, code are newly-built The object of LoggerRuntime and Instrumenter, wherein Instrumenter object is used for coverage rate to be detected Class name switchs to byte array and gives the array to IRuntime monitoring, and starting LoggerRuntime object is for monitoring.Figure 4 and code shown in fig. 5, it first defines the class that one inherits ClassLoader and is used to convert byte array before At the class of coverage rate to be detected, such calls method to be analyzed, Zhi Houyou after generating an object by newInstance method IRuntime collects implementation procedure information and by the object of information preservation a to ExecutionDataStore, then Analyer is stored in the object of a CoverageBuilder to will analyze result after the object analysis again, finally by the object In coverage information take out use.
The limitation of whole system resource, is often holding when in some embodiments of the invention, due to executing dynamic analysis Row certain methods when can return to unexpected result, lead to program exception interrupt to be analyzed, so as to cause analyzed program code without Method covers comprehensively, and the mode that method redefines is to solve the problems, such as a kind of this scheme.
In some embodiments of the invention, java program analysis method provided by the invention can include: described wait divide Analysis program is run to when redefining method, is saved in the attribute information for redefining method by Spring aop scheduled In class object, by redefining the parameter value of method described in the scheduled class object acquisition and returning to Value Types, call simultaneously The proceed method of the scheduled class object continues to execute original method body.
In a kind of specific embodiment, analyzed program is run to when need to redefine method, and spring aop can should The attribute information of method is stored in a ProceedingJoinPoint class object, can be with preparation method by the object The information such as parameter value and return Value Types, while the object can be called
Proceed () method continues to execute original method body, such as the sql processing method of class is handled by interception database, Current pending sql sentence is got, can choose continue to call that original method executes sql or to skip the step direct later It returns customized as a result, flexibility with higher.
Method of the invention redefines in such a way that Spring is towards tangent plane programming aop, can provide more flexible Solution, according to the return values of the information Dynamic Definition Methods such as the return Value Types of method or can need to obtain the party The parameter value of method simultaneously carries out personalisation process.
In other embodiment of the invention, method, which redefines, can also use JMockit mode.Which uses Simple, intuitive, can adapt to most of method or object redefines demand.
In other embodiment of the invention, method, which redefines, can also use bytecode programming mode, for example, The modes such as CGLIB, Javaassist, ASM.This method has the characteristics that range is relatively wider and function is stronger.
In some embodiments of the invention, the return value object fill area attribute value to the method that redefines is needed, in order to avoid return The contents of object returned is sky.Specific practice is to generate an object reality by java reflection mechanism after obtaining return Value Types Example recycles reflection its attribute type list of acquisition and its set method (the class side BeanUtils to can be used under spring frame Method obtains), then call set method to its attribute assignment.In some embodiments, java program provided by the invention analysis side Method can include: attribute value filling is carried out to the return value for redefining method by recursive call mode, while recurrence is set The threshold value of calling is to prevent infinite recursion from recycling.It is due to being filled in object using recursive call mode may include another The object of class, thus it is designed as recursive call, so as to be filled to each layer of attribute, while a recurrence tune is set Threshold values, in order to avoid there is the case where infinite recursion circulation.
The embodiment of the present invention can automatically generate test case, and can check to a certain extent potential in code Loophole and code command and code coverage degree.
In some embodiments of the invention, when analyzed system program is not in holonomic system running environment, often The exception that class is not present can be encountered.To solve the abnormal problem that class is not present, java program analysis method provided by the invention is also Include: the error information for obtaining the program to be analyzed, extracts class name in the error information, use javaassist's The makeclass method of classpool class handles the class name and obtains CtClass object, calls CtClass object Runtime environment is added in the class created by toClass method.In the embodiment of the present invention, pass through javaassist root at runtime According to class name dynamic creation class and the content of dynamic generation class, to solve the problems, such as that class was not present reports an error.
In some embodiments of the present invention, also provide a kind of directly effective using stack information reduction invalid road when operation The mode of path search.The call stack information of StackTraceElement acquisition methods is provided in Java.lang packet, passes through tune The heap of StackTraceElement [] can be obtained with function Thread.currentThread () .getStackTrace () Stack array saves the method information for executing and calling in array, including the class name of method, method name, filename and tune Line number.The specific practice of Invalid path search is reduced using StackTraceElement are as follows: in the word of String category code Symbol string rating unit increases custom code, and StackTrace stack information is obtained when each character string comparison and is recorded one In array Stack1 [], when analyzed program is operating abnormally, exception object is obtained, and use its getStackTrace The stack information that method obtains when being abnormal was recorded in Stack2 [], in comparative analysis Stack2 [] and Stack1 [] Each stack information, if include in discovery Stack2 [] and certain stack information Stack3 in Stack1 [] queue is analyzed The method of program is identical and line number is close, then it is assumed that the corresponding key character string parameter of Stack3 [] is corresponding with Stack2 [] different Normal generation is related, is played in the generation for avoid the exception it is thus regarded that modifying the string parameter values than modifying other parameters It is worth more crucial effect, and then so that analyzed program is gone to more multipath under the premise of modification parameter value as few as possible, Achieve the purpose that reduce route searching number.
Embodiment of the present invention also provides a kind of computer equipment.As shown in fig. 6, computer equipment 600 may include storage Device 601 and processor 602, wherein memory 601 is stored with computer instruction, and processor 602 is configured to execute the computer It instructs so that computer equipment 600 realizes methods described above.For method described above, details are not described herein.
Embodiment of the present invention also provides computer-readable storage medium, is stored thereon with computer instruction, the meter The instruction of calculation machine realizes methods described above when being executed by processor.For method described above, details are not described herein.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by The mode of software combination hardware platform is realized.Based on this understanding, technical solution of the present invention makes tribute to background technique That offers can be embodied in the form of software products in whole or in part, which can store is situated between in storage In matter, such as ROM/RAM, magnetic disk, CD, including some instructions use is so that a computer equipment (can be individual calculus Machine, server, smart phone or network equipment etc.) it executes described in certain parts of each embodiment of the present invention or embodiment Method.
Term and wording used in description of the invention are just to for example, be not intended to constitute restriction.Ability Field technique personnel should be appreciated that under the premise of not departing from the basic principle of disclosed embodiment, to above embodiment In each details can carry out various change.Therefore, the scope of the present invention is only determined by claim, in the claims, unless It is otherwise noted, all terms should be understood by the broadest reasonable meaning.

Claims (12)

1. a kind of java dynamically analyzing of program method characterized by comprising
Modify the preordering method of character string string class in java development kit;
For the incoming parameter assignment of program to be analyzed, the assignment includes pre-buried character string;
Program to be analyzed described in Dynamic Execution determines whether two character strings compared include pre-buried character string,
It is pre-buried character string in response to a character string in described two character strings, by another in described two character strings Key parameter values of the character string as the program to be analyzed.
2. the method according to claim 1, wherein the program to be analyzed includes the side java to be tested Method, the preordering method include equals method.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Static label flag is set in the string class and increases the set method of the label, wherein the label For controlling the coverage of custom code in the character string string class;
The get method for increasing static queue and the static queue in the string class, modifies the character string string The equals method of class, when to run the equals method, the static queue is recorded in two character strings compared,
Modified string class is packaged into jar packet and is added to the java running environment of program to be analyzed, and by priority It is set as high priority and path and original string class one shows the code for covering original character string string class.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The set method for obtaining the label sets true true for the label to hold when executing the method for the string class Custom code in the row string class,
The pre-buried character string of the predetermined character string as test check function is generated,
By the equals method of string class described in the check function call and character string to be compared be recorded it is described Static queue,
The get method for calling the static queue reads the character string compared in the static queue, the word compared Symbol string includes first group of character string that the pre-buried character string and the first parameter are constituted, the pre-buried character string and the second parameter structure At second group of character string.
5. according to the method described in claim 4, it is characterized in that, whether two character strings that the determination is compared include pre- Burying character string includes:
Determine from first group of character string that the static queue is read whether include pre-buried character string;And
Determine from second group of character string that the static queue is read whether include pre-buried character string.
6. the method according to claim 1, wherein the method also includes:
When the program to be analyzed runs to and redefines method, the attribute for redefining method is believed by Spring aop Breath is saved in scheduled class object, by the parameter value and return value that redefine method described in the scheduled class object acquisition Type, while the proceed method of the scheduled class object being called to continue to execute original method body.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
Attribute value filling is carried out to the return value for redefining method by recursive call mode, while recursive call is set Threshold value is to prevent infinite recursion from recycling.
8. the method according to claim 1, wherein the method also includes:
The error information for obtaining the program to be analyzed, extracts class name in the error information, uses javaassist's The makeclass method of classpool class handles the class name and obtains CtClass object, calls CtClass object Runtime environment is added in the class created by toClass method.
9. according to the method described in claim 2, it is characterized in that, the method also includes:
The type of the input parameter of method to be analyzed is obtained, the parameter value list for meeting the type of the input parameter is generated, with Just the method to be analyzed is passed to using the parameter value list as parameter.
10. according to the method described in claim 9, it is characterized in that, the input parameter includes entity class.
11. a kind of computer equipment, including memory and processor, wherein
The memory, for storing computer instruction;
The processor, for executing the computer instruction with computer instruction described in perform claim requirement 1 to 10.
12. a kind of computer readable storage medium, is stored thereon with computer instruction, the computer instruction is stored by execution Method described in Shi Shixian claims 1 to 10.
CN201810817527.1A 2018-07-24 2018-07-24 Dynamic analysis method, equipment and storage medium for java program Active CN109308256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810817527.1A CN109308256B (en) 2018-07-24 2018-07-24 Dynamic analysis method, equipment and storage medium for java program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810817527.1A CN109308256B (en) 2018-07-24 2018-07-24 Dynamic analysis method, equipment and storage medium for java program

Publications (2)

Publication Number Publication Date
CN109308256A true CN109308256A (en) 2019-02-05
CN109308256B CN109308256B (en) 2021-08-27

Family

ID=65225953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810817527.1A Active CN109308256B (en) 2018-07-24 2018-07-24 Dynamic analysis method, equipment and storage medium for java program

Country Status (1)

Country Link
CN (1) CN109308256B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308922A (en) * 2019-06-27 2019-10-08 百度在线网络技术(北京)有限公司 Data transmission method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211310A (en) * 2006-12-26 2008-07-02 中国电信股份有限公司 Performance test script generation method
CN101251820A (en) * 2008-04-09 2008-08-27 无敌科技(西安)有限公司 Software test method based on program operating field
CN102591777A (en) * 2012-01-10 2012-07-18 深圳市同洲视讯传媒有限公司 Unit test code generation method and device
US8533659B2 (en) * 2009-07-29 2013-09-10 International Business Machines Corporation Efficient extraction of software dependencies from program code
CN104077215A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Software test method and software test device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211310A (en) * 2006-12-26 2008-07-02 中国电信股份有限公司 Performance test script generation method
CN101251820A (en) * 2008-04-09 2008-08-27 无敌科技(西安)有限公司 Software test method based on program operating field
US8533659B2 (en) * 2009-07-29 2013-09-10 International Business Machines Corporation Efficient extraction of software dependencies from program code
CN102591777A (en) * 2012-01-10 2012-07-18 深圳市同洲视讯传媒有限公司 Unit test code generation method and device
CN104077215A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Software test method and software test device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308922A (en) * 2019-06-27 2019-10-08 百度在线网络技术(北京)有限公司 Data transmission method, device, equipment and storage medium
CN110308922B (en) * 2019-06-27 2023-04-18 百度在线网络技术(北京)有限公司 Data transmission method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109308256B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US8875110B2 (en) Code inspection executing system for performing a code inspection of ABAP source codes
US9612943B2 (en) Prioritization of tests of computer program code
CN112181804B (en) Parameter verification method, device and storage medium
CN110941528B (en) Log buried point setting method, device and system based on fault
CN109032825B (en) Fault injection method, device and equipment
CN106529304B (en) A kind of Android applies concurrent leakage location
CN106649084A (en) Function call information obtaining method and apparatus, and test device
CN111158741B (en) Method and device for monitoring dependency relationship change of service module on third party class library
CN110489310B (en) Method and device for recording user operation, storage medium and computer equipment
CN104346148A (en) Method, device and system for acquiring program performance consumption information
CN109656917A (en) Data detection method, device, equipment and the readable storage medium storing program for executing of multi-data source
CN110968437A (en) Method, device, equipment and medium for parallel execution of single contract based on Java intelligent contract
CN111124870A (en) Interface testing method and device
CN103186463B (en) Determine the method and system of the test specification of software
Panigrahi et al. An approach to prioritize the regression test cases of object-oriented programs
US7340725B1 (en) Smart test attributes and test case scenario in object oriented programming environment
CN114968807A (en) Code detection method and device, electronic equipment and readable storage medium
US20230065259A1 (en) Method and apparatus for protecting smart contracts against attacks
CN116302930A (en) Application testing method and device
CN109542444A (en) Monitoring method, device, server and the storage medium of JAVA application
US9064042B2 (en) Instrumenting computer program code by merging template and target code methods
CN112445706A (en) Program abnormal code acquisition method and device, electronic equipment and storage medium
CN109308256A (en) A kind of java dynamically analyzing of program method, equipment and storage medium
CN111259042A (en) Dynamic query method and system
US10496524B2 (en) Separating test coverage in software processes using shared memory

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant