How to Ensure R & D Quality

Source: Internet
Author: User

1. Personnel Organization
Experts help new users checkCode. Based on the specific level of the novice, you can check every row and key code.
2. Code style
The Code style requires uniform provisions on public variables/methods.
Code comments must be annotated with classes, key variables/methods, and important logic.
3. codereview
SVN can view the code submission record for spot check.
Organize code reviews on a regular basis.
4. Pre-test
Package the functions and basic functions of the test one hour or half a day before the test.
DdmsProgramMemory usage/growth during the running process, testing the maximum number of concurrent threads
5. Monkey Test
6. Static code analysis
Common examples include findbugs, PMD, checkstyle, and jtest. Such tools can indeed expose many low-level errors in code, such: null Pointer Reference, array out-of-bounds, I/O not closed, method return value not used, empty try/catch/finally blocks, etc.
IntroductionArticleAddress: it is necessary to introduce one of these tools during internal development of the team.
Comparison of common Java static code analysis tools

Http://www.oschina.net/question/129540_23043

Focus on the Code test reports of these tools in this article.
Findbugs Introduction: http://baike.baidu.com/view/2367937.htm
7. dynamic memory Analysis
Use mat to Analyze memory leakage 1

Http://blog.csdn.net/dreamxiang68/article/details/7625419

Use mat to Analyze memory leakage 2

Http://blog.csdn.net/dreamxiang68/article/details/7625437

8. strictmode
9. Hierarchy viewer and layoutopt: Ui Check Tool
10. traceview
analyzes the performance using the Debug. startmethodtracing and Debug. stopmethodtracing methods.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.