\n");
+ bufferOut.write("
");
+
+ bufferOut.write("
\n");
+ bufferOut.write("
");
+ bufferOut.write(" Painel de Acessibilidade Digital do Governo ");
+ bufferOut.write("
\n");
+ bufferOut.write("\n");
+
+ bufferOut.write("
\n");
+
+ bufferOut.write("\n");
+ bufferOut.write("
\n");
+ bufferOut.write("\n");
+ bufferOut.write("
\n");
+
+ //bufferOut.write("
\n");
+
+ bufferOut.write("
");
+
+
+ //bufferOut.write("
");
+ //bufferOut.write("
");
+ //bufferOut.write(" ");
+ //bufferOut.write("
");
+
+
+ //bufferOut.write("
");
+ //bufferOut.write("
");
+
+ //início Gráfico
+ //bufferOut.write("
");
+
+
+ /*bufferOut
+ .write("
Gráfico com os 10 erros mais comuns.
");
+
+ bufferOut.write("
");
+
+ long total = 0;
+ double percentual = 0;
+ long totalDezErrosMaisComuns = 0;
+ double qntErro;
+
+ int i = 0;
+ for (ErrosMaisComuns errosMaisComuns : lsOutrosErrosMaisComuns) {
+ i++;
+ if(errosMaisComuns.getDsDescricao().equalsIgnoreCase("Total"))
+ {
+ total = errosMaisComuns.getQtdErros();
+ }
+ else if( i > 10)
+ {
+ qntErro = errosMaisComuns.getQtdErros() * 100.00;
+ percentual = qntErro/total;
+ totalDezErrosMaisComuns = totalDezErrosMaisComuns + errosMaisComuns.getQtdErros();
+
+ DecimalFormat df = new DecimalFormat("0.##");
+
+
+ bufferOut.write("- erro: " + "Erro: " + i + "" + errosMaisComuns.getDsDescricao() + " " + df.format(percentual) + "
");
+ }
+ }
+
+ qntErro = (total - totalDezErrosMaisComuns) * 100.00;
+ percentual = qntErro/total;
+
+ DecimalFormat df = new DecimalFormat("0.##");
+
+ i++;
+ bufferOut.write("- erro: " + "Erro: " + i + "Outros " + df.format(percentual) + "
");
+
+ bufferOut.write("
");
+ bufferOut.write("
");
+ bufferOut.write("
");
+ bufferOut.write(" ");
+ bufferOut.write("
");
+ bufferOut.write("
");*/
+ //bufferOut.write("
");
+ //bufferOut.write("
");
+
+ //inicio Avaliação
+
+ bufferOut
+ .write("
Voltar ao painel de acessibilidade\n");
+ bufferOut.write("
");
+
+ bufferOut.write("
Outros erros mais comuns
");
+ //inicio tabela
+ bufferOut.write("
");
+ bufferOut.write(" ");
+ bufferOut.write(" Testes Automáticos |
");
+ bufferOut.write(" ");
+ bufferOut.write(" Erro nº | ");
+ bufferOut.write(" Erro | ");
+ bufferOut.write(" Incidência | ");
+
+
+
+
+
+ long total = 0;
+ double percentual = 0;
+ long totalDezErrosMaisComuns = 0;
+ double qntErro = 0;
+ int i = 0;
+ int erro_numero = 0;
+
+ for (ErrosMaisComuns errosMaisComuns : lsOutrosErrosMaisComuns) {
+ i++;
+ if(errosMaisComuns.getDescricao().equalsIgnoreCase("Total"))
+ {
+ total = errosMaisComuns.getQtd_erros();
+ }
+ else if(i > 10)
+ {
+
+ qntErro = errosMaisComuns.getQtd_erros() * 100.00;
+ percentual = qntErro/total;
+ totalDezErrosMaisComuns = totalDezErrosMaisComuns + errosMaisComuns.getQtd_erros();
+
+ DecimalFormat df2 = new DecimalFormat("0.##");
+
+ erro_numero++;
+
+ bufferOut.write("
");
+ bufferOut.write(" " + erro_numero + " | ");
+ bufferOut.write(" " + errosMaisComuns.getDescricao() + " | ");
+ bufferOut.write(" " + df2.format(percentual) + "% | ");
+ bufferOut.write("
");
+ }
+ }
+
+
+
+ bufferOut.write(" ");
+ bufferOut.write("
");
+
+
+ //fim Avaliação
+ bufferOut.write("
");
+ //bufferOut.write("
");
+
+ bufferOut.write("
");
+
+ //fim contanner
+ bufferOut.write("