Skip to main content

Table 20 Swing intra-package coverage considering the three API element types

From: Redocumenting APIs with crowd knowledge: a coverage analysis based on question types

  

# Threads linked

Coverage (%)

Package

# Elements

How-to-do-it

Debug-corrective

How-to-do-it

Debug-corrective

javax.swing

241

7932

16,458

63.07

68.05

.plaf.basic

193

135

445

18.13

27.98

.text

116

523

952

57.76

68.1

.plaf.metal

70

35

66

22.86

28.57

.plaf.synth

50

12

48

18

50

.event

49

571

1205

91.84

95.92

.plaf

49

114

206

53.06

69.39

.text.html

44

66

143

36.36

50

.plaf.multi

31

0

1

0

3.23

.tree

20

159

243

75

70

.table

15

757

1748

73.33

86.67

.border

11

382

998

90.91

100

.text.html.parser

10

7

53

20

60

.undo

9

3

9

55.56

66.67

.plaf.nimbus

6

25

68

50

83.33

.colorchooser

4

6

5

25

75

.filechooser

4

58

138

100

100

.text.rtf

1

1

8

100

100

Spearman’s ρ between

−0.33

−0.58

package size and coverage