question: private void parsePackages ( SensorContext sensorContext ) { for ( Directory directory : packageList ) { sensorContext . saveMeasure ( directory , CoreMetrics . DIRECTORIES , 1.0 ) ; sensorContext . saveMeasure ( directory , CoreMetrics . FILES , ( double ) filesCount . get ( directory ) ) ; } }
target:  Count the metrics for packages