Page MenuHomeSoftware Heritage

at least 80% SLOC coverage in all components
Open, NormalPublic

Description

Here is the current state per repository (sorted per line coverage asc):

|----------------------+----------+------------|
| repository           | line (%) | branch (%) |
|----------------------+----------+------------|
| swh-loader-debian    |       27 |          5 |
| swh-journal          |       53 |         50 |
| swh-vault            |       56 |         32 |
| swh-lister           |       61 |         46 |
| swh-core             |       68 |         58 |
| swh-loader-git       |       69 |         55 |
| swh-scheduler        |       74 |         58 |
| swh-archiver         |       78 |         54 |
|----------------------+----------+------------|
| swh-loader-core      |       83 |         52 |
| swh-loader-pypi      |       83 |         56 |
| swh-loader-mercurial |       84 |         64 |
| swh-loader-svn       |       84 |         61 |
| swh-deposit          |       84 |         67 |
| swh-loader-dir       |       86 |         75 |
| swh-storage          |       88 |         81 |
| swh-web              |       89 |         74 |
| swh-indexer          |       90 |         76 |
| swh-objstorage       |       91 |         76 |
| swh-model            |       93 |         85 |
| swh-loader-tar       |       97 |         80 |
|----------------------+----------+------------|
| total                |     76.9 |      60.25 |
|----------------------+----------+------------|
#+TBLFM: @22$3=vmean(@2$3..@21$3)::@22$2=vmean(@2$2..@21$2)

Source: https://jenkins.softwareheritage.org/view/swh%20master/

Event Timeline

douardda created this task.Tue, Dec 4, 10:27 AM
ardumont updated the task description. (Show Details)Tue, Dec 4, 11:54 AM

Tip: after running Tox in a repo, run coverage report -m to show which lines are not covered.

vlorentz triaged this task as Normal priority.Wed, Dec 5, 3:27 PM

For the loader mercurial, there is a module swh.loader.mercurial.loader_verifier which is not production code.
It's there to test the loader manually, so that could either be probably moved to the tests and transformed into it or removed altogether.

ardumont updated the task description. (Show Details)Fri, Dec 7, 6:35 PM
ardumont updated the task description. (Show Details)
ardumont updated the task description. (Show Details)Mon, Dec 10, 2:01 PM
ardumont updated the task description. (Show Details)Wed, Dec 12, 2:58 PM
zack renamed this task from 80% SLOC coverage to at least 80% SLOC coverage in all components.Wed, Dec 12, 3:37 PM