How do you ensure quality of code ?

Answer Posted / ash

- Lots of unit testing (code should not break is first and
most imp part of code quality, +ve tests and -ve test with
code coverage)

- continuous integration with integration testing. (clean
separate machine)

- Pair programming or peer code review

- Best practice coding rules like uniform and descriptive
naming, commenting, using patterns if applicable, etc

- code review tools like fxcorp and other free ones available

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is dependency injection a design pattern?

591


What is the use of repository pattern?

584


What is onion architecture?

646


4. Identify and bound the SOI’s Operating Environment.

3350


What is the use of such a class?

673






what is the lazy design pattern?

613


What is the difference between factory and strategy design pattern?

560


What is difference between function oriented design and object oriented design?

600


Hi, I have 9backlogs in btech and i am 2008 passed out,am working with an MNC from past 3 years.now, am willing to do MS, will it be any problem for me?

2703


What are the categories in which the design patterns can be divided?

619


What are the types of the proxy design you will get in the design pattern?

577


Why have we used synchronized here?

614


What is use case in clean architecture?

626


What is the prototype design pattern?

638


Is mvc a software design pattern?

675