Coverage report: 27%

coverage.py v7.3.2, created at 2023-12-05 11:07 +0000

Module statements missing excluded branches partial coverage
python/lsst/__init__.py 2 0 0 0 0 100%
python/lsst/daf/__init__.py 2 0 0 0 0 100%
python/lsst/daf/butler/__init__.py 37 0 0 0 0 100%
python/lsst/daf/butler/_butler.py 142 57 22 92 0 65%
python/lsst/daf/butler/_butler_config.py 70 53 0 34 0 16%
python/lsst/daf/butler/_butler_repo_index.py 73 48 0 24 0 38%
python/lsst/daf/butler/_column_categorization.py 35 15 0 26 2 43%
python/lsst/daf/butler/_column_tags.py 70 19 2 47 0 74%
python/lsst/daf/butler/_column_type_info.py 61 31 0 30 0 37%
python/lsst/daf/butler/_compat.py 68 39 0 36 2 43%
python/lsst/daf/butler/_config.py 485 240 2 250 36 45%
python/lsst/daf/butler/_config_support.py 117 82 3 72 5 24%
python/lsst/daf/butler/_dataset_association.py 19 3 0 4 0 78%
python/lsst/daf/butler/_dataset_existence.py 20 1 0 0 0 95%
python/lsst/daf/butler/_dataset_ref.py 242 148 3 120 1 32%
python/lsst/daf/butler/_dataset_type.py 245 178 3 132 0 23%
python/lsst/daf/butler/_deferredDatasetHandle.py 30 12 5 12 0 52%
python/lsst/daf/butler/_exceptions.py 6 0 0 0 0 100%
python/lsst/daf/butler/_file_dataset.py 29 11 0 10 0 51%
python/lsst/daf/butler/_file_descriptor.py 28 18 3 12 0 30%
python/lsst/daf/butler/_formatter.py 193 125 12 84 0 32%
python/lsst/daf/butler/_limited_butler.py 70 19 4 28 0 79%
python/lsst/daf/butler/_location.py 80 53 0 38 0 33%
python/lsst/daf/butler/_named.py 204 90 12 84 0 57%
python/lsst/daf/butler/_quantum.py 210 154 0 122 0 23%
python/lsst/daf/butler/_quantum_backed.py 192 116 3 94 0 34%
python/lsst/daf/butler/_registry_shim.py 110 45 4 12 0 61%
python/lsst/daf/butler/_storage_class.py 366 189 0 194 16 45%
python/lsst/daf/butler/_storage_class_delegate.py 110 81 4 52 0 22%
python/lsst/daf/butler/_timespan.py 317 184 19 214 0 44%
python/lsst/daf/butler/_topology.py 46 9 5 26 0 85%
python/lsst/daf/butler/cli/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/cli/butler.py 131 73 1 80 0 46%
python/lsst/daf/butler/cli/cliLog.py 159 107 0 80 1 30%
python/lsst/daf/butler/cli/cmd/__init__.py 4 0 0 0 0 100%
python/lsst/daf/butler/cli/cmd/_remove_collections.py 46 27 0 28 0 42%
python/lsst/daf/butler/cli/cmd/_remove_runs.py 61 30 0 37 0 48%
python/lsst/daf/butler/cli/cmd/commands.py 289 97 0 382 0 77%
python/lsst/daf/butler/cli/opt/__init__.py 3 0 0 0 0 100%
python/lsst/daf/butler/cli/opt/arguments.py 11 0 0 0 0 100%
python/lsst/daf/butler/cli/opt/optionGroups.py 18 1 0 8 1 92%
python/lsst/daf/butler/cli/opt/options.py 47 6 0 8 0 82%
python/lsst/daf/butler/cli/progress.py 21 5 0 6 0 74%
python/lsst/daf/butler/cli/utils.py 351 209 4 147 5 35%
python/lsst/daf/butler/datastore/__init__.py 1 0 0 0 0 100%
python/lsst/daf/butler/datastore/_datastore.py 262 102 48 94 0 62%
python/lsst/daf/butler/datastore/cache_manager.py 394 272 11 166 0 29%
python/lsst/daf/butler/datastore/composites.py 54 35 8 22 0 25%
python/lsst/daf/butler/datastore/constraints.py 52 32 5 26 0 26%
python/lsst/daf/butler/datastore/file_templates.py 249 202 3 126 0 13%
python/lsst/daf/butler/datastore/generic_base.py 38 22 3 12 0 32%
python/lsst/daf/butler/datastore/record_data.py 73 43 2 40 1 33%
python/lsst/daf/butler/datastore/stored_file_info.py 98 51 6 38 0 42%
python/lsst/daf/butler/datastores/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/datastores/fileDatastore.py 1040 904 5 585 0 10%
python/lsst/daf/butler/ddl.py 230 91 2 88 0 55%
python/lsst/daf/butler/delegates/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/delegates/arrowastropy.py 23 10 0 6 0 45%
python/lsst/daf/butler/delegates/arrownumpy.py 23 10 0 6 0 45%
python/lsst/daf/butler/delegates/arrowtable.py 35 20 1 14 0 31%
python/lsst/daf/butler/delegates/dataframe.py 46 30 2 24 0 23%
python/lsst/daf/butler/dimensions/__init__.py 15 0 0 0 0 100%
python/lsst/daf/butler/dimensions/_config.py 79 53 0 32 0 23%
python/lsst/daf/butler/dimensions/_coordinate.py 462 254 16 286 0 47%
python/lsst/daf/butler/dimensions/_data_coordinate_iterable.py 228 134 4 114 0 36%
python/lsst/daf/butler/dimensions/_database.py 143 84 4 58 0 44%
python/lsst/daf/butler/dimensions/_elements.py 126 53 12 88 0 71%
python/lsst/daf/butler/dimensions/_governor.py 58 27 2 16 0 58%
python/lsst/daf/butler/dimensions/_graph.py 168 71 6 97 0 63%
python/lsst/daf/butler/dimensions/_group.py 179 105 4 74 0 37%
python/lsst/daf/butler/dimensions/_packer.py 67 31 5 26 0 58%
python/lsst/daf/butler/dimensions/_records.py 171 121 5 86 1 22%
python/lsst/daf/butler/dimensions/_schema.py 111 78 3 46 0 25%
python/lsst/daf/butler/dimensions/_skypix.py 96 51 3 28 0 46%
python/lsst/daf/butler/dimensions/_universe.py 202 109 4 104 0 46%
python/lsst/daf/butler/dimensions/construction.py 52 20 6 18 0 51%
python/lsst/daf/butler/direct_butler.py 715 614 3 468 0 11%
python/lsst/daf/butler/formatters/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/formatters/file.py 68 47 4 22 0 28%
python/lsst/daf/butler/formatters/parquet.py 461 382 4 230 0 13%
python/lsst/daf/butler/formatters/yaml.py 47 30 0 20 0 25%
python/lsst/daf/butler/json.py 27 14 3 2 0 52%
python/lsst/daf/butler/logging.py 237 136 0 104 2 41%
python/lsst/daf/butler/mapping_factory.py 60 42 0 18 0 26%
python/lsst/daf/butler/persistence_context.py 54 22 6 10 0 53%
python/lsst/daf/butler/progress.py 122 88 1 76 0 22%
python/lsst/daf/butler/registry/__init__.py 9 0 0 0 0 100%
python/lsst/daf/butler/registry/_caching_context.py 21 5 2 0 0 76%
python/lsst/daf/butler/registry/_collection_record_cache.py 45 30 2 18 0 27%
python/lsst/daf/butler/registry/_collection_summary.py 58 35 0 30 0 28%
python/lsst/daf/butler/registry/_collection_summary_cache.py 18 9 0 4 0 41%
python/lsst/daf/butler/registry/_collection_type.py 28 8 0 10 0 68%
python/lsst/daf/butler/registry/_config.py 32 14 3 6 0 53%
python/lsst/daf/butler/registry/_dataset_type_cache.py 41 24 0 12 0 36%
python/lsst/daf/butler/registry/_defaults.py 52 31 2 26 0 29%
python/lsst/daf/butler/registry/_exceptions.py 22 0 0 0 0 100%
python/lsst/daf/butler/registry/_registry.py 115 2 42 98 0 99%
python/lsst/daf/butler/registry/_registry_factory.py 24 11 2 6 0 43%
python/lsst/daf/butler/registry/attributes.py 53 31 0 18 0 37%
python/lsst/daf/butler/registry/bridge/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/registry/bridge/ephemeral.py 44 26 3 30 0 27%
python/lsst/daf/butler/registry/bridge/monolithic.py 103 67 4 48 0 28%
python/lsst/daf/butler/registry/connectionString.py 30 17 2 10 0 38%
python/lsst/daf/butler/registry/databases/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/registry/databases/postgresql.py 198 131 0 96 0 31%
python/lsst/daf/butler/registry/databases/sqlite.py 146 110 3 72 0 19%
python/lsst/daf/butler/registry/interfaces/__init__.py 9 0 0 0 0 100%
python/lsst/daf/butler/registry/interfaces/_attributes.py 23 1 8 16 0 97%
python/lsst/daf/butler/registry/interfaces/_bridge.py 71 15 19 30 0 85%
python/lsst/daf/butler/registry/interfaces/_collections.py 93 21 19 52 0 84%
python/lsst/daf/butler/registry/interfaces/_database.py 411 311 8 272 0 23%
python/lsst/daf/butler/registry/interfaces/_datasets.py 72 6 28 60 0 94%
python/lsst/daf/butler/registry/interfaces/_dimensions.py 112 16 33 104 0 90%
python/lsst/daf/butler/registry/interfaces/_obscore.py 28 1 16 22 0 98%
python/lsst/daf/butler/registry/interfaces/_opaque.py 39 6 10 22 0 87%
python/lsst/daf/butler/registry/interfaces/_versioning.py 65 35 2 44 0 44%
python/lsst/daf/butler/registry/managers.py 157 94 0 64 0 33%
python/lsst/daf/butler/registry/nameShrinker.py 24 17 0 4 0 25%
python/lsst/daf/butler/registry/obscore/__init__.py 5 0 0 0 0 100%
python/lsst/daf/butler/registry/obscore/_config.py 90 12 0 14 1 78%
python/lsst/daf/butler/registry/obscore/_manager.py 172 134 3 78 0 18%
python/lsst/daf/butler/registry/obscore/_records.py 120 95 7 50 1 16%
python/lsst/daf/butler/registry/obscore/_schema.py 59 39 2 30 0 27%
python/lsst/daf/butler/registry/obscore/_spatial.py 35 15 8 20 0 58%
python/lsst/daf/butler/registry/opaque.py 72 45 2 22 0 33%
python/lsst/daf/butler/registry/queries/__init__.py 9 0 0 0 0 100%
python/lsst/daf/butler/registry/queries/_builder.py 68 50 0 30 0 18%
python/lsst/daf/butler/registry/queries/_query.py 250 203 0 145 0 15%
python/lsst/daf/butler/registry/queries/_query_backend.py 109 65 14 67 0 38%
python/lsst/daf/butler/registry/queries/_query_context.py 74 34 7 32 0 55%
python/lsst/daf/butler/registry/queries/_readers.py 109 58 4 62 0 46%
python/lsst/daf/butler/registry/queries/_results.py 194 86 13 84 0 58%
python/lsst/daf/butler/registry/queries/_sql_query_backend.py 109 82 3 56 0 18%
python/lsst/daf/butler/registry/queries/_sql_query_context.py 238 195 3 130 0 13%
python/lsst/daf/butler/registry/queries/_structs.py 172 96 0 82 0 40%
python/lsst/daf/butler/registry/queries/butler_sql_engine.py 79 50 0 28 0 29%
python/lsst/daf/butler/registry/queries/expressions/__init__.py 1 0 0 0 0 100%
python/lsst/daf/butler/registry/queries/expressions/_predicate.py 210 170 2 104 0 13%
python/lsst/daf/butler/registry/queries/expressions/categorize.py 102 90 0 76 0 7%
python/lsst/daf/butler/registry/queries/expressions/check.py 173 111 3 74 0 29%
python/lsst/daf/butler/registry/queries/expressions/normalForm.py 253 126 8 80 0 48%
python/lsst/daf/butler/registry/queries/expressions/parser/__init__.py 4 0 0 0 0 100%
python/lsst/daf/butler/registry/queries/expressions/parser/exprTree.py 137 79 3 20 0 38%
python/lsst/daf/butler/registry/queries/expressions/parser/parserLex.py 69 32 0 8 0 53%
python/lsst/daf/butler/registry/queries/expressions/parser/parserYacc.py 162 116 0 60 0 21%
python/lsst/daf/butler/registry/queries/expressions/parser/ply/__init__.py 2 0 0 0 0 100%
python/lsst/daf/butler/registry/queries/expressions/parser/ply/lex.py 692 622 0 312 1 7%
python/lsst/daf/butler/registry/queries/expressions/parser/ply/yacc.py 1929 1775 0 906 1 5%
python/lsst/daf/butler/registry/queries/expressions/parser/treeVisitor.py 30 1 3 22 0 98%
python/lsst/daf/butler/registry/queries/find_first_dataset.py 37 12 0 19 0 71%
python/lsst/daf/butler/registry/sql_registry.py 575 458 6 302 0 18%
python/lsst/daf/butler/registry/tests/__init__.py 2 0 0 0 0 100%
python/lsst/daf/butler/registry/tests/_database.py 492 441 3 294 0 8%
python/lsst/daf/butler/registry/tests/_registry.py 1520 1423 4 563 0 5%
python/lsst/daf/butler/registry/versions.py 90 62 2 44 0 28%
python/lsst/daf/butler/registry/wildcards.py 220 156 0 118 1 25%
python/lsst/daf/butler/remote_butler/__init__.py 1 0 0 0 0 100%
python/lsst/daf/butler/remote_butler/_remote_butler.py 141 136 19 52 0 3%
python/lsst/daf/butler/repo_relocation.py 20 12 0 6 0 31%
python/lsst/daf/butler/script/__init__.py 21 0 0 0 0 100%
python/lsst/daf/butler/script/_associate.py 10 4 0 0 0 60%
python/lsst/daf/butler/script/_pruneDatasets.py 84 49 2 36 0 41%
python/lsst/daf/butler/script/butlerImport.py 9 4 0 2 0 45%
python/lsst/daf/butler/script/certifyCalibrations.py 16 10 0 4 0 30%
python/lsst/daf/butler/script/collectionChain.py 44 39 0 26 0 7%
python/lsst/daf/butler/script/configDump.py 13 9 0 4 0 24%
python/lsst/daf/butler/script/configValidate.py 13 9 0 0 0 31%
python/lsst/daf/butler/script/createRepo.py 6 2 0 0 0 67%
python/lsst/daf/butler/script/exportCalibs.py 57 46 2 26 0 13%
python/lsst/daf/butler/script/ingest_files.py 54 39 3 12 0 23%
python/lsst/daf/butler/script/queryCollections.py 68 59 0 40 0 8%
python/lsst/daf/butler/script/queryDataIds.py 61 46 2 36 0 15%
python/lsst/daf/butler/script/queryDatasetTypes.py 15 9 0 6 0 29%
python/lsst/daf/butler/script/queryDatasets.py 67 43 4 30 0 27%
python/lsst/daf/butler/script/queryDimensionRecords.py 36 27 0 22 0 16%
python/lsst/daf/butler/script/register_dataset_type.py 11 6 0 2 0 38%
python/lsst/daf/butler/script/removeCollections.py 38 20 0 10 0 46%
python/lsst/daf/butler/script/removeDatasetType.py 6 2 0 0 0 67%
python/lsst/daf/butler/script/removeRuns.py 48 29 0 20 0 34%
python/lsst/daf/butler/script/retrieveArtifacts.py 15 7 2 0 0 53%
python/lsst/daf/butler/script/transferDatasets.py 18 10 0 2 0 40%
python/lsst/daf/butler/tests/__init__.py 6 0 0 0 0 100%
python/lsst/daf/butler/tests/_datasetsHelper.py 60 35 4 18 0 32%
python/lsst/daf/butler/tests/_dummyRegistry.py 107 70 0 56 0 28%
python/lsst/daf/butler/tests/_examplePythonTypes.py 110 70 2 22 0 36%
python/lsst/daf/butler/tests/_testRepo.py 145 120 2 78 0 14%
python/lsst/daf/butler/tests/cliCmdTestBase.py 57 27 8 34 0 59%
python/lsst/daf/butler/tests/cliLogTestBase.py 136 90 10 60 0 32%
python/lsst/daf/butler/tests/dict_convertible_model.py 15 2 0 2 0 88%
python/lsst/daf/butler/tests/testFormatters.py 89 51 6 42 0 34%
python/lsst/daf/butler/tests/utils.py 86 56 6 18 0 33%
python/lsst/daf/butler/time_utils.py 74 40 0 20 0 40%
python/lsst/daf/butler/transfers/__init__.py 3 0 0 0 0 100%
python/lsst/daf/butler/transfers/_context.py 116 94 4 74 0 12%
python/lsst/daf/butler/transfers/_interfaces.py 32 0 8 14 0 100%
python/lsst/daf/butler/transfers/_yaml.py 208 160 2 132 0 14%
python/lsst/daf/butler/utils.py 37 18 0 14 0 41%
python/lsst/daf/butler/version.py 5 0 0 0 0 100%
tests/test_astropyTableFormatter.py 28 16 2 0 0 43%
tests/test_authentication.py 34 17 0 14 0 44%
tests/test_butler.py 1314 1111 6 376 0 13%
tests/test_cliCmdAssociate.py 18 7 2 4 0 68%
tests/test_cliCmdConfigDump.py 113 87 2 32 0 21%
tests/test_cliCmdConfigValidate.py 31 15 2 8 0 51%
tests/test_cliCmdCreate.py 17 5 2 4 0 76%
tests/test_cliCmdImport.py 19 5 2 4 0 78%
tests/test_cliCmdIngestFiles.py 56 38 2 10 0 27%
tests/test_cliCmdPruneDatasets.py 106 59 2 42 3 47%
tests/test_cliCmdQueryCollections.py 97 69 2 8 0 30%
tests/test_cliCmdQueryDataIds.py 78 55 2 10 0 28%
tests/test_cliCmdQueryDatasetTypes.py 90 68 2 10 0 26%
tests/test_cliCmdQueryDatasets.py 65 41 2 2 0 39%
tests/test_cliCmdQueryDimensionRecords.py 59 38 2 0 0 36%
tests/test_cliCmdRemoveCollections.py 81 60 2 8 0 24%
tests/test_cliCmdRemoveRuns.py 79 67 2 2 0 15%
tests/test_cliCmdRetrieveArtifacts.py 59 39 2 14 0 30%
tests/test_cliLog.py 18 7 2 0 0 61%
tests/test_cliPluginLoader.py 75 49 2 26 0 30%
tests/test_cliUtilSplitCommas.py 46 28 2 12 0 41%
tests/test_cliUtilSplitKv.py 140 108 2 64 0 16%
tests/test_cliUtilToUpper.py 27 14 2 6 0 58%
tests/test_cliUtils.py 199 147 2 104 0 21%
tests/test_composites.py 47 36 2 10 0 23%
tests/test_config.py 415 350 2 78 0 14%
tests/test_connectionString.py 39 20 2 8 0 40%
tests/test_constraints.py 94 81 2 2 0 14%
tests/test_datasets.py 332 301 2 52 0 8%
tests/test_datastore.py 1075 918 2 350 0 11%
tests/test_ddl.py 31 21 2 2 0 30%
tests/test_dimensions.py 440 377 2 198 0 11%
tests/test_exprParserLex.py 180 162 2 30 0 9%
tests/test_exprParserYacc.py 380 343 2 30 0 9%
tests/test_expressions.py 150 117 2 0 0 22%
tests/test_formatter.py 121 105 2 32 0 10%
tests/test_location.py 77 65 2 12 0 13%
tests/test_logFormatter.py 48 33 2 0 0 31%
tests/test_logging.py 195 177 2 36 0 8%
tests/test_matplotlibFormatter.py 39 20 2 6 0 47%
tests/test_normalFormExpression.py 60 40 9 20 0 25%
tests/test_obscore.py 309 250 3 124 0 17%
tests/test_packages.py 21 10 2 0 0 52%
tests/test_parquet.py 1039 850 2 244 0 23%
tests/test_postgresql.py 116 66 2 50 0 40%
tests/test_progress.py 146 109 2 34 0 22%
tests/test_quantum.py 76 64 2 2 0 15%
tests/test_quantumBackedButler.py 237 211 2 116 0 7%
tests/test_query_relations.py 50 37 3 10 0 25%
tests/test_remote_butler.py 17 6 2 4 0 62%
tests/test_server.py 86 59 2 10 0 34%
tests/test_simpleButler.py 255 221 2 62 0 11%
tests/test_sqlite.py 145 86 2 30 0 39%
tests/test_storageClass.py 227 198 2 26 0 12%
tests/test_templates.py 178 157 2 34 0 10%
tests/test_testRepo.py 116 88 2 24 0 23%
tests/test_time_utils.py 75 62 2 12 0 15%
tests/test_timespan.py 145 125 2 68 0 9%
tests/test_utils.py 138 107 2 28 0 19%
tests/test_versioning.py 108 72 2 42 0 31%
Total 34407 24516 827 14467 81 27%

No items found using the specified filter.