• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wmixvideo / nfe / #7349

22 Oct 2025 11:43AM UTC coverage: 52.501% (-0.1%) from 52.604%
#7349

push

web-flow
Merge 8b9b0eba1 into c46310eaa

6 of 6 new or added lines in 2 files covered. (100.0%)

95 existing lines in 8 files now uncovered.

14674 of 27950 relevant lines covered (52.5%)

0.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.21
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/NFIndicadorPresencaComprador.java
1
package com.fincatto.documentofiscal.nfe400.classes.nota;
2

3
public enum NFIndicadorPresencaComprador {
1✔
4

5
    NAO_APLICA("0", "N\u00e3o se aplica"),
1✔
6
    OPERACAO_PRESENCIAL("1", "Opera\u00e7\u00e3o presencial"),
1✔
7
    OPERACAO_NAO_PRESENCIAL_INTERNET("2", "Opera\u00e7\u00e3o n\u00e3o presencial - Internet"),
1✔
8
    OPERACAO_NAO_PRESENCIAL_TELEATENDIMENTO("3", "Opera\u00e7\u00e3o n\u00e3o presencial - Teleatendimento"),
1✔
9
    NFCE_EM_OPERACAO_COM_ENTREGA_DOMICILIO("4", "NFC-e em opera\u00e7\u00e3o com entrega a domic\u00edlio"),
1✔
10
    OPERACAO_PRESENCIAL_FORA_ESTABELECIMENTO("5", "Opera\u00e7\u00e3o presencial, fora do estabelecimento"),
1✔
11
    OPERACAO_NAO_PRESENCIAL_OUTROS("9", "Opera\u00e7\u00e3o n\u00e3o presencial - Outros");
1✔
12

13
    private final String codigo;
14
    private final String descricao;
15

16
    NFIndicadorPresencaComprador(final String codigo, final String descricao) {
1✔
17
        this.codigo = codigo;
1✔
18
        this.descricao = descricao;
1✔
19
    }
1✔
20

21
    public String getCodigo() {
22
        return this.codigo;
1✔
23
    }
24

25
    public String getDescricao() {
UNCOV
26
        return this.descricao;
×
27
    }
28

29
    public static NFIndicadorPresencaComprador valueOfCodigo(final String codigo) {
30
        for (final NFIndicadorPresencaComprador indicador : NFIndicadorPresencaComprador.values()) {
1✔
31
            if (indicador.getCodigo().equals(codigo)) {
1✔
32
                return indicador;
1✔
33
            }
34
        }
35
        return null;
×
36
    }
37

38
    @Override
39
    public String toString() {
40
        return this.codigo + " - " + this.descricao;
×
41
    }
42
    
43
    
44
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc