@@ -309,18 +309,6 @@ final class Event {
309
309
/// Event that is emitted on shutdown to report the structure of the analysis
310
310
/// contexts created immediately after startup.
311
311
///
312
- /// [contextsFromBothFiles] - the number of contexts that were created because
313
- /// of both a package config and an analysis options file.
314
- ///
315
- /// [contextsFromOptionsFiles] - the number of contexts that were created
316
- /// because of an analysis options file.
317
- ///
318
- /// [contextsFromPackagesFiles] - the number of contexts that were created
319
- /// because of a package config file.
320
- ///
321
- /// [contextsWithoutFiles] - the number of contexts that were created because
322
- /// of the lack of either a package config or an analysis options file.
323
- ///
324
312
/// [immediateFileCount] - the number of files in one of the analysis
325
313
/// contexts.
326
314
///
@@ -341,32 +329,54 @@ final class Event {
341
329
///
342
330
/// [transitiveFileUniqueLineCount] - the number of lines in the unique
343
331
/// transitive files.
332
+ ///
333
+ /// [libraryCycleLibraryCounts] - json encoded percentile values indicating
334
+ /// the number of libraries in a single library cycle.
335
+ ///
336
+ /// [libraryCycleLineCounts] - json encoded percentile values indicating the
337
+ /// number of lines of code in all of the files in a single library cycle.
338
+ ///
339
+ /// [contextsFromBothFiles] - the number of contexts that were created because
340
+ /// of both a package config and an analysis options file.
341
+ ///
342
+ /// [contextsFromOptionsFiles] - the number of contexts that were created
343
+ /// because of an analysis options file.
344
+ ///
345
+ /// [contextsFromPackagesFiles] - the number of contexts that were created
346
+ /// because of a package config file.
347
+ ///
348
+ /// [contextsWithoutFiles] - the number of contexts that were created because
349
+ /// of the lack of either a package config or an analysis options file.
344
350
Event .contextStructure ({
345
- required int contextsFromBothFiles,
346
- required int contextsFromOptionsFiles,
347
- required int contextsFromPackagesFiles,
348
- required int contextsWithoutFiles,
349
351
required int immediateFileCount,
350
352
required int immediateFileLineCount,
351
353
required int numberOfContexts,
352
354
required int transitiveFileCount,
353
355
required int transitiveFileLineCount,
354
356
required int transitiveFileUniqueCount,
355
357
required int transitiveFileUniqueLineCount,
358
+ String libraryCycleLibraryCounts = '' ,
359
+ String libraryCycleLineCounts = '' ,
360
+ int contextsFromBothFiles = 0 ,
361
+ int contextsFromOptionsFiles = 0 ,
362
+ int contextsFromPackagesFiles = 0 ,
363
+ int contextsWithoutFiles = 0 ,
356
364
}) : this ._(
357
365
eventName: DashEvent .contextStructure,
358
366
eventData: {
359
- 'contextsFromBothFiles' : contextsFromBothFiles,
360
- 'contextsFromOptionsFiles' : contextsFromOptionsFiles,
361
- 'contextsFromPackagesFiles' : contextsFromPackagesFiles,
362
- 'contextsWithoutFiles' : contextsWithoutFiles,
363
367
'immediateFileCount' : immediateFileCount,
364
368
'immediateFileLineCount' : immediateFileLineCount,
365
369
'numberOfContexts' : numberOfContexts,
366
370
'transitiveFileCount' : transitiveFileCount,
367
371
'transitiveFileLineCount' : transitiveFileLineCount,
368
372
'transitiveFileUniqueCount' : transitiveFileUniqueCount,
369
373
'transitiveFileUniqueLineCount' : transitiveFileUniqueLineCount,
374
+ 'libraryCycleLibraryCounts' : libraryCycleLibraryCounts,
375
+ 'libraryCycleLineCounts' : libraryCycleLineCounts,
376
+ 'contextsFromBothFiles' : contextsFromBothFiles,
377
+ 'contextsFromOptionsFiles' : contextsFromOptionsFiles,
378
+ 'contextsFromPackagesFiles' : contextsFromPackagesFiles,
379
+ 'contextsWithoutFiles' : contextsWithoutFiles,
370
380
},
371
381
);
372
382
0 commit comments