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

wmixvideo / nfe / #7632

23 Jul 2025 01:31AM UTC coverage: 51.794% (+24.8%) from 26.994%
#7632

push

web-flow
Merge e37a5245a into cb8c6ab74

122 of 122 new or added lines in 1 file covered. (100.0%)

2980 existing lines in 402 files now uncovered.

14360 of 27725 relevant lines covered (51.79%)

0.52 hits per line

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

93.75
/src/main/java/com/fincatto/documentofiscal/nfe400/classes/NFRegimeTributario.java
1
package com.fincatto.documentofiscal.nfe400.classes;
2

3
public enum NFRegimeTributario {
1✔
4

5
    SIMPLES_NACIONAL("1", "Simples nacional"),
1✔
6
    SIMPLES_NACIONAL_EXCESSO_RECEITA("2", "Simples nacional com excesso de sublimite da receita bruta"),
1✔
7
    NORMAL("3", "Regime normal"),
1✔
8
    MEI("4", "Simples Nacional - Microempreendedor Individual - MEI");
1✔
9

10
    private final String codigo;
11
    private final String descricao;
12

13
    NFRegimeTributario(final String codigo, final String descricao) {
1✔
14
        this.codigo = codigo;
1✔
15
        this.descricao = descricao;
1✔
16
    }
1✔
17

18
    public String getCodigo() {
19
        return this.codigo;
1✔
20
    }
21

22
    public String getDescricao() {
UNCOV
23
        return this.descricao;
×
24
    }
25

26
    public static NFRegimeTributario valueOfCodigo(final String codigo) {
27
        for (final NFRegimeTributario regimeTributario : NFRegimeTributario.values()) {
1✔
28
            if (regimeTributario.getCodigo().equals(codigo)) {
1✔
29
                return regimeTributario;
1✔
30
            }
31
        }
32
        return null;
1✔
33
    }
34

35
    @Override
36
    public String toString() {
37
        return codigo + " - " + descricao;
1✔
38
    }
39
}
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