Coverage report: 22%

coverage.py v7.2.3, created at 2023-04-19 03:42 -0700

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 10 0 0 0 0 100%
python/lsst/daf/butler/_butler.py 685 597 2 422 0 8%
python/lsst/daf/butler/_butlerConfig.py 41 28 0 16 0 23%
python/lsst/daf/butler/_butlerRepoIndex.py 47 26 0 6 0 40%
python/lsst/daf/butler/_deferredDatasetHandle.py 30 12 3 10 0 50%
python/lsst/daf/butler/_limited_butler.py 49 14 4 6 0 64%
python/lsst/daf/butler/_quantum_backed.py 183 118 3 68 0 26%
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 286 94 0 54 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 46 9 3 8 0 80%
python/lsst/daf/butler/core/composites.py 54 35 6 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 180 108 3 60 0 31%
python/lsst/daf/butler/core/datasets/type.py 225 161 3 98 0 20%
python/lsst/daf/butler/core/datastore.py 219 99 29 48 0 46%
python/lsst/daf/butler/core/datastoreCacheManager.py 396 276 11 128 0 23%
python/lsst/daf/butler/core/datastoreRecordData.py 73 43 2 48 1 27%
python/lsst/daf/butler/core/ddl.py 232 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 76 51 0 30 0 24%
python/lsst/daf/butler/core/dimensions/_coordinate.py 343 216 10 138 0 26%
python/lsst/daf/butler/core/dimensions/_dataCoordinateIterable.py 204 118 4 74 0 31%
python/lsst/daf/butler/core/dimensions/_database.py 137 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 57 27 2 4 0 49%
python/lsst/daf/butler/core/dimensions/_graph.py 165 96 5 52 0 33%
python/lsst/daf/butler/core/dimensions/_packer.py 59 28 5 8 0 46%
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 90 48 2 16 0 40%
python/lsst/daf/butler/core/dimensions/_universe.py 154 87 4 44 0 35%
python/lsst/daf/butler/core/dimensions/construction.py 51 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 26 8 0 6 0 62%
python/lsst/daf/butler/core/fileDescriptor.py 27 18 3 10 0 24%
python/lsst/daf/butler/core/fileTemplates.py 249 203 3 124 0 12%
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 82 54 0 28 0 25%
python/lsst/daf/butler/core/logging.py 216 124 0 58 0 34%
python/lsst/daf/butler/core/mappingFactory.py 59 42 0 16 0 23%
python/lsst/daf/butler/core/named.py 192 88 12 34 0 47%
python/lsst/daf/butler/core/progress.py 80 48 1 36 0 28%
python/lsst/daf/butler/core/quantum.py 212 161 0 106 0 16%
python/lsst/daf/butler/core/repoRelocation.py 21 12 0 6 0 33%
python/lsst/daf/butler/core/storageClass.py 363 188 0 178 14 43%
python/lsst/daf/butler/core/storageClassDelegate.py 117 90 3 56 0 17%
python/lsst/daf/butler/core/storedFileInfo.py 72 30 6 12 0 52%
python/lsst/daf/butler/core/time_utils.py 74 40 0 16 0 38%
python/lsst/daf/butler/core/timespan.py 313 181 19 114 0 31%
python/lsst/daf/butler/core/utils.py 34 18 2 12 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 34 20 1 14 0 29%
python/lsst/daf/butler/delegates/dataframe.py 47 31 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 415 339 4 190 0 13%
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 503 411 3 232 0 13%
python/lsst/daf/butler/registry/__init__.py 10 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 55 35 0 30 0 26%
python/lsst/daf/butler/registry/_config.py 32 14 3 4 0 50%
python/lsst/daf/butler/registry/_dbAuth.py 82 66 0 52 0 12%
python/lsst/daf/butler/registry/_defaults.py 45 26 2 18 0 33%
python/lsst/daf/butler/registry/_exceptions.py 21 0 0 0 0 100%
python/lsst/daf/butler/registry/_registry.py 144 24 43 10 0 78%
python/lsst/daf/butler/registry/attributes.py 52 31 0 14 0 32%
python/lsst/daf/butler/registry/bridge/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/registry/bridge/ephemeral.py 41 25 3 26 0 24%
python/lsst/daf/butler/registry/bridge/monolithic.py 98 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 197 132 0 74 0 24%
python/lsst/daf/butler/registry/databases/sqlite.py 144 109 3 66 0 17%
python/lsst/daf/butler/registry/interfaces/__init__.py 9 0 0 0 0 100%
python/lsst/daf/butler/registry/interfaces/_attributes.py 22 1 8 0 0 95%
python/lsst/daf/butler/registry/interfaces/_bridge.py 66 15 15 2 0 78%
python/lsst/daf/butler/registry/interfaces/_collections.py 116 39 21 18 0 57%
python/lsst/daf/butler/registry/interfaces/_database.py 405 315 8 226 0 14%
python/lsst/daf/butler/registry/interfaces/_datasets.py 97 23 26 14 0 67%
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 34 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 120 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 67 43 2 18 0 28%
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 99 75 3 52 0 16%
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 252 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 491 442 3 288 0 6%
python/lsst/daf/butler/registry/tests/_registry.py 1434 1350 4 531 0 4%
python/lsst/daf/butler/registry/versions.py 90 62 2 36 0 22%
python/lsst/daf/butler/registry/wildcards.py 207 150 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 54 39 2 12 0 23%
python/lsst/daf/butler/script/queryCollections.py 68 59 0 40 0 8%
python/lsst/daf/butler/script/queryDataIds.py 52 39 2 28 0 16%
python/lsst/daf/butler/script/queryDatasetTypes.py 15 9 0 6 0 29%
python/lsst/daf/butler/script/queryDatasets.py 71 47 4 32 0 25%
python/lsst/daf/butler/script/queryDimensionRecords.py 26 20 0 16 0 14%
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 14 7 2 0 0 50%
python/lsst/daf/butler/script/transferDatasets.py 17 10 0 2 0 37%
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 63 36 4 18 0 33%
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 145 120 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 84 56 2 14 0 29%
python/lsst/daf/butler/transfers/__init__.py 3 0 0 0 0 100%
python/lsst/daf/butler/transfers/_context.py 110 93 2 74 0 9%
python/lsst/daf/butler/transfers/_interfaces.py 26 0 8 0 0 100%
python/lsst/daf/butler/transfers/_yaml.py 185 150 2 120 0 11%
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 1096 926 2 298 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 98 69 2 4 0 28%
tests/test_cliCmdQueryDataIds.py 62 44 2 4 0 27%
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 60 39 2 12 0 29%
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 293 265 2 44 0 8%
tests/test_datastore.py 1071 912 3 328 0 12%
tests/test_dbAuth.py 134 121 2 48 0 7%
tests/test_ddl.py 31 21 2 2 0 30%
tests/test_dimensions.py 417 362 2 196 0 9%
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 120 104 2 32 0 11%
tests/test_location.py 77 65 2 12 0 13%
tests/test_logFormatter.py 47 32 2 0 0 32%
tests/test_logging.py 194 176 2 36 0 8%
tests/test_matplotlibFormatter.py 41 22 2 10 0 41%
tests/test_normalFormExpression.py 61 40 9 20 0 26%
tests/test_obscore.py 308 250 12 112 0 15%
tests/test_packages.py 21 10 2 0 0 52%
tests/test_parquet.py 914 755 2 140 0 17%
tests/test_postgresql.py 112 64 2 38 0 35%
tests/test_progress.py 95 64 2 14 0 28%
tests/test_quantum.py 76 64 2 2 0 15%
tests/test_quantumBackedButler.py 214 192 2 106 0 7%
tests/test_query_relations.py 50 37 3 8 0 22%
tests/test_server.py 79 58 2 6 0 27%
tests/test_simpleButler.py 269 230 2 76 0 11%
tests/test_sqlite.py 145 86 2 20 0 36%
tests/test_storageClass.py 214 187 2 26 0 11%
tests/test_templates.py 171 153 2 32 0 9%
tests/test_testRepo.py 115 87 2 22 0 20%
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 31246 22455 706 10403 71 22%

No items found using the specified filter.