Coverage report: 26%

coverage.py v7.2.7, created at 2023-07-21 09:55 +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 723 628 3 478 0 11%
python/lsst/daf/butler/_butlerConfig.py 65 51 0 28 0 15%
python/lsst/daf/butler/_butlerRepoIndex.py 73 48 0 24 0 38%
python/lsst/daf/butler/_compat.py 56 32 0 32 2 43%
python/lsst/daf/butler/_dataset_existence.py 20 1 0 0 0 95%
python/lsst/daf/butler/_deferredDatasetHandle.py 30 12 3 12 0 52%
python/lsst/daf/butler/_limited_butler.py 67 19 4 28 0 78%
python/lsst/daf/butler/_quantum_backed.py 186 118 3 96 0 32%
python/lsst/daf/butler/_registry_shim.py 103 44 4 12 0 60%
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 82 1 29%
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 290 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 45 6 0 8 0 81%
python/lsst/daf/butler/cli/progress.py 20 5 0 6 0 73%
python/lsst/daf/butler/cli/utils.py 353 211 3 151 5 34%
python/lsst/daf/butler/core/__init__.py 31 0 0 0 0 100%
python/lsst/daf/butler/core/_column_categorization.py 35 15 0 26 2 43%
python/lsst/daf/butler/core/_column_tags.py 70 19 2 47 0 74%
python/lsst/daf/butler/core/_column_type_info.py 61 31 0 30 0 37%
python/lsst/daf/butler/core/_topology.py 47 9 3 26 0 85%
python/lsst/daf/butler/core/composites.py 54 35 7 22 0 25%
python/lsst/daf/butler/core/config.py 487 242 2 252 36 45%
python/lsst/daf/butler/core/configSupport.py 121 86 3 78 5 23%
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 214 125 3 98 0 36%
python/lsst/daf/butler/core/datasets/type.py 235 168 3 124 0 24%
python/lsst/daf/butler/core/datastore.py 213 90 29 86 0 59%
python/lsst/daf/butler/core/datastoreCacheManager.py 396 274 11 164 0 29%
python/lsst/daf/butler/core/datastoreRecordData.py 84 52 2 52 1 29%
python/lsst/daf/butler/core/ddl.py 233 94 2 92 0 54%
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 358 227 10 202 0 33%
python/lsst/daf/butler/core/dimensions/_dataCoordinateIterable.py 205 118 4 98 0 37%
python/lsst/daf/butler/core/dimensions/_database.py 138 81 3 56 0 44%
python/lsst/daf/butler/core/dimensions/_elements.py 117 51 10 78 0 69%
python/lsst/daf/butler/core/dimensions/_governor.py 58 27 2 16 0 58%
python/lsst/daf/butler/core/dimensions/_graph.py 163 93 5 68 0 38%
python/lsst/daf/butler/core/dimensions/_packer.py 68 32 5 28 0 54%
python/lsst/daf/butler/core/dimensions/_records.py 161 113 5 86 1 22%
python/lsst/daf/butler/core/dimensions/_schema.py 111 78 3 46 0 25%
python/lsst/daf/butler/core/dimensions/_skypix.py 91 48 2 28 0 46%
python/lsst/daf/butler/core/dimensions/_universe.py 157 87 4 62 0 41%
python/lsst/daf/butler/core/dimensions/construction.py 52 20 6 18 0 51%
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 12 0 30%
python/lsst/daf/butler/core/fileTemplates.py 250 203 3 126 0 13%
python/lsst/daf/butler/core/formatter.py 196 125 8 84 0 33%
python/lsst/daf/butler/core/json.py 27 14 3 2 0 52%
python/lsst/daf/butler/core/location.py 81 54 0 40 0 32%
python/lsst/daf/butler/core/logging.py 232 134 0 100 1 40%
python/lsst/daf/butler/core/mappingFactory.py 60 42 0 18 0 26%
python/lsst/daf/butler/core/named.py 193 88 12 74 0 55%
python/lsst/daf/butler/core/persistenceContext.py 54 22 6 10 0 53%
python/lsst/daf/butler/core/progress.py 123 90 1 74 0 22%
python/lsst/daf/butler/core/quantum.py 207 152 0 124 0 23%
python/lsst/daf/butler/core/repoRelocation.py 20 12 0 6 0 31%
python/lsst/daf/butler/core/storageClass.py 361 186 0 192 14 45%
python/lsst/daf/butler/core/storageClassDelegate.py 110 81 4 52 0 22%
python/lsst/daf/butler/core/storedFileInfo.py 85 39 7 24 0 50%
python/lsst/daf/butler/core/time_utils.py 74 40 0 20 0 40%
python/lsst/daf/butler/core/timespan.py 314 181 19 212 0 44%
python/lsst/daf/butler/core/utils.py 37 18 0 14 0 41%
python/lsst/daf/butler/datastores/__init__.py 0 0 0 0 0 100%
python/lsst/daf/butler/datastores/fileDatastore.py 977 851 5 541 0 10%
python/lsst/daf/butler/datastores/genericDatastore.py 55 30 6 28 0 45%
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 20 0 29%
python/lsst/daf/butler/formatters/parquet.py 444 365 4 220 0 14%
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 515 421 4 274 0 16%
python/lsst/daf/butler/registry/__init__.py 11 0 0 0 0 100%
python/lsst/daf/butler/registry/_butler_registry.py 31 5 8 24 0 84%
python/lsst/daf/butler/registry/_collectionType.py 28 8 0 10 0 68%
python/lsst/daf/butler/registry/_collection_summary.py 56 35 0 30 0 27%
python/lsst/daf/butler/registry/_config.py 32 14 3 6 0 53%
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 116 9 39 92 0 95%
python/lsst/daf/butler/registry/_registry_factory.py 25 12 2 6 0 42%
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 42 25 3 28 0 27%
python/lsst/daf/butler/registry/bridge/monolithic.py 99 66 4 48 0 27%
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 132 0 98 0 30%
python/lsst/daf/butler/registry/databases/sqlite.py 147 111 3 74 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 65 14 15 26 0 85%
python/lsst/daf/butler/registry/interfaces/_collections.py 116 39 21 84 0 72%
python/lsst/daf/butler/registry/interfaces/_database.py 406 315 8 280 0 21%
python/lsst/daf/butler/registry/interfaces/_datasets.py 66 6 26 58 0 94%
python/lsst/daf/butler/registry/interfaces/_dimensions.py 111 16 33 104 0 90%
python/lsst/daf/butler/registry/interfaces/_obscore.py 28 1 15 22 0 98%
python/lsst/daf/butler/registry/interfaces/_opaque.py 35 6 8 18 0 85%
python/lsst/daf/butler/registry/interfaces/_versioning.py 65 35 2 44 0 44%
python/lsst/daf/butler/registry/managers.py 148 91 0 62 0 32%
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 81 5 0 6 0 90%
python/lsst/daf/butler/registry/obscore/_manager.py 173 134 3 78 0 18%
python/lsst/daf/butler/registry/obscore/_records.py 121 96 7 52 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 68 43 2 22 0 32%
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 116 0 17%
python/lsst/daf/butler/registry/queries/_query_backend.py 91 51 14 60 0 41%
python/lsst/daf/butler/registry/queries/_query_context.py 71 33 7 32 0 54%
python/lsst/daf/butler/registry/queries/_readers.py 105 57 4 62 0 46%
python/lsst/daf/butler/registry/queries/_results.py 179 78 13 76 0 58%
python/lsst/daf/butler/registry/queries/_sql_query_backend.py 103 79 3 56 0 16%
python/lsst/daf/butler/registry/queries/_sql_query_context.py 236 195 3 130 0 13%
python/lsst/daf/butler/registry/queries/_structs.py 166 94 0 80 0 40%
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 102 90 0 76 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 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 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 22 0 98%
python/lsst/daf/butler/registry/queries/find_first_dataset.py 31 7 0 15 0 85%
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 296 0 7%
python/lsst/daf/butler/registry/tests/_registry.py 1479 1392 4 567 0 5%
python/lsst/daf/butler/registry/versions.py 90 62 2 46 0 28%
python/lsst/daf/butler/registry/wildcards.py 221 158 0 116 1 25%
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 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 68 0 3%
python/lsst/daf/butler/tests/__init__.py 6 0 0 0 0 100%
python/lsst/daf/butler/tests/_datasetsHelper.py 60 35 5 18 0 32%
python/lsst/daf/butler/tests/_dummyRegistry.py 90 56 0 48 0 30%
python/lsst/daf/butler/tests/_examplePythonTypes.py 105 65 2 22 0 38%
python/lsst/daf/butler/tests/_testRepo.py 144 119 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/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 14 0 100%
python/lsst/daf/butler/transfers/_yaml.py 192 152 2 126 0 13%
python/lsst/daf/butler/version.py 5 0 0 0 0 100%
tests/test_astropyTableFormatter.py 28 16 2 0 0 43%
tests/test_butler.py 1263 1071 6 370 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 76 54 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 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 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 46 36 2 10 0 21%
tests/test_config.py 415 350 2 78 0 14%
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 1015 865 2 308 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 441 378 2 200 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 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 307 249 3 122 0 17%
tests/test_packages.py 21 10 2 0 0 52%
tests/test_parquet.py 977 804 2 220 0 22%
tests/test_postgresql.py 115 66 2 50 0 39%
tests/test_progress.py 146 109 2 34 0 22%
tests/test_quantum.py 76 64 2 2 0 15%
tests/test_quantumBackedButler.py 233 208 2 114 0 7%
tests/test_query_relations.py 50 37 3 10 0 25%
tests/test_server.py 78 58 2 10 0 30%
tests/test_simpleButler.py 255 221 2 62 0 11%
tests/test_sqlite.py 144 86 2 30 0 39%
tests/test_storageClass.py 224 195 2 30 0 12%
tests/test_templates.py 177 157 2 34 0 9%
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 44 0 30%
Total 33241 23960 735 13978 76 26%

No items found using the specified filter.