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

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

3344


Explain what is good design?

619


What is the gang of four design pattern?

607


What is single tone design pattern in java?

547


Why have we declared the instance reference volatile?

539






When should design patterns be used?

588


Is mvc is a design pattern?

593


Why is singleton used?

625


What is the difference between adapter and facade?

628


What is proxy in design pattern?

607


Give me example of observer design pattern?

627


What is synchronizer token pattern?

601


What non-visual coding tools are available for web design?

2119


What is a lazy initialization in singleton?

594


Is singleton scope thread safe?

620