Coverage report: 23%

Files Functions Classes

coverage.py v7.13.5, created at 2026-05-05 22:20 +0000

    Statements   Branches   Total
File   coverage statements missing excluded   coverage branches partial   coverage
python / lsst / __init__.py   100% 2 0 0   100% 0 0   100%
python / lsst / daf / __init__.py   100% 2 0 0   100% 0 0   100%
python / lsst / daf / butler / __init__.py   100% 9 0 0   100% 0 0   100%
python / lsst / daf / butler / _butler.py   13% 665 576 0   0% 358 0   9%
python / lsst / daf / butler / _butlerConfig.py   31% 39 27 0   0% 16 0   22%
python / lsst / daf / butler / _butlerRepoIndex.py   45% 47 26 0   0% 6 0   40%
python / lsst / daf / butler / _deferredDatasetHandle.py   60% 25 10 3   0% 6 0   48%
python / lsst / daf / butler / _limited_butler.py   74% 38 10 0   0% 2 0   70%
python / lsst / daf / butler / _quantum_backed.py   34% 162 107 2   0% 46 0   26%
python / lsst / daf / butler / cli / __init__.py   100% 0 0 0   100% 0 0   100%
python / lsst / daf / butler / cli / butler.py   45% 122 67 0   0% 28 0   37%
python / lsst / daf / butler / cli / cliLog.py   33% 156 105 0   2% 60 1   24%
python / lsst / daf / butler / cli / cmd / __init__.py   100% 4 0 0   100% 0 0   100%
python / lsst / daf / butler / cli / cmd / _remove_collections.py   37% 43 27 0   0% 16 0   27%
python / lsst / daf / butler / cli / cmd / _remove_runs.py   48% 58 30 0   0% 16 0   38%
python / lsst / daf / butler / cli / cmd / commands.py   67% 300 100 0   0% 54 0   56%
python / lsst / daf / butler / cli / opt / __init__.py   100% 3 0 0   100% 0 0   100%
python / lsst / daf / butler / cli / opt / arguments.py   100% 11 0 0   100% 0 0   100%
python / lsst / daf / butler / cli / opt / optionGroups.py   94% 18 1 0   88% 8 1   92%
python / lsst / daf / butler / cli / opt / options.py   92% 38 3 0   0% 2 0   88%
python / lsst / daf / butler / cli / progress.py   74% 19 5 0   0% 2 0   67%
python / lsst / daf / butler / cli / utils.py   43% 317 181 0   13% 102 5   36%
python / lsst / daf / butler / core / __init__.py   100% 29 0 0   100% 0 0   100%
python / lsst / daf / butler / core / _butlerUri.py   38% 26 16 0   0% 10 0   28%
python / lsst / daf / butler / core / _topology.py   67% 133 44 0   0% 14 0   61%
python / lsst / daf / butler / core / composites.py   35% 54 35 6   0% 22 0   25%
python / lsst / daf / butler / core / config.py   50% 482 243 0   33% 220 32   44%
python / lsst / daf / butler / core / configSupport.py   29% 121 86 3   8% 64 5   22%
python / lsst / daf / butler / core / constraints.py   38% 52 32 4   0% 18 0   29%
python / lsst / daf / butler / core / datasets / __init__.py   100% 3 0 0   100% 0 0   100%
python / lsst / daf / butler / core / datasets / association.py   83% 18 3 0   0% 2 0   75%
python / lsst / daf / butler / core / datasets / ref.py   40% 178 107 3   0% 56 0   30%
python / lsst / daf / butler / core / datasets / type.py   29% 217 154 3   0% 92 0   20%
python / lsst / daf / butler / core / datastore.py   50% 236 119 7   0% 34 0   43%
python / lsst / daf / butler / core / datastoreCacheManager.py   31% 369 254 5   0% 110 0   24%
python / lsst / daf / butler / core / datastoreRecordData.py   40% 72 43 2   0% 32 0   28%
python / lsst / daf / butler / core / ddl.py   60% 213 86 2   4% 52 0   49%
python / lsst / daf / butler / core / dimensions / __init__.py   100% 13 0 0   100% 0 0   100%
python / lsst / daf / butler / core / dimensions / _config.py   32% 75 51 0   0% 26 0   24%
python / lsst / daf / butler / core / dimensions / _coordinate.py   36% 326 208 3   0% 100 0   28%
python / lsst / daf / butler / core / dimensions / _dataCoordinateIterable.py   41% 215 126 0   0% 64 0   32%
python / lsst / daf / butler / core / dimensions / _database.py   41% 137 81 3   0% 24 0   35%
python / lsst / daf / butler / core / dimensions / _elements.py   55% 121 55 6   0% 10 0   50%
python / lsst / daf / butler / core / dimensions / _governor.py   53% 57 27 2   0% 4 0   49%
python / lsst / daf / butler / core / dimensions / _graph.py   42% 165 96 5   0% 34 0   35%
python / lsst / daf / butler / core / dimensions / _packer.py   50% 62 31 2   0% 8 0   44%
python / lsst / daf / butler / core / dimensions / _records.py   31% 148 102 5   0% 52 0   23%
python / lsst / daf / butler / core / dimensions / _schema.py   29% 96 68 2   0% 30 0   22%
python / lsst / daf / butler / core / dimensions / _skypix.py   47% 90 48 2   0% 16 0   40%
python / lsst / daf / butler / core / dimensions / _universe.py   44% 154 87 4   0% 30 0   36%
python / lsst / daf / butler / core / dimensions / construction.py   58% 53 22 4   0% 6 0   53%
python / lsst / daf / butler / core / exceptions.py   100% 5 0 0   100% 0 0   100%
python / lsst / daf / butler / core / fileDataset.py   69% 26 8 0   0% 4 0   60%
python / lsst / daf / butler / core / fileDescriptor.py   33% 27 18 3   0% 8 0   26%
python / lsst / daf / butler / core / fileTemplates.py   18% 249 203 3   0% 118 0   13%
python / lsst / daf / butler / core / formatter.py   35% 202 131 3   0% 58 0   27%
python / lsst / daf / butler / core / json.py   45% 22 12 14   100% 0 0   45%
python / lsst / daf / butler / core / location.py   34% 82 54 0   0% 28 0   25%
python / lsst / daf / butler / core / logging.py   42% 210 122 0   0% 46 0   34%
python / lsst / daf / butler / core / mappingFactory.py   29% 59 42 0   0% 14 0   23%
python / lsst / daf / butler / core / named.py   52% 199 95 0   0% 22 0   47%
python / lsst / daf / butler / core / progress.py   40% 81 49 0   0% 26 0   30%
python / lsst / daf / butler / core / quantum.py   24% 212 161 0   0% 86 0   17%
python / lsst / daf / butler / core / repoRelocation.py   47% 17 9 0   0% 6 0   35%
python / lsst / daf / butler / core / simpleQuery.py   41% 59 35 0   0% 20 0   30%
python / lsst / daf / butler / core / storageClass.py   51% 327 160 0   35% 150 14   46%
python / lsst / daf / butler / core / storageClassDelegate.py   22% 117 91 2   0% 54 0   15%
python / lsst / daf / butler / core / storedFileInfo.py   55% 76 34 2   0% 10 0   49%
python / lsst / daf / butler / core / time_utils.py   46% 74 40 0   0% 12 0   40%
python / lsst / daf / butler / core / timespan.py   38% 293 183 3   0% 100 0   28%
python / lsst / daf / butler / core / utils.py   47% 34 18 2   0% 10 0   36%
python / lsst / daf / butler / formatters / __init__.py   100% 0 0 0   100% 0 0   100%
python / lsst / daf / butler / formatters / file.py   35% 55 36 2   0% 14 0   28%
python / lsst / daf / butler / formatters / yaml.py   35% 51 33 2   0% 16 0   27%
python / lsst / daf / butler / registries / __init__.py   100% 0 0 0   100% 0 0   100%
python / lsst / daf / butler / registries / sql.py   18% 482 393 3   0% 196 0   13%
python / lsst / daf / butler / registry / __init__.py   100% 9 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / _collectionType.py   71% 28 8 0   0% 2 0   67%
python / lsst / daf / butler / registry / _config.py   56% 32 14 3   0% 4 0   50%
python / lsst / daf / butler / registry / _dbAuth.py   20% 82 66 0   0% 50 0   12%
python / lsst / daf / butler / registry / _defaults.py   41% 44 26 2   0% 16 0   30%
python / lsst / daf / butler / registry / _exceptions.py   100% 19 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / _registry.py   65% 180 63 3   0% 10 0   62%
python / lsst / daf / butler / registry / bridge / __init__.py   100% 0 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / bridge / ephemeral.py   44% 34 19 2   0% 6 0   38%
python / lsst / daf / butler / registry / bridge / monolithic.py   33% 100 67 3   0% 18 0   28%
python / lsst / daf / butler / registry / connectionString.py   39% 33 20 2   0% 10 0   30%
python / lsst / daf / butler / registry / databases / __init__.py   100% 0 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / databases / postgresql.py   35% 205 134 0   0% 54 0   27%
python / lsst / daf / butler / registry / databases / sqlite.py   23% 143 110 0   0% 54 0   17%
python / lsst / daf / butler / registry / interfaces / __init__.py   100% 8 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / interfaces / _attributes.py   77% 26 6 2   100% 0 0   77%
python / lsst / daf / butler / registry / interfaces / _bridge.py   69% 74 23 5   100% 0 0   69%
python / lsst / daf / butler / registry / interfaces / _collections.py   60% 116 46 3   0% 16 0   53%
python / lsst / daf / butler / registry / interfaces / _database.py   22% 407 319 0   0% 146 0   16%
python / lsst / daf / butler / registry / interfaces / _datasets.py   72% 90 25 5   0% 2 0   71%
python / lsst / daf / butler / registry / interfaces / _dimensions.py   72% 114 32 4   0% 2 0   71%
python / lsst / daf / butler / registry / interfaces / _opaque.py   71% 38 11 0   0% 2 0   68%
python / lsst / daf / butler / registry / interfaces / _versioning.py   39% 56 34 0   0% 12 0   32%
python / lsst / daf / butler / registry / managers.py   50% 88 44 0   0% 6 0   47%
python / lsst / daf / butler / registry / nameShrinker.py   38% 21 13 0   0% 2 0   35%
python / lsst / daf / butler / registry / opaque.py   37% 68 43 0   0% 14 0   30%
python / lsst / daf / butler / registry / queries / __init__.py   100% 4 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / queries / _builder.py   16% 187 158 0   0% 88 0   11%
python / lsst / daf / butler / registry / queries / _query.py   30% 363 253 2   0% 122 0   23%
python / lsst / daf / butler / registry / queries / _results.py   38% 282 174 2   0% 52 0   32%
python / lsst / daf / butler / registry / queries / _structs.py   48% 233 120 0   0% 68 0   38%
python / lsst / daf / butler / registry / queries / expressions / __init__.py   100% 4 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / queries / expressions / categorize.py   14% 88 76 0   0% 52 0   9%
python / lsst / daf / butler / registry / queries / expressions / check.py   39% 147 89 2   0% 44 0   30%
python / lsst / daf / butler / registry / queries / expressions / convert.py   33% 321 215 2   0% 64 0   28%
python / lsst / daf / butler / registry / queries / expressions / normalForm.py   48% 260 134 0   0% 42 0   42%
python / lsst / daf / butler / registry / queries / expressions / parser / __init__.py   100% 4 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / queries / expressions / parser / exprTree.py   42% 136 79 3   0% 6 0   40%
python / lsst / daf / butler / registry / queries / expressions / parser / parserLex.py   53% 68 32 0   0% 4 0   50%
python / lsst / daf / butler / registry / queries / expressions / parser / parserYacc.py   28% 160 115 0   0% 58 0   21%
python / lsst / daf / butler / registry / queries / expressions / parser / ply / __init__.py   100% 2 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / queries / expressions / parser / ply / lex.py   10% 692 622 0   1% 302 1   7%
python / lsst / daf / butler / registry / queries / expressions / parser / ply / yacc.py   8% 1928 1775 1   1% 870 1   6%
python / lsst / daf / butler / registry / queries / expressions / parser / treeVisitor.py   97% 30 1 3   100% 0 0   97%
python / lsst / daf / butler / registry / summaries.py   41% 102 60 0   0% 34 0   31%
python / lsst / daf / butler / registry / tests / __init__.py   100% 2 0 0   100% 0 0   100%
python / lsst / daf / butler / registry / tests / _database.py   10% 481 433 0   0% 44 0   9%
python / lsst / daf / butler / registry / tests / _registry.py   6% 1296 1220 2   0% 134 0   5%
python / lsst / daf / butler / registry / versions.py   31% 118 81 2   0% 50 0   22%
python / lsst / daf / butler / registry / wildcards.py   23% 206 159 6   0% 104 0   15%
python / lsst / daf / butler / script / __init__.py   100% 22 0 0   100% 0 0   100%
python / lsst / daf / butler / script / _associate.py   50% 8 4 0   100% 0 0   50%
python / lsst / daf / butler / script / _pruneDatasets.py   39% 77 47 0   0% 20 0   31%
python / lsst / daf / butler / script / butlerImport.py   33% 6 4 0   0% 2 0   25%
python / lsst / daf / butler / script / certifyCalibrations.py   31% 16 11 0   0% 6 0   23%
python / lsst / daf / butler / script / collectionChain.py   9% 43 39 0   0% 24 0   6%
python / lsst / daf / butler / script / configDump.py   18% 11 9 0   0% 4 0   13%
python / lsst / daf / butler / script / configValidate.py   25% 12 9 0   100% 0 0   25%
python / lsst / daf / butler / script / createRepo.py   60% 5 2 0   100% 0 0   60%
python / lsst / daf / butler / script / exportCalibs.py   15% 55 47 0   0% 20 0   11%
python / lsst / daf / butler / script / ingest_files.py   29% 52 37 2   0% 8 0   25%
python / lsst / daf / butler / script / pruneCollection.py   18% 50 41 0   0% 12 0   15%
python / lsst / daf / butler / script / queryCollections.py   13% 68 59 0   0% 36 0   9%
python / lsst / daf / butler / script / queryDataIds.py   24% 33 25 0   0% 12 0   18%
python / lsst / daf / butler / script / queryDatasetTypes.py   38% 16 10 0   0% 4 0   30%
python / lsst / daf / butler / script / queryDatasets.py   26% 68 50 0   0% 28 0   19%
python / lsst / daf / butler / script / queryDimensionRecords.py   16% 25 21 0   0% 14 0   10%
python / lsst / daf / butler / script / register_dataset_type.py   46% 13 7 0   0% 2 0   40%
python / lsst / daf / butler / script / removeCollections.py   46% 37 20 0   0% 6 0   40%
python / lsst / daf / butler / script / removeDatasetType.py   60% 5 2 0   100% 0 0   60%
python / lsst / daf / butler / script / removeRuns.py   38% 47 29 0   0% 10 0   32%
python / lsst / daf / butler / script / retrieveArtifacts.py   36% 14 9 0   0% 4 0   28%
python / lsst / daf / butler / script / transferDatasets.py   41% 17 10 0   0% 2 0   37%
python / lsst / daf / butler / tests / __init__.py   100% 6 0 0   100% 0 0   100%
python / lsst / daf / butler / tests / _datasetsHelper.py   32% 56 38 0   0% 16 0   25%
python / lsst / daf / butler / tests / _dummyRegistry.py   38% 88 55 0   0% 32 0   28%
python / lsst / daf / butler / tests / _examplePythonTypes.py   33% 90 60 0   0% 16 0   28%
python / lsst / daf / butler / tests / _testRepo.py   17% 141 117 0   0% 64 0   12%
python / lsst / daf / butler / tests / cliCmdTestBase.py   48% 56 29 0   0% 6 0   44%
python / lsst / daf / butler / tests / cliLogTestBase.py   33% 135 90 0   4% 28 1   28%
python / lsst / daf / butler / tests / testFormatters.py   39% 94 57 2   0% 28 0   30%
python / lsst / daf / butler / tests / utils.py   33% 84 56 0   0% 16 0   28%
python / lsst / daf / butler / transfers / __init__.py   100% 3 0 0   100% 0 0   100%
python / lsst / daf / butler / transfers / _context.py   15% 110 93 0   0% 66 0   10%
python / lsst / daf / butler / transfers / _interfaces.py   81% 32 6 0   100% 0 0   81%
python / lsst / daf / butler / transfers / _yaml.py   19% 185 150 0   0% 98 0   12%
python / lsst / daf / butler / version.py   100% 6 0 0   100% 0 0   100%
tests / test_astropyTableFormatter.py   41% 29 17 0   50% 2 1   42%
tests / test_butler.py   17% 1210 1002 0   1% 138 1   16%
tests / test_cliCmdAssociate.py   58% 19 8 0   50% 2 1   57%
tests / test_cliCmdConfigDump.py   23% 114 88 0   50% 2 1   23%
tests / test_cliCmdConfigValidate.py   50% 32 16 0   50% 2 1   50%
tests / test_cliCmdCreate.py   68% 19 6 0   50% 2 1   67%
tests / test_cliCmdImport.py   63% 43 16 0   50% 2 1   62%
tests / test_cliCmdIngestFiles.py   32% 57 39 0   17% 6 1   30%
tests / test_cliCmdPruneCollection.py   21% 91 72 0   50% 2 1   22%
tests / test_cliCmdPruneDatasets.py   44% 107 60 0   6% 16 1   39%
tests / test_cliCmdQueryCollections.py   29% 99 70 0   50% 2 1   30%
tests / test_cliCmdQueryDataIds.py   45% 40 22 0   50% 2 1   45%
tests / test_cliCmdQueryDatasetTypes.py   32% 62 42 0   50% 2 1   33%
tests / test_cliCmdQueryDatasets.py   40% 60 36 0   50% 2 1   40%
tests / test_cliCmdQueryDimensionRecords.py   39% 62 38 0   50% 2 1   39%
tests / test_cliCmdRemoveCollections.py   26% 82 61 0   10% 10 1   24%
tests / test_cliCmdRemoveRuns.py   15% 80 68 0   50% 2 1   16%
tests / test_cliCmdRetrieveArtifacts.py   34% 61 40 0   17% 6 1   33%
tests / test_cliLog.py   58% 19 8 0   50% 2 1   57%
tests / test_cliPluginLoader.py   34% 76 50 0   50% 2 1   35%
tests / test_cliUtilSplitCommas.py   44% 39 22 0   50% 2 1   44%
tests / test_cliUtilSplitKv.py   23% 141 109 0   25% 4 1   23%
tests / test_cliUtilToUpper.py   46% 28 15 0   50% 2 1   47%
tests / test_cliUtils.py   26% 198 146 0   10% 10 1   25%
tests / test_composites.py   23% 48 37 0   25% 4 1   23%
tests / test_config.py   16% 417 351 0   2% 40 1   15%
tests / test_connectionString.py   46% 39 21 0   25% 4 1   44%
tests / test_constraints.py   13% 94 82 0   50% 2 1   14%
tests / test_datasets.py   10% 265 239 0   6% 16 1   10%
tests / test_datastore.py   15% 975 827 0   1% 150 1   13%
tests / test_dbAuth.py   10% 136 122 0   10% 10 1   10%
tests / test_ddl.py   31% 32 22 0   25% 4 1   31%
tests / test_dimensions.py   14% 382 329 0   1% 120 1   11%
tests / test_exprParserLex.py   10% 181 163 0   8% 12 1   10%
tests / test_exprParserYacc.py   10% 381 344 0   7% 14 1   10%
tests / test_expressions.py   25% 68 51 0   50% 2 1   26%
tests / test_formatter.py   13% 121 105 0   10% 10 1   13%
tests / test_location.py   16% 79 66 0   25% 4 1   17%
tests / test_logFormatter.py   31% 48 33 0   50% 2 1   32%
tests / test_logging.py   10% 196 177 0   4% 24 1   9%
tests / test_matplotlibFormatter.py   45% 42 23 0   50% 2 1   45%
tests / test_normalFormExpression.py   31% 70 48 0   5% 20 1   26%
tests / test_packages.py   50% 22 11 0   50% 2 1   50%
tests / test_parquet.py   30% 54 38 0   50% 2 1   30%
tests / test_postgresql.py   43% 122 69 0   10% 10 1   41%
tests / test_progress.py   33% 97 65 0   10% 10 1   31%
tests / test_quantum.py   17% 78 65 0   25% 4 1   17%
tests / test_quantumBackedButler.py   10% 207 187 0   2% 58 1   8%
tests / test_simpleButler.py   16% 289 244 0   3% 30 1   14%
tests / test_sqlite.py   40% 152 91 0   10% 10 1   38%
tests / test_storageClass.py   12% 184 162 0   17% 6 1   12%
tests / test_templates.py   10% 172 154 0   17% 6 1   11%
tests / test_testRepo.py   23% 106 82 0   50% 2 1   23%
tests / test_time_utils.py   17% 76 63 0   10% 10 1   16%
tests / test_timespan.py   14% 147 126 0   3% 38 1   12%
tests / test_uri.py   31% 16 11 0   25% 4 1   30%
tests / test_utils.py   25% 122 92 0   8% 12 1   23%
Total   28% 28053 20139 180   3% 6866 118   23%

No items found using the specified filter.