Branch code coverage not working properly
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- java, typescript
Direzione di ricerca
Nel report non sono indicati alcun file sorgente, test o punto di ingresso. Inizia riproducendo la visualizzazione della branch coverage descritta negli screenshot e traccia il modo in cui i branch coperti e non coperti vengono assegnati alle istruzioni. Il lavoro è completato quando i numeri dei branch e lo stato della coverage visualizzati identificano il branch effettivamente non coperto sia nei casi multilinea sia in quelli su una sola riga.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I recently discovered the branch code coverage and I think it would be a very useful tool, however at the moment is buggy:
In the case above it tells me the branch 6 has no coverage, which is the case when the first three statements are false.
Here it tells me branch 2 is not covered, which is when the statement is false.
First of all maybe the fact that the statements are divided by lines shouldn't truncate the number of branches... If I put all statements in one line it would tell me that branch 8 is not covered (when all statements are false)
But most importantly as you can see branch 8 would be the one actually covered because the 'else' statement is all green. I could give you other examples where this is evident. Essentially what I am trying to say that if one of the branches is not covered at the moment the extension just says the last branch is not covered, when in fact in the case I gave you earlier I am pretty sure branch 7 (when now.equals(orarioFineEsec) equals true) is not covered, but I wouldn't know on the info that is given here.
- Lingua principale
- TypeScript
- Stelle
- 340
- Fork
- 173
- Merge medio
- 1g 2h
- PR unite (30g)
- 17
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/vscode-java-test
-
ai-triaged bug investigating junit test-discovery test-execution
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
microsoft/vscode-java-test#1897 · 1 commento ·
-
ai-triaged bug gradle high-priority test-execution
microsoft/vscode-java-test#1880 · 2 commenti · 1 assegnatario ·
-
ai-triaged gradle junit test-execution ux
microsoft/vscode-java-test#1878 · 3 commenti · 1 assegnatario ·
-
ai-triaged enhancement junit low-priority test-execution ui
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/vscode-java-test#1836 · 4 commenti ·
-
ai-triaged enhancement gradle investigating junit low-priority test-reporting
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/vscode-java-test#1824 · 1 commento ·
Tutte le issue di microsoft/vscode-java-test
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
copse-dev/agent-pane#2953 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Apertabug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
calcite-components needs triage refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Esri/calcite-design-system#15203 ·