You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/telemetry/CodeWhispererTelemetryService.kt
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,8 @@ class CodeWhispererTelemetryService {
185
185
suggestionState:CodewhispererSuggestionState,
186
186
popupShownTime:Duration?,
187
187
suggestionReferenceCount:Int,
188
-
generatedLineCount:Int
188
+
generatedLineCount:Int,
189
+
acceptedCharCount:Int
189
190
) {
190
191
val project = requestContext.project
191
192
val totalImportCount = recommendationContext.details.fold(0) { grandTotal, detail ->
@@ -245,7 +246,7 @@ class CodeWhispererTelemetryService {
Copy file name to clipboardExpand all lines: jetbrains-core/tst/software/aws/toolkits/jetbrains/services/codewhisperer/CodeWhispererTelemetryServiceTest.kt
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -240,6 +240,7 @@ class CodeWhispererTelemetryServiceTest {
240
240
val suggestionState =CodewhispererSuggestionState.Reject
241
241
val suggestionReferenceCount =Random.nextInt(2)
242
242
val lineCount =Random.nextInt(0, 100)
243
+
val charCount =Random.nextInt(0, 100)
243
244
244
245
val expectedTotalImportCount = recommendationContext.details.fold(0) { grandTotal, detail ->
0 commit comments