Skip to main content

Table 21 Android 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

.provider

169

2580

6448

50.89

66.27

.widget

166

29,091

87,204

90.96

96.99

.view

104

21,371

66,212

81.73

90.38

.app

85

13,630

65,509

81.18

90.59

.renderscript

84

482

2235

19.05

57.14

.graphics

78

8,383

19,927

84.62

91.03

.content

68

23,222

63,025

73.53

92.65

.media

68

1432

5671

73.53

82.35

.os

64

16,144

74,437

76.56

93.75

.text

44

2287

4843

77.27

88.64

.util

42

9773

37,691

69.05

85.71

.webkit

42

1,488

5,095

76.19

88.1

.text.style

41

401

343

78.05

78.05

.database.sqlite

28

801

6554

46.43

89.29

.database

26

2,815

11,270

80.77

92.31

.text.method

25

250

644

72

72

android

24

23,318

75,180

91.67

87.5

.graphics.drawable

24

1960

5034

83.33

100

.media.audiofx

24

13

61

33.33

54.17

.net

24

4778

11,635

62.5

87.5

.view.animation

24

960

1882

79.17

87.5

.preference

23

1056

2675

78.26

82.61

.content.pm

22

1293

9834

90.91

86.36

.drm

22

0

6

0

9.09

.animation

20

135

310

65

80

.hardware

20

473

1933

90

90

.opengl

20

142

1,167

55

80

.bluetooth

16

216

850

62.5

75

.net.wifi.p2p

16

10

35

56.25

68.75

.view.inputmethod

16

530

1,263

62.5

75

.content.res

14

1761

5534

71.43

92.86

.net.wifi

14

313

559

92.86

100

.accounts

13

178

472

76.92

100

.gesture

13

38

129

53.85

84.62

.inputmethodservice

13

67

156

46.15

76.92

.telephony

12

605

1200

83.33

100

.app.backup

11

11

120

45.45

81.82

.location

11

1132

4726

90.91

100

.net.sip

11

8

48

81.82

90.91

.nfc

11

127

461

81.82

90.91

.nfc.tech

10

31

123

100

100

.speech.tts

9

79

375

55.56

88.89

.hardware.usb

8

19

129

100

100

.view.textservice

8

1

4

12.5

50

.sax

7

9

64

71.43

100

.view.accessibility

7

35

72

42.86

100

.graphics.drawable.shapes

6

57

164

100

100

.net.wifi.p2p.nsd

6

1

5

33.33

100

.speech

6

67

225

66.67

83.33

.appwidget

5

189

838

100

100

.mtp

5

0

1

0

20

.net.http

5

44

247

80

100

.net.nsd

5

1

6

40

100

.telephony.gsm

5

31

90

60

60

.text.util

5

59

115

60

60

.media.effect

4

3

17

25

75

.net.rtp

4

1

17

25

100

.text.format

4

513

1,473

100

100

.app.admin

3

34

90

66.67

100

.security

3

3

15

100

100

.accessibilityservice

2

12

33

100

100

.hardware.input

2

3

23

50

100

.os.storage

2

7

17

100

100

.service.textservice

2

0

5

0

100

.service.wallpaper

2

4

115

50

100

.telephony.cdma

1

3

9

100

100

Spearman’s ρ between

0.04

−0.43

package size and coverage