Testing

What are Static Testing Techniques? | Software Testing

What are Static Testing Techniques? | Software Testing

What are Static Testing Techniques? | Software Testing

 

In this article, you will explain the static testing techniques in the brief.

It gives you a great way to enhance the quality and efficiency of application development. The static testing can be performed in the two ways:

  • Review
  • Static Analysis

Review:

The review is a process executed to find the defects in the application. We can easily figure out the defects and remove the bugs in the various supporting documents such as SRS [ Software Requirements Specification] in the review process. It helps in understanding the project’s progress of the team members. 

The review is further divided into four parts:

  • Informal Reviews: In this, it puts the content of the document designer in the front of the viewers and everyone will give their reviews on it. Hence, we can figure out the bugs in the early stage of the development.
  • Walkthrough: Walkthrough reviews are executed or taken up by the skilled person to verify the defects. So that there is no problem in the development and testing phase. 
  • Peer review: It means we can check other team members' documents to verify the bugs. It usually happens in teamwork. 
  • Inspection: It is done by a higher authority. For example, verifying the SRS documentation. 

Static Analysis

It is used in assessing the quality of the code which is developed by the developers. There are so many tools available in the market to analyze the performance of the code and evaluate the code. 

Static analysis helps in finding the below errors:

  • Dead code
  • Unused variables
  • Endless loops
  • Incorrect Syntax
  • Variable with undefined value

Static Analyses are further divided into three categories:

  1. Data Flow: The data flow is attached to the stream processing in static analysis. 
  2. Control Flow: It is generally used to verify the implementation of commands or instructions.
  3. Cyclomatic Complexity: It measures the complexity of the program which is linked with the number of independent variables in the control flow of the program.

 

Yamini  Sharma

I am working as a professional engineer in "HIghRadius Technologies Pvt. Ltd." Passionate about learning and exploring new technologies. Enthusiast in writing and sharing what I have in my knowledge bucket.