Coverage report: 27%

Files Functions Classes

coverage.py v7.5.0, created at 2024-04-25 00:54 -0700

File function statements missing excluded branches partial coverage
python/lsst/__init__.py (no function) 2 0 0 0 0 100%
python/lsst/ap/__init__.py (no function) 2 0 0 0 0 100%
python/lsst/ap/association/__init__.py (no function) 7 0 0 0 0 100%
python/lsst/ap/association/association.py AssociationTask.run 6 6 0 2 0 0%
python/lsst/ap/association/association.py AssociationTask.check_dia_source_radec 7 7 0 4 0 0%
python/lsst/ap/association/association.py AssociationTask.associate_sources 3 3 0 0 0 0%
python/lsst/ap/association/association.py AssociationTask.score 12 12 0 2 0 0%
python/lsst/ap/association/association.py AssociationTask._make_spatial_tree 2 2 0 0 0 0%
python/lsst/ap/association/association.py AssociationTask._radec_to_xyz 8 8 0 0 0 0%
python/lsst/ap/association/association.py AssociationTask.match 19 19 0 6 0 0%
python/lsst/ap/association/association.py (no function) 26 0 0 0 0 100%
python/lsst/ap/association/diaForcedSource.py DiaForcedSourcedConfig.setDefaults 7 7 0 0 0 0%
python/lsst/ap/association/diaForcedSource.py DiaForcedSourceTask.__init__ 2 2 0 0 0 0%
python/lsst/ap/association/diaForcedSource.py DiaForcedSourceTask.run 9 9 0 0 0 0%
python/lsst/ap/association/diaForcedSource.py DiaForcedSourceTask._convert_from_pandas 8 8 0 2 0 0%
python/lsst/ap/association/diaForcedSource.py DiaForcedSourceTask._calibrate_and_merge 18 18 0 0 0 0%
python/lsst/ap/association/diaForcedSource.py DiaForcedSourceTask._trim_to_exposure 4 4 0 0 0 0%
python/lsst/ap/association/diaForcedSource.py (no function) 23 0 0 0 0 100%
python/lsst/ap/association/diaPipe.py DiaPipelineConnections.__init__ 5 5 0 4 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineConnections.adjustQuantum 5 5 0 4 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineConfig.setDefaults 3 3 0 0 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineTask.__init__ 10 10 0 4 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineTask.runQuantum 8 8 0 2 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineTask.run 38 38 0 16 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineTask.createNewDiaObjects 6 6 0 2 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineTask._initialize_dia_object 4 4 0 2 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineTask.testDataFrameIndex 1 1 0 0 0 0%
python/lsst/ap/association/diaPipe.py DiaPipelineTask._add_association_meta_data 5 5 0 0 0 0%
python/lsst/ap/association/diaPipe.py (no function) 47 0 0 0 0 100%
python/lsst/ap/association/loadDiaCatalogs.py LoadDiaCatalogsTask.__init__ 1 1 0 0 0 0%
python/lsst/ap/association/loadDiaCatalogs.py LoadDiaCatalogsTask.run 10 10 0 0 0 0%
python/lsst/ap/association/loadDiaCatalogs.py LoadDiaCatalogsTask.loadDiaObjects 8 8 0 4 0 0%
python/lsst/ap/association/loadDiaCatalogs.py LoadDiaCatalogsTask.loadDiaSources 9 9 0 4 0 0%
python/lsst/ap/association/loadDiaCatalogs.py LoadDiaCatalogsTask.loadDiaForcedSources 10 10 0 4 0 0%
python/lsst/ap/association/loadDiaCatalogs.py LoadDiaCatalogsTask._getRegion 5 5 0 2 0 0%
python/lsst/ap/association/loadDiaCatalogs.py (no function) 26 0 0 0 0 100%
python/lsst/ap/association/metrics.py NumberNewDiaObjectsMetricConfig.setDefaults 2 2 0 0 0 0%
python/lsst/ap/association/metrics.py NumberNewDiaObjectsMetricTask.makeMeasurement 8 8 0 2 0 0%
python/lsst/ap/association/metrics.py NumberNewDiaObjectsMetricTask.getInputMetadataKeys 1 1 0 0 0 0%
python/lsst/ap/association/metrics.py NumberUnassociatedDiaObjectsMetricConfig.setDefaults 2 2 0 0 0 0%
python/lsst/ap/association/metrics.py NumberUnassociatedDiaObjectsMetricTask.makeMeasurement 8 8 0 2 0 0%
python/lsst/ap/association/metrics.py NumberUnassociatedDiaObjectsMetricTask.getInputMetadataKeys 1 1 0 0 0 0%
python/lsst/ap/association/metrics.py FractionUpdatedDiaObjectsMetricConfig.setDefaults 2 2 0 0 0 0%
python/lsst/ap/association/metrics.py FractionUpdatedDiaObjectsMetricTask.makeMeasurement 12 12 0 4 0 0%
python/lsst/ap/association/metrics.py FractionUpdatedDiaObjectsMetricTask.getInputMetadataKeys 1 1 0 0 0 0%
python/lsst/ap/association/metrics.py NumberSolarSystemObjectsMetricConfig.setDefaults 2 2 0 0 0 0%
python/lsst/ap/association/metrics.py NumberSolarSystemObjectsMetricTask.makeMeasurement 8 8 0 2 0 0%
python/lsst/ap/association/metrics.py NumberSolarSystemObjectsMetricTask.getInputMetadataKeys 1 1 0 0 0 0%
python/lsst/ap/association/metrics.py NumberAssociatedSolarSystemObjectsMetricConfig.setDefaults 2 2 0 0 0 0%
python/lsst/ap/association/metrics.py NumberAssociatedSolarSystemObjectsMetricTask.makeMeasurement 8 8 0 2 0 0%
python/lsst/ap/association/metrics.py NumberAssociatedSolarSystemObjectsMetricTask.getInputMetadataKeys 1 1 0 0 0 0%
python/lsst/ap/association/metrics.py TotalUnassociatedDiaObjectsMetricConfig.setDefaults 2 2 0 0 0 0%
python/lsst/ap/association/metrics.py TotalUnassociatedDiaObjectsMetricTask.makeMeasurement 8 8 0 2 0 0%
python/lsst/ap/association/metrics.py (no function) 57 0 0 12 0 100%
python/lsst/ap/association/packageAlerts.py PackageAlertsTask.__init__ 3 3 0 0 0 0%
python/lsst/ap/association/packageAlerts.py PackageAlertsTask.run 22 22 0 8 0 0%
python/lsst/ap/association/packageAlerts.py PackageAlertsTask._patchDiaSources 1 1 0 0 0 0%
python/lsst/ap/association/packageAlerts.py PackageAlertsTask.createDiaSourceExtent 4 4 0 2 0 0%
python/lsst/ap/association/packageAlerts.py PackageAlertsTask.createCcdDataCutout 19 19 0 2 0 0%
python/lsst/ap/association/packageAlerts.py PackageAlertsTask.makeLocalTransformMatrix 5 5 0 0 0 0%
python/lsst/ap/association/packageAlerts.py PackageAlertsTask.makeAlertDict 19 19 0 8 0 0%
python/lsst/ap/association/packageAlerts.py PackageAlertsTask.streamCcdDataToBytes 4 4 0 2 0 0%
python/lsst/ap/association/packageAlerts.py (no function) 32 0 0 0 0 100%
python/lsst/ap/association/skyBotEphemerisQuery.py SkyBotEphemerisQueryTask.runQuantum 4 4 0 0 0 0%
python/lsst/ap/association/skyBotEphemerisQuery.py SkyBotEphemerisQueryTask.run 6 6 0 0 0 0%
python/lsst/ap/association/skyBotEphemerisQuery.py SkyBotEphemerisQueryTask._skybotConeSearch 28 28 0 6 0 0%
python/lsst/ap/association/skyBotEphemerisQuery.py (no function) 28 0 0 0 0 100%
python/lsst/ap/association/ssoAssociation.py SolarSystemAssociationTask.run 20 20 0 6 0 0%
python/lsst/ap/association/ssoAssociation.py SolarSystemAssociationTask._maskToCcdRegion 3 3 0 0 0 0%
python/lsst/ap/association/ssoAssociation.py SolarSystemAssociationTask._radec_to_xyz 11 11 0 0 0 0%
python/lsst/ap/association/ssoAssociation.py (no function) 19 0 0 0 0 100%
python/lsst/ap/association/transformDiaSourceCatalog.py TransformDiaSourceCatalogConfig.setDefaults 2 2 0 0 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py TransformDiaSourceCatalogTask.__init__ 7 7 0 4 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py TransformDiaSourceCatalogTask._create_bit_pack_mappings 15 15 0 10 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py TransformDiaSourceCatalogTask.runQuantum 6 6 0 0 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py TransformDiaSourceCatalogTask.run 17 17 0 6 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py TransformDiaSourceCatalogTask.addUnpackedFlagFunctors 4 4 0 2 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py TransformDiaSourceCatalogTask.computeBBoxSizes 14 14 0 8 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py TransformDiaSourceCatalogTask.bitPackFlags 6 6 0 4 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py UnpackApdbFlags.__init__ 14 14 0 10 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py UnpackApdbFlags.unpack 6 6 0 2 0 0%
python/lsst/ap/association/transformDiaSourceCatalog.py (no function) 40 0 0 0 0 100%
python/lsst/ap/association/version.py (no function) 6 0 0 0 0 100%
tests/test_association_task.py TestAssociationTask.setUp 8 8 0 6 0 0%
tests/test_association_task.py TestAssociationTask.test_run 10 10 0 4 0 0%
tests/test_association_task.py TestAssociationTask.test_run_no_existing_objects 6 6 0 0 0 0%
tests/test_association_task.py TestAssociationTask.test_associate_sources 4 4 0 2 0 0%
tests/test_association_task.py TestAssociationTask.test_score_and_match 8 8 0 2 0 0%
tests/test_association_task.py TestAssociationTask.test_remove_nan_dia_sources 7 7 0 0 0 0%
tests/test_association_task.py setup_module 1 1 0 0 0 0%
tests/test_association_task.py (no function) 19 2 0 2 1 86%
tests/test_diaForcedSource.py create_test_dia_objects 6 6 0 6 0 0%
tests/test_diaForcedSource.py TestDiaForcedSource.setUp 61 61 0 2 0 0%
tests/test_diaForcedSource.py TestDiaForcedSource.testRun 16 16 0 2 0 0%
tests/test_diaForcedSource.py setup_module 1 1 0 0 0 0%
tests/test_diaForcedSource.py (no function) 22 2 0 2 1 88%
tests/test_diaPipe.py TestDiaPipelineTask._makeDefaultConfig 5 5 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask.setUp 4 4 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask.tearDown 1 1 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask.testRun 1 1 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask.testRunWithSolarSystemAssociation 1 1 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask.testRunWithAlerts 1 1 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask.testRunWithoutAlertsOrSolarSystem 1 1 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask._testRun 34 34 0 15 0 0%
tests/test_diaPipe.py TestDiaPipelineTask._testRun.concatMock 1 1 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask._testRun.solarSystemAssociator_run 1 1 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask._testRun.associator_run 1 1 0 0 0 0%
tests/test_diaPipe.py TestDiaPipelineTask.test_createDiaObjects 8 8 0 2 0 0%
tests/test_diaPipe.py setup_module 1 1 0 0 0 0%
tests/test_diaPipe.py (no function) 27 2 0 2 1 90%
tests/test_loadDiaCatalogs.py _data_file_name 1 1 0 0 0 0%
tests/test_loadDiaCatalogs.py makeExposure 33 33 0 4 0 0%
tests/test_loadDiaCatalogs.py makeDiaObjects 13 13 0 4 0 0%
tests/test_loadDiaCatalogs.py makeDiaSources 11 11 0 2 0 0%
tests/test_loadDiaCatalogs.py makeDiaForcedSources 6 6 0 2 0 0%
tests/test_loadDiaCatalogs.py TestLoadDiaCatalogs.setUp 15 15 0 0 0 0%
tests/test_loadDiaCatalogs.py TestLoadDiaCatalogs.tearDown 2 2 0 0 0 0%
tests/test_loadDiaCatalogs.py TestLoadDiaCatalogs.testRun 5 5 0 0 0 0%
tests/test_loadDiaCatalogs.py TestLoadDiaCatalogs.testLoadDiaObjects 4 4 0 0 0 0%
tests/test_loadDiaCatalogs.py TestLoadDiaCatalogs.testLoadDiaForcedSources 4 4 0 0 0 0%
tests/test_loadDiaCatalogs.py TestLoadDiaCatalogs.testLoadDiaSources 5 5 0 0 0 0%
tests/test_loadDiaCatalogs.py TestLoadDiaCatalogs.test_apdbSchema 8 8 0 8 0 0%
tests/test_loadDiaCatalogs.py setup_module 1 1 0 0 0 0%
tests/test_loadDiaCatalogs.py (no function) 34 2 0 2 1 92%
tests/test_metrics.py _makeAssociationMetadata 7 7 0 0 0 0%
tests/test_metrics.py TestNewDiaObjects.makeTask 1 1 0 0 0 0%
tests/test_metrics.py TestNewDiaObjects.testValid 6 6 0 0 0 0%
tests/test_metrics.py TestNewDiaObjects.testNoNew 6 6 0 0 0 0%
tests/test_metrics.py TestNewDiaObjects.testMissingData 4 4 0 0 0 0%
tests/test_metrics.py TestNewDiaObjects.testAssociationFailed 4 4 0 0 0 0%
tests/test_metrics.py TestNewDiaObjects.testBadlyTypedKeys 4 4 0 2 0 0%
tests/test_metrics.py TestUnassociatedDiaObjects.makeTask 1 1 0 0 0 0%
tests/test_metrics.py TestUnassociatedDiaObjects.testValid 6 6 0 0 0 0%
tests/test_metrics.py TestUnassociatedDiaObjects.testAllUpdated 6 6 0 0 0 0%
tests/test_metrics.py TestUnassociatedDiaObjects.testMissingData 4 4 0 0 0 0%
tests/test_metrics.py TestUnassociatedDiaObjects.testAssociationFailed 4 4 0 0 0 0%
tests/test_metrics.py TestUnassociatedDiaObjects.testBadlyTypedKeys 4 4 0 2 0 0%
tests/test_metrics.py TestFracUpdatedDiaObjects.makeTask 1 1 0 0 0 0%
tests/test_metrics.py TestFracUpdatedDiaObjects.testValid 8 8 0 0 0 0%
tests/test_metrics.py TestFracUpdatedDiaObjects.testNoUpdated 6 6 0 0 0 0%
tests/test_metrics.py TestFracUpdatedDiaObjects.testAllUpdated 6 6 0 0 0 0%
tests/test_metrics.py TestFracUpdatedDiaObjects.testNoObjects 5 5 0 0 0 0%
tests/test_metrics.py TestFracUpdatedDiaObjects.testMissingData 4 4 0 0 0 0%
tests/test_metrics.py TestFracUpdatedDiaObjects.testAssociationFailed 4 4 0 0 0 0%
tests/test_metrics.py TestFracUpdatedDiaObjects.testBadlyTypedKeys 4 4 0 2 0 0%
tests/test_metrics.py TestNumberSolarSystemObjects.makeTask 1 1 0 0 0 0%
tests/test_metrics.py TestNumberSolarSystemObjects.testValid 6 6 0 0 0 0%
tests/test_metrics.py TestNumberSolarSystemObjects.testAllUpdated 6 6 0 0 0 0%
tests/test_metrics.py TestNumberSolarSystemObjects.testMissingData 4 4 0 0 0 0%
tests/test_metrics.py TestNumberSolarSystemObjects.testAssociationFailed 4 4 0 0 0 0%
tests/test_metrics.py TestNumberSolarSystemObjects.testBadlyTypedKeys 4 4 0 2 0 0%
tests/test_metrics.py TestNumberAssociatedSolarSystemObjects.makeTask 1 1 0 0 0 0%
tests/test_metrics.py TestNumberAssociatedSolarSystemObjects.testValid 6 6 0 0 0 0%
tests/test_metrics.py TestNumberAssociatedSolarSystemObjects.testAllUpdated 6 6 0 0 0 0%
tests/test_metrics.py TestNumberAssociatedSolarSystemObjects.testMissingData 4 4 0 0 0 0%
tests/test_metrics.py TestNumberAssociatedSolarSystemObjects.testAssociationFailed 4 4 0 0 0 0%
tests/test_metrics.py TestNumberAssociatedSolarSystemObjects.testBadlyTypedKeys 4 4 0 2 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects._makeApdb 4 4 0 0 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects.makeTask 6 6 0 0 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects.makeTask.SimpleDbLoader.run 3 3 0 2 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects.makeDbInfo 1 1 0 0 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects.setUp 1 1 0 0 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects.testValid 5 5 0 0 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects.testAllAssociated 5 5 0 0 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects.testMissingData 4 4 0 0 0 0%
tests/test_metrics.py TestTotalUnassociatedObjects.testFineGrainedMetric 2 2 0 2 0 0%
tests/test_metrics.py setup_module 1 1 0 0 0 0%
tests/test_metrics.py (no function) 78 2 0 2 1 96%
tests/test_packageAlerts.py _data_file_name 1 1 0 0 0 0%
tests/test_packageAlerts.py makeDiaObjects 13 13 0 4 0 0%
tests/test_packageAlerts.py makeDiaSources 12 12 0 2 0 0%
tests/test_packageAlerts.py makeDiaForcedSources 7 7 0 2 0 0%
tests/test_packageAlerts.py _roundTripThroughApdb 19 19 0 0 0 0%
tests/test_packageAlerts.py TestPackageAlerts.setUp 30 30 0 0 0 0%
tests/test_packageAlerts.py TestPackageAlerts.testCreateExtent 7 7 0 0 0 0%
tests/test_packageAlerts.py TestPackageAlerts.testCreateCcdDataCutout 8 8 0 0 0 0%
tests/test_packageAlerts.py TestPackageAlerts.testMakeLocalTransformMatrix 5 5 0 0 0 0%
tests/test_packageAlerts.py TestPackageAlerts.testStreamCcdDataToBytes 8 8 0 2 0 0%
tests/test_packageAlerts.py TestPackageAlerts.testMakeAlertDict 15 15 0 2 0 0%
tests/test_packageAlerts.py TestPackageAlerts.testRun 22 22 0 10 0 0%
tests/test_packageAlerts.py setup_module 1 1 0 0 0 0%
tests/test_packageAlerts.py (no function) 38 2 0 2 1 92%
tests/test_skyBotEphemerisQuery.py MockDeferredDatasetHandle.__init__ 1 1 0 0 0 0%
tests/test_skyBotEphemerisQuery.py MockDeferredDatasetHandle.get 1 1 0 0 0 0%
tests/test_skyBotEphemerisQuery.py TestSkyBotEphemerisQuery.setUp 5 5 0 0 0 0%
tests/test_skyBotEphemerisQuery.py TestSkyBotEphemerisQuery.test_skyBotConeSearch 7 7 0 2 0 0%
tests/test_skyBotEphemerisQuery.py TestSkyBotEphemerisQuery.test_skyBotConeSearch.requestReplace 3 3 0 2 0 0%
tests/test_skyBotEphemerisQuery.py TestSkyBotEphemerisQuery.test_skybotRun 8 8 0 2 0 0%
tests/test_skyBotEphemerisQuery.py setup_module 1 1 0 0 0 0%
tests/test_skyBotEphemerisQuery.py (no function) 25 2 0 2 1 89%
tests/test_ssoAssociationTask.py TestSolarSystemAssociation.setUp 22 22 0 4 0 0%
tests/test_ssoAssociationTask.py TestSolarSystemAssociation.test_run 7 7 0 2 0 0%
tests/test_ssoAssociationTask.py TestSolarSystemAssociation.test_mask 12 12 0 0 0 0%
tests/test_ssoAssociationTask.py setup_module 1 1 0 0 0 0%
tests/test_ssoAssociationTask.py (no function) 19 2 0 2 1 86%
tests/test_transformDiaSourceCatalog.py TestTransformDiaSourceCatalogTask.setUp 26 26 0 2 0 0%
tests/test_transformDiaSourceCatalog.py TestTransformDiaSourceCatalogTask.test_run 12 12 0 2 0 0%
tests/test_transformDiaSourceCatalog.py TestTransformDiaSourceCatalogTask.test_run_dia_source_wrong_flags 2 2 0 2 0 0%
tests/test_transformDiaSourceCatalog.py TestTransformDiaSourceCatalogTask.test_computeBBoxSize 5 5 0 0 0 0%
tests/test_transformDiaSourceCatalog.py TestTransformDiaSourceCatalogTask.test_bit_unpacker 19 19 0 12 0 0%
tests/test_transformDiaSourceCatalog.py setup_module 1 1 0 0 0 0%
tests/test_transformDiaSourceCatalog.py (no function) 24 2 0 2 1 88%
Total   1897 1314 0 315 9 27%

No items found using the specified filter.