Showing 508 of 513 total issues
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "240019", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "24001903000021995", objeto: "Contratação dos serviços de fornecimento de bilhetes aéreos nacionais e internacionais, para trechos Brasil-Brasil e Brasil-Exterior, e serviços afins.", numeroAditivos: 4, numeroProcessos: 1, CPFContratada: "01017250000105", dataAssinatura: "1995-10-26", fundamentoGeral: nil, dataInicioVigencia: "1995-10-26", dataTerminoVigencia: "1997-10-25", valorInicial: "600000.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "150007", modalidadeLicitacao: "2", codigoContrato: "50", licitacaoAssociada: "15000702000081994", objeto: "Aquisição de passagens aereas.", numeroAditivos: 0, numeroProcessos: 23000002693, CPFContratada: "00474577000135", dataAssinatura: "1995-04-09", fundamentoGeral: nil, dataInicioVigencia: "1995-04-10", dataTerminoVigencia: "1995-12-31", valorInicial: "1000.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "343006", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "34300603000011995", objeto: "Prestação de serviços de vigilância e segurança na 6ª SR/IPHAN e em suas unidades vinculadas", numeroAditivos: 10, numeroProcessos: 1500000032, CPFContratada: "31376361000160", dataAssinatura: "1995-06-30", fundamentoGeral: nil, dataInicioVigencia: "1995-07-01", dataTerminoVigencia: "1999-12-31", valorInicial: "3125115.24", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "170120", modalidadeLicitacao: "6", codigoContrato: "50", licitacaoAssociada: "17012006000011991", objeto: "Contrato nº 01/91 tem por objeto a locação do imóvel constituído de seis pavimentos, do 4º ao 9º pavimento,sito à Boulevard Francisco de Paula Carneiro nº 10, Campos/RJ, Edifício \"DIL\", no Estado do Rio de Janeiro.", numeroAditivos: 2, numeroProcessos: 10725001680, CPFContratada: "28935534000129", dataAssinatura: "1991-08-12", fundamentoGeral: nil, dataInicioVigencia: "1992-06-01", dataTerminoVigencia: "1994-05-30", valorInicial: "216000000.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "254420", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "25442003000011994", objeto: "Contrato de locação de máquinas copiadoras, compreendendo fornecim ento de materiais de consumo ( revelador , cilindro, toner e conjuntos de l impeza e aquecimento) , bem como assistencia técnica e manutenção, tendo se u valor pago em UNIDADE DE REAL ( URV )", numeroAditivos: 8, numeroProcessos: 253800063609319, CPFContratada: "52226073000523", dataAssinatura: "1994-05-23", fundamentoGeral: nil, dataInicioVigencia: "1994-05-23", dataTerminoVigencia: "1995-05-22", valorInicial: "80676.84", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "193002", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "19300203000011993", objeto: "Contratação dos serviços de Virgilangia Armada e ostensiva nos pré dios desta Administração Central e de Pentecoste-Ce.", numeroAditivos: 7, numeroProcessos: 369, CPFContratada: "07862634000100", dataAssinatura: "1994-03-02", fundamentoGeral: nil, dataInicioVigencia: "1994-03-04", dataTerminoVigencia: "1995-03-03", valorInicial: "183047040.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "364203", modalidadeLicitacao: "2", codigoContrato: "50", licitacaoAssociada: "36420302001291994", objeto: "Prestação de serviços de vigilância (armada), nas dependências___do Instituto de Matemática Pura e Aplicada.", numeroAditivos: 5, numeroProcessos: 129, CPFContratada: "72099062000103", dataAssinatura: "1995-03-01", fundamentoGeral: nil, dataInicioVigencia: "1995-03-01", dataTerminoVigencia: "1996-02-29", valorInicial: "90315.84", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "255000", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "25500003000031993", objeto: "Limpeza e conservação nas dependências do Bl. N SAS Almoxarifado SIA Museu A.W3 norte.", numeroAditivos: 5, numeroProcessos: 25100000058, CPFContratada: "00087163000153", dataAssinatura: "1995-12-22", fundamentoGeral: nil, dataInicioVigencia: "1995-12-22", dataTerminoVigencia: "1999-06-13", valorInicial: "419706.48", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "343023", modalidadeLicitacao: "3", codigoContrato: "54", licitacaoAssociada: "34302303000021995", objeto: "Permissao Onerosa de Uso de 01 espaco da Unidade destinado a explo-racao sw uma Cinemateca.", numeroAditivos: 0, numeroProcessos: 1460000098, CPFContratada: "31673098000171", dataAssinatura: "1996-03-04", fundamentoGeral: nil, dataInicioVigencia: "1996-03-27", dataTerminoVigencia: "1999-03-27", valorInicial: "40896.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "153028", modalidadeLicitacao: "7", codigoContrato: "50", licitacaoAssociada: "15302807000011995", objeto: "Prestação de serviços técnicos na automação de catalogação, através do uso do sistema CALCO.", numeroAditivos: 0, numeroProcessos: 23087, CPFContratada: "33641663000144", dataAssinatura: "1995-01-31", fundamentoGeral: nil, dataInicioVigencia: "1995-01-31", dataTerminoVigencia: "1996-01-30", valorInicial: "4000.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "273147", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "27314703000401995", objeto: "Execução dos serviços de manutenção, conservação e restauraçãl da Rodovia BR-153/TO, trecho: Divisa PA/TO Divisa TO/GO, subtrecho 2o. entroncamento TO-255 Divisa TO/GO, extensão 246,5 km", numeroAditivos: 8, numeroProcessos: 51220000003195, CPFContratada: "39785563000178", dataAssinatura: "1995-12-05", fundamentoGeral: nil, dataInicioVigencia: "1995-12-08", dataTerminoVigencia: "1996-12-07", valorInicial: "1431811.42", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "153032", modalidadeLicitacao: "3", codigoContrato: "54", licitacaoAssociada: "15303203000011978", objeto: "Concessão de prédio no Campus da UFLA", numeroAditivos: 3, numeroProcessos: 1, CPFContratada: "20372967000101", dataAssinatura: "1978-06-30", fundamentoGeral: nil, dataInicioVigencia: "1978-06-30", dataTerminoVigencia: "1979-12-31", valorInicial: "111132.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "150005", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "15000503000071993", objeto: "Serviços de Limpeza, Manutenção e Conservação dos Edifícios Sede e Anexos, Garagem, Cetremec, Sepespe e Conselho Nacional de Educação, em Brasília-DF.", numeroAditivos: 2, numeroProcessos: 23000007287, CPFContratada: "00061036000185", dataAssinatura: "1994-01-03", fundamentoGeral: nil, dataInicioVigencia: "1994-01-03", dataTerminoVigencia: "1994-12-31", valorInicial: "33250894.88", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "254423", modalidadeLicitacao: "2", codigoContrato: "50", licitacaoAssociada: "25442302000061994", objeto: "Prestacao de servico de vigilancia no Centro de Pesquisas Rene_ Ra chou/FIOCRUZ", numeroAditivos: 8, numeroProcessos: 25381001131, CPFContratada: "25703414000108", dataAssinatura: "1994-03-02", fundamentoGeral: nil, dataInicioVigencia: "1994-03-02", dataTerminoVigencia: "1995-03-01", valorInicial: "17314110.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "60001", modalidadeLicitacao: "7", codigoContrato: "50", licitacaoAssociada: "06000107002081995", objeto: "Prestação de serviço de manutenção preventiva,corretiva e assistência técnica de uma central privada de comutação telefônica (CPCT), com controle por programa de armazenamento (CPA).", numeroAditivos: 6, numeroProcessos: 208, CPFContratada: "37166592000126", dataAssinatura: "1995-08-16", fundamentoGeral: nil, dataInicioVigencia: "1995-08-16", dataTerminoVigencia: "1996-08-15", valorInicial: "8352.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "154040", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "15404003000011995", objeto: "Contratação de locação de máquinas copiadoras.", numeroAditivos: 11, numeroProcessos: 0, CPFContratada: "29213386000100", dataAssinatura: "1995-05-11", fundamentoGeral: nil, dataInicioVigencia: "1995-05-11", dataTerminoVigencia: "1996-05-11", valorInicial: "50520.0", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "380045", modalidadeLicitacao: "1", codigoContrato: "50", licitacaoAssociada: "38004501000141994", objeto: "Locação dos serviços de higiene e limpeza, para a sede(João Pessoa) Subdelegacia do Trabalho em Campina Grande e Agências de Atendimento de Patos e Cajazeiras.", numeroAditivos: 6, numeroProcessos: 46224, CPFContratada: "08545485000100", dataAssinatura: "1995-01-02", fundamentoGeral: nil, dataInicioVigencia: "1995-01-02", dataTerminoVigencia: "1996-01-01", valorInicial: "29409.84", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "200092", modalidadeLicitacao: "2", codigoContrato: "50", licitacaoAssociada: "20009202000041994", objeto: "Contratação de empresa especializada para prestação de serviço de limpeza e conservação do prédio sede da Superintendência Regional do Departamento de Polícia Federal em Pernambuco, compreendendo pátios, jardins, mobiliários em geral e o prédio da Polícia Federal no Porto do Recife e seu mobiliário.", numeroAditivos: 7, numeroProcessos: 8400006481, CPFContratada: "11436813000145", dataAssinatura: "1995-04-24", fundamentoGeral: nil, dataInicioVigencia: "1995-04-24", dataTerminoVigencia: "1996-05-23", valorInicial: "58066.08", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "250055", modalidadeLicitacao: "3", codigoContrato: "50", licitacaoAssociada: "25005503000021993", objeto: "Prestação de Serviço de Limpeza e Conservação do CPP II.", numeroAditivos: 1, numeroProcessos: 25403, CPFContratada: "29212545000143", dataAssinatura: "1994-01-01", fundamentoGeral: nil, dataInicioVigencia: "1994-01-01", dataTerminoVigencia: "1994-12-31", valorInicial: "193083.46", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 410 locations. Consider refactoring. Open
{identificadorContrato: nil, uasg: "255015", modalidadeLicitacao: "2", codigoContrato: "50", licitacaoAssociada: "25501502000091994", objeto: "Locação de treze maquinas copiadoras", numeroAditivos: 11, numeroProcessos: 25210001367, CPFContratada: "29213386004270", dataAssinatura: "1994-11-16", fundamentoGeral: nil, dataInicioVigencia: "1994-11-16", dataTerminoVigencia: "1994-12-31", valorInicial: "17729.42", aditivosContratos: nil, eventosContratos: nil},
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 33.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76