224k views
2 votes
A software development firm wants to validate the use of standard libraries as part of the software development process. Each developer performs unit testing prior to committing changes to the code repository.

Which of the following activities would be BEST to perform after a commit but before the creation of a branch?

A. Static analysis
B. Heuristic analysis
C. Dynamic analysis
D. Web application vulnerability scanning
E. Penetration testing

User ValentinH
by
7.1k points

1 Answer

6 votes

Final answer:

Static analysis is the best activity to perform after a code commit but before branching, as it checks the source code for various quality metrics and ensures adherence to coding standards. Option A is correct.

Step-by-step explanation:

A software development firm that incorporates unit testing as part of its quality assurance process is seeking the best activity to perform after a commit but before the creation of a branch.

The recommended activity to be performed is Static analysis. Static analysis involves checking the source code for errors, code quality, adherence to coding standards, and the use of standard libraries without having to run the program.

This is a key step after developers commit code to ensure quality before further activities, such as branching, are undertaken. This process can make sure that the codebase remains clean and maintainable. It is an effective method to refine the design and can help to identify weaknesses early on, potentially preventing a return to the concept generation stage of the software development process.

User Alexandresecanove
by
7.4k points