@@ -16,10 +16,12 @@ FileWithExtractionMetrics getACacheHit(FileWithExtractionMetrics f) {
1616 result .isFromCache ( )
1717}
1818
19- from FileWithExtractionMetrics file , boolean fromCache
20- where ( if file .isFromCache ( ) then fromCache = true else fromCache = false )
21- select file .getAbsolutePath ( ) as FILE , file .getCpuTime ( ) as CPU_NANO ,
22- file .getNumberOfLines ( ) as LINES , count ( Locatable n | n .getFile ( ) = file ) as LOCATABLES ,
23- count ( TypeAnnotation n | n .getFile ( ) = file ) as TYPES , file .getLength ( ) as LENGTH ,
24- fromCache as FROM_CACHE , count ( getACacheMember ( file .getCacheFile ( ) ) ) as CACHE_MEMBERS ,
25- count ( getACacheHit ( file ) ) as CACHE_HITS , file .getCacheFile ( ) as CACHE_FILE
19+ from FileWithExtractionMetrics fileWithMetrics , boolean fromCache
20+ where ( if fileWithMetrics .isFromCache ( ) then fromCache = true else fromCache = false )
21+ select fileWithMetrics .getAbsolutePath ( ) as file , fileWithMetrics .getCpuTime ( ) as cpu_nano ,
22+ fileWithMetrics .getNumberOfLines ( ) as lines ,
23+ count ( Locatable n | n .getFile ( ) = fileWithMetrics ) as locatables ,
24+ count ( TypeAnnotation n | n .getFile ( ) = fileWithMetrics ) as types ,
25+ fileWithMetrics .getLength ( ) as length , fromCache as from_cache ,
26+ count ( getACacheMember ( fileWithMetrics .getCacheFile ( ) ) ) as cache_members ,
27+ count ( getACacheHit ( fileWithMetrics ) ) as cache_hits , fileWithMetrics .getCacheFile ( ) as cache_file
0 commit comments