Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
1
2
01 jFeature02 System
Testing03 TestLink
04 Static Analysis
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Number Level of complexity
1~5 Low complexity
6~8 Moderate complexity
9~10 High complexity
11+ Very high complexity
90
91
92
93
94
Tool Comment
CheckStyle - Points to user’s coding style.- Requires custom setting cause catches too many warning.
95
PMD - Has additional functions like CPD.- but, using CPD on Jenkins is not easy.
FindBugs - Catches warnings to aim at improving efficiency.
96
97
98
99
100
101
102
103
104
105
Issues Exp
Avoid commented-out lines of code
일반주석이아닌 code에주석을친경우발생
if/else/for/while/do statements should always use curly braces
If/else/for/while/do statement에괄호를붙이지않은경우
Statements should be on Statement를줄을떼지않은경우
106
Statements should be on separate lines
Statement를줄을떼지않은경우
Unused Private Field 사용되지않은 private field
Avoid cycle between java packages
자바패키지간 cycle이발생한경우
Avoid too complex method 메소드가너무복잡한경우
Visibility Modifier Private로사용해야하는변수를다른가시성으로사용한경우
Issues Exp
Magic Number 직접적숫자를사용한경우(final등의가시자를붙이지않고)
Trailing Comment 주석을코드바로뒤에붙여썼을경우
107
Redundant Modifier 굳이가시성을선언하지않아도당연한데가시한경우
Modifier Order Modifier순서를바꾸어쓴경우
http://bcho.tistory.com/832http://kinoshita.eti.br/2012/10/11/jenkins-testlink-and-gtest-in-5-minutes-or-so.html
http://blog.naver.com/yarinii1?Redirect=Log&logNo=10154165439https://gitorious.org/testlink-ga/testlink-code/commit/4842b189af26fbe81c4c8e6330fe17114ff58986
https://code.google.com/p/gallio-testlink-adapter/wiki/ApiKeyhttp://blog.naver.com/PostView.nhn?blogId=chloesso&logNo=110049101483
http://lfestivalet.wordpress.com/tag/jenkins-testlink-plugin/http://lfestivalet.wordpress.com/tag/jenkins-testlink-plugin/http://mr100do.tistory.com/137
108