@@ -309,18 +309,6 @@ final class Event {
309309 /// Event that is emitted on shutdown to report the structure of the analysis
310310 /// contexts created immediately after startup.
311311 ///
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- ///
324312 /// [immediateFileCount] - the number of files in one of the analysis
325313 /// contexts.
326314 ///
@@ -341,32 +329,54 @@ final class Event {
341329 ///
342330 /// [transitiveFileUniqueLineCount] - the number of lines in the unique
343331 /// 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.
344350 Event .contextStructure ({
345- required int contextsFromBothFiles,
346- required int contextsFromOptionsFiles,
347- required int contextsFromPackagesFiles,
348- required int contextsWithoutFiles,
349351 required int immediateFileCount,
350352 required int immediateFileLineCount,
351353 required int numberOfContexts,
352354 required int transitiveFileCount,
353355 required int transitiveFileLineCount,
354356 required int transitiveFileUniqueCount,
355357 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 ,
356364 }) : this ._(
357365 eventName: DashEvent .contextStructure,
358366 eventData: {
359- 'contextsFromBothFiles' : contextsFromBothFiles,
360- 'contextsFromOptionsFiles' : contextsFromOptionsFiles,
361- 'contextsFromPackagesFiles' : contextsFromPackagesFiles,
362- 'contextsWithoutFiles' : contextsWithoutFiles,
363367 'immediateFileCount' : immediateFileCount,
364368 'immediateFileLineCount' : immediateFileLineCount,
365369 'numberOfContexts' : numberOfContexts,
366370 'transitiveFileCount' : transitiveFileCount,
367371 'transitiveFileLineCount' : transitiveFileLineCount,
368372 'transitiveFileUniqueCount' : transitiveFileUniqueCount,
369373 'transitiveFileUniqueLineCount' : transitiveFileUniqueLineCount,
374+ 'libraryCycleLibraryCounts' : libraryCycleLibraryCounts,
375+ 'libraryCycleLineCounts' : libraryCycleLineCounts,
376+ 'contextsFromBothFiles' : contextsFromBothFiles,
377+ 'contextsFromOptionsFiles' : contextsFromOptionsFiles,
378+ 'contextsFromPackagesFiles' : contextsFromPackagesFiles,
379+ 'contextsWithoutFiles' : contextsWithoutFiles,
370380 },
371381 );
372382
0 commit comments