Coverage report: 21%

coverage.py v7.2.7, created at 2023-06-23 09:30 +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 11 0 0 0 0 100%
python/lsst/daf/butler/_butler.py 718 626 3 442 0 8%
python/lsst/daf/butler/_butlerConfig.py 65 51 0 28 0 15%
python/lsst/daf/butler/_butlerRepoIndex.py 73 48 0 12 0 29%
python/lsst/daf/butler/_dataset_existence.py 20 1 0 0 0 95%
python/lsst/daf/butler/_deferredDatasetHandle.py 30 12 3 10 0 50%
python/lsst/daf/butler/_limited_butler.py 49 10 4 0 0 80%
python/lsst/daf/butler/_quantum_backed.py 193 125 3 74 0 25%
python/lsst/daf/butler/cli/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/cli/butler.py 131 73 1 40 0 34%
python/lsst/daf/butler/cli/cliLog.py 159 107 0 64 1 24%
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 16 0 31%
python/lsst/daf/butler/cli/cmd/_remove_runs.py 61 30 0 21 0 38%
python/lsst/daf/butler/cli/cmd/commands.py 290 97 0 56 0 56%
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 45 6 0 6 0 80%
python/lsst/daf/butler/cli/progress.py 20 5 0 2 0 68%
python/lsst/daf/butler/cli/utils.py 353 211 3 135 5 32%
python/lsst/daf/butler/core/__init__.py 30 0 0 0 0 100%
python/lsst/daf/butler/core/_column_categorization.py 35 15 0 24 2 41%
python/lsst/daf/butler/core/_column_tags.py 70 19 2 18 0 65%
python/lsst/daf/butler/core/_column_type_info.py 61 31 0 28 0 36%
python/lsst/daf/butler/core/_topology.py 47 9 3 8 0 80%
python/lsst/daf/butler/core/composites.py 54 35 7 22 0 25%
python/lsst/daf/butler/core/config.py 490 245 2 242 36 44%
python/lsst/daf/butler/core/configSupport.py 121 86 3 72 5 21%
python/lsst/daf/butler/core/constraints.py 52 32 4 26 0 26%
python/lsst/daf/butler/core/datasets/__init__.py 4 0 0 0 0 100%
python/lsst/daf/butler/core/datasets/association.py 18 3 0 4 0 77%
python/lsst/daf/butler/core/datasets/ref.py 198 115 3 68 0 32%
python/lsst/daf/butler/core/datasets/type.py 226 161 3 98 0 20%
python/lsst/daf/butler/core/datastore.py 210 89 29 36 0 51%
python/lsst/daf/butler/core/datastoreCacheManager.py 395 274 11 126 0 23%
python/lsst/daf/butler/core/datastoreRecordData.py 75 45 2 40 0 28%
python/lsst/daf/butler/core/ddl.py 233 94 2 66 0 50%
python/lsst/daf/butler/core/dimensions/__init__.py 14 0 0 0 0 100%
python/lsst/daf/butler/core/dimensions/_config.py 79 53 0 32 0 23%
python/lsst/daf/butler/core/dimensions/_coordinate.py 346 216 10 138 0 27%
python/lsst/daf/butler/core/dimensions/_dataCoordinateIterable.py 205 118 4 74 0 31%
python/lsst/daf/butler/core/dimensions/_database.py 138 81 3 28 0 34%
python/lsst/daf/butler/core/dimensions/_elements.py 117 51 10 10 0 52%
python/lsst/daf/butler/core/dimensions/_governor.py 58 27 2 4 0 50%
python/lsst/daf/butler/core/dimensions/_graph.py 166 96 5 52 0 33%
python/lsst/daf/butler/core/dimensions/_packer.py 68 32 5 16 0 48%
python/lsst/daf/butler/core/dimensions/_records.py 147 102 5 68 0 22%
python/lsst/daf/butler/core/dimensions/_schema.py 111 78 3 40 0 22%
python/lsst/daf/butler/core/dimensions/_skypix.py 91 48 2 16 0 40%
python/lsst/daf/butler/core/dimensions/_universe.py 157 87 4 44 0 36%
python/lsst/daf/butler/core/dimensions/construction.py 52 20 6 14 0 48%
python/lsst/daf/butler/core/exceptions.py 6 0 0 0 0 100%
python/lsst/daf/butler/core/fileDataset.py 29 11 0 10 0 51%
python/lsst/daf/butler/core/fileDescriptor.py 28 18 3 10 0 26%
python/lsst/daf/butler/core/fileTemplates.py 250 203 3 124 0 13%
python/lsst/daf/butler/core/formatter.py 196 125 8 62 0 28%
python/lsst/daf/butler/core/json.py 27 14 3 0 0 48%
python/lsst/daf/butler/core/location.py 81 54 0 28 0 25%
python/lsst/daf/butler/core/logging.py 217 124 0 58 0 34%
python/lsst/daf/butler/core/mappingFactory.py 60 42 0 16 0 24%
python/lsst/daf/butler/core/named.py 193 88 12 34 0 47%
python/lsst/daf/butler/core/progress.py 81 48 1 36 0 28%
python/lsst/daf/butler/core/quantum.py 213 161 0 106 0 16%
python/lsst/daf/butler/core/repoRelocation.py 20 12 0 6 0 31%
python/lsst/daf/butler/core/storageClass.py 361 186 0 178 14 43%
python/lsst/daf/butler/core/storageClassDelegate.py 110 81 4 48 0 20%
python/lsst/daf/butler/core/storedFileInfo.py 85 39 7 18 0 47%
python/lsst/daf/butler/core/time_utils.py 74 40 0 16 0 38%
python/lsst/daf/butler/core/timespan.py 314 181 19 114 0 31%
python/lsst/daf/butler/core/utils.py 37 18 0 12 0 39%
python/lsst/daf/butler/datastores/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/datastores/fileDatastore.py 974 850 5 519 0 8%
python/lsst/daf/butler/datastores/genericDatastore.py 55 30 6 16 0 35%
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/formatters/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/formatters/file.py 67 46 4 16 0 25%
python/lsst/daf/butler/formatters/parquet.py 444 365 4 208 0 12%
python/lsst/daf/butler/formatters/yaml.py 43 27 0 10 0 30%
python/lsst/daf/butler/registries/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/registries/sql.py 516 422 4 242 0 12%
python/lsst/daf/butler/registry/__init__.py 9 0 0 0 0 100%
python/lsst/daf/butler/registry/_collectionType.py 28 8 0 4 0 62%
python/lsst/daf/butler/registry/_collection_summary.py 56 35 0 30 0 27%
python/lsst/daf/butler/registry/_config.py 32 14 3 4 0 50%
python/lsst/daf/butler/registry/_dbAuth.py 81 66 0 52 0 11%
python/lsst/daf/butler/registry/_defaults.py 53 33 2 24 0 29%
python/lsst/daf/butler/registry/_exceptions.py 22 0 0 0 0 100%
python/lsst/daf/butler/registry/_registry.py 148 24 43 10 0 78%
python/lsst/daf/butler/registry/attributes.py 53 31 0 14 0 33%
python/lsst/daf/butler/registry/bridge/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/registry/bridge/ephemeral.py 42 25 3 26 0 25%
python/lsst/daf/butler/registry/bridge/monolithic.py 99 66 4 42 0 23%
python/lsst/daf/butler/registry/connectionString.py 30 17 2 8 0 34%
python/lsst/daf/butler/registry/databases/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/registry/databases/postgresql.py 198 132 0 74 0 24%
python/lsst/daf/butler/registry/databases/sqlite.py 147 111 3 68 0 17%
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 0 0 96%
python/lsst/daf/butler/registry/interfaces/_bridge.py 65 14 15 2 0 79%
python/lsst/daf/butler/registry/interfaces/_collections.py 116 39 21 18 0 57%
python/lsst/daf/butler/registry/interfaces/_database.py 406 315 8 226 0 14%
python/lsst/daf/butler/registry/interfaces/_datasets.py 66 6 26 2 0 88%
python/lsst/daf/butler/registry/interfaces/_dimensions.py 111 16 33 6 0 81%
python/lsst/daf/butler/registry/interfaces/_obscore.py 28 1 15 0 0 96%
python/lsst/daf/butler/registry/interfaces/_opaque.py 35 6 8 2 0 78%
python/lsst/daf/butler/registry/interfaces/_versioning.py 65 35 2 26 0 33%
python/lsst/daf/butler/registry/managers.py 148 91 0 58 0 31%
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 80 5 0 4 0 89%
python/lsst/daf/butler/registry/obscore/_manager.py 173 134 3 72 0 16%
python/lsst/daf/butler/registry/obscore/_records.py 121 96 7 50 1 15%
python/lsst/daf/butler/registry/obscore/_schema.py 59 39 2 26 0 24%
python/lsst/daf/butler/registry/obscore/_spatial.py 35 15 8 8 0 47%
python/lsst/daf/butler/registry/opaque.py 68 43 2 18 0 29%
python/lsst/daf/butler/registry/queries/__init__.py 9 0 0 0 0 100%
python/lsst/daf/butler/registry/queries/_builder.py 66 50 0 30 0 17%
python/lsst/daf/butler/registry/queries/_query.py 204 163 0 106 0 14%
python/lsst/daf/butler/registry/queries/_query_backend.py 91 51 14 38 0 31%
python/lsst/daf/butler/registry/queries/_query_context.py 71 33 7 14 0 45%
python/lsst/daf/butler/registry/queries/_readers.py 105 57 4 34 0 35%
python/lsst/daf/butler/registry/queries/_results.py 169 71 13 24 0 51%
python/lsst/daf/butler/registry/queries/_sql_query_backend.py 103 79 3 54 0 15%
python/lsst/daf/butler/registry/queries/_sql_query_context.py 236 195 3 124 0 11%
python/lsst/daf/butler/registry/queries/_structs.py 166 94 0 64 0 36%
python/lsst/daf/butler/registry/queries/butler_sql_engine.py 76 50 0 28 0 27%
python/lsst/daf/butler/registry/queries/expressions/__init__.py 1 0 0 0 0 100%
python/lsst/daf/butler/registry/queries/expressions/_predicate.py 207 170 2 104 0 12%
python/lsst/daf/butler/registry/queries/expressions/categorize.py 95 83 0 68 0 7%
python/lsst/daf/butler/registry/queries/expressions/check.py 169 110 3 74 0 28%
python/lsst/daf/butler/registry/queries/expressions/normalForm.py 253 126 8 46 0 42%
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 18 0 37%
python/lsst/daf/butler/registry/queries/expressions/parser/parserLex.py 69 32 0 4 0 51%
python/lsst/daf/butler/registry/queries/expressions/parser/parserYacc.py 161 115 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 0 0 97%
python/lsst/daf/butler/registry/queries/find_first_dataset.py 31 7 0 2 0 79%
python/lsst/daf/butler/registry/tests/__init__.py 2 0 0 0 0 100%
python/lsst/daf/butler/registry/tests/_database.py 492 442 3 288 0 6%
python/lsst/daf/butler/registry/tests/_registry.py 1466 1380 4 547 0 4%
python/lsst/daf/butler/registry/versions.py 90 62 2 36 0 22%
python/lsst/daf/butler/registry/wildcards.py 209 151 0 100 0 21%
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 22 0 33%
python/lsst/daf/butler/script/butlerImport.py 9 4 0 2 0 45%
python/lsst/daf/butler/script/certifyCalibrations.py 17 11 0 6 0 26%
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 53 39 2 12 0 22%
python/lsst/daf/butler/script/queryCollections.py 68 59 0 40 0 8%
python/lsst/daf/butler/script/queryDataIds.py 60 46 2 34 0 15%
python/lsst/daf/butler/script/queryDatasetTypes.py 15 9 0 6 0 29%
python/lsst/daf/butler/script/queryDatasets.py 66 42 4 30 0 27%
python/lsst/daf/butler/script/queryDimensionRecords.py 31 23 0 18 0 16%
python/lsst/daf/butler/script/register_dataset_type.py 12 7 0 2 0 36%
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/server.py 141 134 0 32 0 4%
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 90 56 0 40 0 26%
python/lsst/daf/butler/tests/_examplePythonTypes.py 105 65 2 16 0 35%
python/lsst/daf/butler/tests/_testRepo.py 144 119 2 72 0 12%
python/lsst/daf/butler/tests/cliCmdTestBase.py 57 27 8 10 0 45%
python/lsst/daf/butler/tests/cliLogTestBase.py 136 90 10 44 0 26%
python/lsst/daf/butler/tests/dict_convertible_model.py 14 2 0 0 0 86%
python/lsst/daf/butler/tests/testFormatters.py 89 51 6 36 0 30%
python/lsst/daf/butler/tests/utils.py 86 56 6 14 0 30%
python/lsst/daf/butler/transfers/__init__.py 3 0 0 0 0 100%
python/lsst/daf/butler/transfers/_context.py 111 93 2 74 0 10%
python/lsst/daf/butler/transfers/_interfaces.py 27 0 8 0 0 100%
python/lsst/daf/butler/transfers/_yaml.py 185 149 2 120 0 12%
python/lsst/daf/butler/version.py 6 0 0 0 0 100%
tests/test_astropyTableFormatter.py 28 16 2 0 0 43%
tests/test_butler.py 1262 1070 6 356 0 12%
tests/test_cliCmdAssociate.py 18 7 2 0 0 61%
tests/test_cliCmdConfigDump.py 113 87 2 20 0 20%
tests/test_cliCmdConfigValidate.py 31 15 2 4 0 46%
tests/test_cliCmdCreate.py 17 5 2 0 0 71%
tests/test_cliCmdImport.py 19 5 2 0 0 74%
tests/test_cliCmdIngestFiles.py 56 38 2 10 0 27%
tests/test_cliCmdPruneDatasets.py 106 59 2 22 3 39%
tests/test_cliCmdQueryCollections.py 97 69 2 4 0 28%
tests/test_cliCmdQueryDataIds.py 76 54 2 8 0 26%
tests/test_cliCmdQueryDatasetTypes.py 90 68 2 6 0 23%
tests/test_cliCmdQueryDatasets.py 58 34 2 0 0 41%
tests/test_cliCmdQueryDimensionRecords.py 61 37 2 0 0 39%
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 12 0 28%
tests/test_cliLog.py 18 7 2 0 0 61%
tests/test_cliPluginLoader.py 75 49 2 20 0 27%
tests/test_cliUtilSplitCommas.py 46 28 2 6 0 35%
tests/test_cliUtilSplitKv.py 140 108 2 10 0 21%
tests/test_cliUtilToUpper.py 27 14 2 0 0 48%
tests/test_cliUtils.py 199 147 2 12 0 25%
tests/test_composites.py 46 36 2 8 0 19%
tests/test_config.py 415 350 2 76 0 13%
tests/test_connectionString.py 38 20 2 8 0 39%
tests/test_constraints.py 93 81 2 2 0 13%
tests/test_datasets.py 298 270 2 50 0 8%
tests/test_datastore.py 1009 860 2 300 0 11%
tests/test_dbAuth.py 134 121 2 48 0 7%
tests/test_ddl.py 31 21 2 2 0 30%
tests/test_dimensions.py 441 378 2 196 0 10%
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 194 176 2 36 0 8%
tests/test_matplotlibFormatter.py 40 21 2 8 0 44%
tests/test_normalFormExpression.py 60 40 9 20 0 25%
tests/test_obscore.py 308 250 3 112 0 15%
tests/test_packages.py 21 10 2 0 0 52%
tests/test_parquet.py 957 789 2 148 0 17%
tests/test_postgresql.py 111 64 2 38 0 34%
tests/test_progress.py 95 64 2 14 0 28%
tests/test_quantum.py 76 64 2 2 0 15%
tests/test_quantumBackedButler.py 232 208 2 114 0 7%
tests/test_query_relations.py 50 37 3 8 0 22%
tests/test_server.py 78 58 2 6 0 26%
tests/test_simpleButler.py 256 222 2 62 0 11%
tests/test_sqlite.py 144 86 2 20 0 35%
tests/test_storageClass.py 224 195 2 28 0 12%
tests/test_templates.py 175 157 2 34 0 9%
tests/test_testRepo.py 116 88 2 20 0 21%
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 34 0 25%
Total 32734 23663 718 11066 70 21%

No items found using the specified filter.