Create README file

Signed-off-by: 's avatarHenrique Varella Ehrenfried <hve13@inf.ufpr.br>
parent 0eab4fad
Este trabalho está organizado da seguinte maneira
TRABALHO
-ALL_RESULTS
-BISECT_RESULTS
-RANDOM_MUTANTS_10
-mrs_10_[0-9].csv ->Matrizes aleatórias
-op_mrs_10_[0-9].txt ->Operadores selecionados
-RANDOM_MUTANTS_20
-mrs_20_[0-9].csv ->Matrizes aleatórias
-op_mrs_20_[0-9].txt ->Operadores selecionados
-RANDOM_MUTANTS_50
-mrs_50_[0-9].csv ->Matrizes aleatórias
-op_mrs_50_[0-9].txt ->Operadores selecionados
-STRATEGY_DIFFERENT-OPERATORS
-op_mrs_100_0.txt ->Operadores selecionados
-result_op_st_different-operators.csv.txt ->RESULTADO DO PROGRAMA DE MINIMIZAÇÃO DOS CT
-st_different-operators.csv ->Matrizes aleatórias
-STRATEGY_EACH-CHOICE
-op_mrs_100_0.txt ->Operadores selecionados
-result_op_st_each-choice.csv.txt ->RESULTADO DO PROGRAMA DE MINIMIZAÇÃO DOS CT
-st_each-choice.csv ->Matrizes aleatórias
-STRATEGY_FIRSTTOLAST
-op_mrs_100_0.txt ->Operadores selecionados
-result_op_st_firsttolast.csv.txt ->RESULTADO DO PROGRAMA DE MINIMIZAÇÃO DOS CT
-st_firsttolast.csv ->Matrizes aleatórias
-STRATEGY_RANDOMMIX
-op_mrs_100_0.txt
-result_op_st_randommix.csv.txt
-st_randommix.csv
-random_op_mrs_[0-9]*_[0-9]*.csv
-all_appended.txt -> Todos os resultados extraidos e resumidos estão neste arquivo
-todos.txt -> Todos os resultados completos do result_op_mrs[0-9]*_[0-9*].csv.txt
-BUB_RESULTS
-(MESMO DE BISECT)
-FIND_RESULTS
-(MESMO DE BISECT)
-FOUR_BALLS_RESULTS
-(MESMO DE BISECT)
-MID_RESULTS
-(MESMO DE BISECT)
-TRIANGULO_RESULTS
-(MESMO DE BISECT)
-append_all.sh -> Arquivo utilizado para criar os arquivos all_appended.txt
-get_metrics.rb -> Programa que le o arquivo all_appended.txt e compara com outra matriz
-MATRIZES -> Matrizes geradas pelo Jackson
-BISECT
-(ESTRATÉGIAS)
-result_list.csv
-BUB
-(ESTRATÉGIAS)
-result_list.csv
-FIND
-(ESTRATÉGIAS)
-result_list.csv
-FOURBALLS
-(ESTRATÉGIAS)
-result_list.csv
-MID
-(ESTRATÉGIAS)
-result_list.csv
-TRIANGULO
-(ESTRATÉGIAS)
-result_list.csv
-RANDOM_MUTANTS_100 ->Dados matriz completa
-mrs_100_0.csv
-op_MRS_100_0.txt
-TESTCASESETSELECTION -> Programa do Giovani para minimizar casos de uso
-(Árvore do projeto)
-Artigo
-Artigo Testes.docx -> Fonte do artigo
-Artigo Testes.pdf -> Artigo final ("Compilado")
-Resultados obtidos testes.xlsx -> Arquivo para geração dos gráficos
-link_pdf.txt -> versão online do artigo (PODE ESTAR DESATUALIZADO, NÃO RECOMENDO OLHAR)
-implementacao.rb -> Arquivo para selecionar aleatóriamente operadores das matrizes
-run_java.rb -> Arquivo para ajustar e rodar o programa de testcaseselection
-script.sh -> Scrtipt para rodar tudo em Linux
-script.bat -> Script para rodar tudo em Windows
-readme.txt -> Este arquivo
-get_metrics.sh -> Script que utiliza o programa get_metrics.rb com a matriz de comparação sendo a matriz de FOMS
-get_metrics_no_alive.sh -> Script que utiliza o programa get_metrics.rb com a matriz de comparação sendo a matriz de FOMS sem os mutantes vivos
-metrics.txt -> Resultado do get_metrics.sh
-metric_nos_alive.txt -> Resultado do get_metrics_no_alive.sh
-how_to.txt -> Como executar os testes
Notas:
Os arquivos .rb tem s]ao rodados com: ruby nome_do_program.rb [matriz_de_entrada.csv] [porcentagem de mutantes esperado]
Linux:
1) Rodar o arquivo
$ bash script.sh
2) Rodar o programa para concatenar os resultados
$ bash ALL_RESULTS/append_all.sh
3) Rodar o gerador de métricas
$ bash get_metrics_no_alive.sh
$ bash get_metrics.sh
Individualmente, cada programa Ruby pode ser executado assim:
-implementação.rb
ruby implementacao.rb [Arquivo_para_selecionar_linhas_aleatorias].csv [Porcentagem]
-run_java.rb
ruby run_java.rb [Arquivo_para_selecionar_linhas_aleatorias].csv [Porcentagem]
-get_metrics.rb:
ruby [Arquivo_com_todos_os_resultados].txt [Arquivo_para_comparar].csv >> [Arquivo_de_saida].[formato]
\ No newline at end of file
mkdir BISECT_RESULTS
ruby ./implementacao.rb ./Matrizes/bisect/Foms/result_list.csv 10
ruby ./implementacao.rb ./Matrizes/bisect/Foms/result_list.csv 20
ruby ./implementacao.rb ./Matrizes/bisect/Foms/result_list.csv 50
ruby ./implementacao.rb ./Matrizes/bisect/Foms/result_list.csv 100
mv RANDOM_MUTANTS_10 BISECT_RESULTS
mv RANDOM_MUTANTS_20 BISECT_RESULTS
mv RANDOM_MUTANTS_50 BISECT_RESULTS
mv RANDOM_MUTANTS_100 BISECT_RESULTS
ruby ./run_java.rb ./Matrizes/bisect/Different-Operators/result_list.csv 100
ruby ./run_java.rb ./Matrizes/bisect/Each-Choice/result_list.csv 100
ruby ./run_java.rb ./Matrizes/bisect/FirstToLast/result_list.csv 100
ruby ./run_java.rb ./Matrizes/bisect/RandomMix/result_list.csv 100
mv RESULT_OP_ST_D* STRATEGY_DIFFERENT-OPERATORS
mv RESULT_OP_ST_E* STRATEGY_EACH-CHOICE
mv RESULT_OP_ST_F* STRATEGY_FIRSTTOLAST
mv RESULT_OP_ST_R* STRATEGY_RANDOMMIX
mv STRATEGY_DIFFERENT-OPERATORS BISECT_RESULTS
mv STRATEGY_EACH-CHOICE BISECT_RESULTS
mv STRATEGY_FIRSTTOLAST BISECT_RESULTS
mv STRATEGY_RANDOMMIX BISECT_RESULTS
mv *.txt BISECT_RESULTS
mkdir BUB_RESULTS
ruby ./implementacao.rb ./Matrizes/bub/Foms/result_list.csv 10
ruby ./implementacao.rb ./Matrizes/bub/Foms/result_list.csv 20
ruby ./implementacao.rb ./Matrizes/bub/Foms/result_list.csv 50
ruby ./implementacao.rb ./Matrizes/bub/Foms/result_list.csv 100
mv RANDOM_MUTANTS_10 BUB_RESULTS
mv RANDOM_MUTANTS_20 BUB_RESULTS
mv RANDOM_MUTANTS_50 BUB_RESULTS
mv RANDOM_MUTANTS_100 BUB_RESULTS
ruby ./run_java.rb ./Matrizes/bub/Different-Operators/result_list.csv 100
ruby ./run_java.rb ./Matrizes/bub/Each-Choice/result_list.csv 100
ruby ./run_java.rb ./Matrizes/bub/FirstToLast/result_list.csv 100
ruby ./run_java.rb ./Matrizes/bub/RandomMix/result_list.csv 100
mv RESULT_OP_ST_D* STRATEGY_DIFFERENT-OPERATORS
mv RESULT_OP_ST_E* STRATEGY_EACH-CHOICE
mv RESULT_OP_ST_F* STRATEGY_FIRSTTOLAST
mv RESULT_OP_ST_R* STRATEGY_RANDOMMIX
mv STRATEGY_DIFFERENT-OPERATORS BUB_RESULTS
mv STRATEGY_EACH-CHOICE BUB_RESULTS
mv STRATEGY_FIRSTTOLAST BUB_RESULTS
mv STRATEGY_RANDOMMIX BUB_RESULTS
mv *.txt BUB_RESULTS
mkdir FIND_RESULTS
ruby ./implementacao.rb ./Matrizes/find/Foms/result_list.csv 10
ruby ./implementacao.rb ./Matrizes/find/Foms/result_list.csv 20
ruby ./implementacao.rb ./Matrizes/find/Foms/result_list.csv 50
ruby ./implementacao.rb ./Matrizes/find/Foms/result_list.csv 100
mv RANDOM_MUTANTS_10 FIND_RESULTS
mv RANDOM_MUTANTS_20 FIND_RESULTS
mv RANDOM_MUTANTS_50 FIND_RESULTS
mv RANDOM_MUTANTS_100 FIND_RESULTS
ruby ./run_java.rb ./Matrizes/find/Different-Operators/result_list.csv 100
ruby ./run_java.rb ./Matrizes/find/Each-Choice/result_list.csv 100
ruby ./run_java.rb ./Matrizes/find/FirstToLast/result_list.csv 100
ruby ./run_java.rb ./Matrizes/find/RandomMix/result_list.csv 100
mv RESULT_OP_ST_D* STRATEGY_DIFFERENT-OPERATORS
mv RESULT_OP_ST_E* STRATEGY_EACH-CHOICE
mv RESULT_OP_ST_F* STRATEGY_FIRSTTOLAST
mv RESULT_OP_ST_R* STRATEGY_RANDOMMIX
mv STRATEGY_DIFFERENT-OPERATORS FIND_RESULTS
mv STRATEGY_EACH-CHOICE FIND_RESULTS
mv STRATEGY_FIRSTTOLAST FIND_RESULTS
mv STRATEGY_RANDOMMIX FIND_RESULTS
mv *.txt FIND_RESULTS
mkdir FOURBALLS_RESULTS
ruby ./implementacao.rb ./Matrizes/fourballs/Foms/result_list.csv 10
ruby ./implementacao.rb ./Matrizes/fourballs/Foms/result_list.csv 20
ruby ./implementacao.rb ./Matrizes/fourballs/Foms/result_list.csv 50
ruby ./implementacao.rb ./Matrizes/fourballs/Foms/result_list.csv 100
mv RANDOM_MUTANTS_10 FOURBALLS_RESULTS
mv RANDOM_MUTANTS_20 FOURBALLS_RESULTS
mv RANDOM_MUTANTS_50 FOURBALLS_RESULTS
mv RANDOM_MUTANTS_100 FOURBALLS_RESULTS
ruby ./run_java.rb ./Matrizes/fourballs/Different-Operators/result_list.csv 100
ruby ./run_java.rb ./Matrizes/fourballs/Each-Choice/result_list.csv 100
ruby ./run_java.rb ./Matrizes/fourballs/FirstToLast/result_list.csv 100
ruby ./run_java.rb ./Matrizes/fourballs/RandomMix/result_list.csv 100
mv RESULT_OP_ST_D* STRATEGY_DIFFERENT-OPERATORS
mv RESULT_OP_ST_E* STRATEGY_EACH-CHOICE
mv RESULT_OP_ST_F* STRATEGY_FIRSTTOLAST
mv RESULT_OP_ST_R* STRATEGY_RANDOMMIX
mv STRATEGY_DIFFERENT-OPERATORS FOURBALLS_RESULTS
mv STRATEGY_EACH-CHOICE FOURBALLS_RESULTS
mv STRATEGY_FIRSTTOLAST FOURBALLS_RESULTS
mv STRATEGY_RANDOMMIX FOURBALLS_RESULTS
mv *.txt FOURBALLS_RESULTS
mkdir MID_RESULTS
ruby ./implementacao.rb ./Matrizes/mid/Foms/result_list.csv 10
ruby ./implementacao.rb ./Matrizes/mid/Foms/result_list.csv 20
ruby ./implementacao.rb ./Matrizes/mid/Foms/result_list.csv 50
ruby ./implementacao.rb ./Matrizes/mid/Foms/result_list.csv 100
mv RANDOM_MUTANTS_10 MID_RESULTS
mv RANDOM_MUTANTS_20 MID_RESULTS
mv RANDOM_MUTANTS_50 MID_RESULTS
mv RANDOM_MUTANTS_100 MID_RESULTS
ruby ./run_java.rb ./Matrizes/mid/Different-Operators/result_list.csv 100
ruby ./run_java.rb ./Matrizes/mid/Each-Choice/result_list.csv 100
ruby ./run_java.rb ./Matrizes/mid/FirstToLast/result_list.csv 100
ruby ./run_java.rb ./Matrizes/mid/RandomMix/result_list.csv 100
mv RESULT_OP_ST_D* STRATEGY_DIFFERENT-OPERATORS
mv RESULT_OP_ST_E* STRATEGY_EACH-CHOICE
mv RESULT_OP_ST_F* STRATEGY_FIRSTTOLAST
mv RESULT_OP_ST_R* STRATEGY_RANDOMMIX
mv STRATEGY_DIFFERENT-OPERATORS MID_RESULTS
mv STRATEGY_EACH-CHOICE MID_RESULTS
mv STRATEGY_FIRSTTOLAST MID_RESULTS
mv STRATEGY_RANDOMMIX MID_RESULTS
mv *.txt MID_RESULTS
mkdir TRIANGULO_RESULTS
ruby ./implementacao.rb ./Matrizes/triangulo/Foms/result_list.csv 10
ruby ./implementacao.rb ./Matrizes/triangulo/Foms/result_list.csv 20
ruby ./implementacao.rb ./Matrizes/triangulo/Foms/result_list.csv 50
ruby ./implementacao.rb ./Matrizes/triangulo/Foms/result_list.csv 100
mv RANDOM_MUTANTS_10 TRIANGULO_RESULTS
mv RANDOM_MUTANTS_20 TRIANGULO_RESULTS
mv RANDOM_MUTANTS_50 TRIANGULO_RESULTS
mv RANDOM_MUTANTS_100 TRIANGULO_RESULTS
ruby ./run_java.rb ./Matrizes/triangulo/Different-Operators/result_list.csv 100
ruby ./run_java.rb ./Matrizes/triangulo/Each-Choice/result_list.csv 100
ruby ./run_java.rb ./Matrizes/triangulo/FirstToLast/result_list.csv 100
ruby ./run_java.rb ./Matrizes/triangulo/RandomMix/result_list.csv 100
mv RESULT_OP_ST_D* STRATEGY_DIFFERENT-OPERATORS
mv RESULT_OP_ST_E* STRATEGY_EACH-CHOICE
mv RESULT_OP_ST_F* STRATEGY_FIRSTTOLAST
mv RESULT_OP_ST_R* STRATEGY_RANDOMMIX
mv STRATEGY_DIFFERENT-OPERATORS TRIANGULO_RESULTS
mv STRATEGY_EACH-CHOICE TRIANGULO_RESULTS
mv STRATEGY_FIRSTTOLAST TRIANGULO_RESULTS
mv STRATEGY_RANDOMMIX TRIANGULO_RESULTS
mv *.txt TRIANGULO_RESULTS
mkdir ALL_RESULTS
mv BISECT_RESULTS ALL_RESULTS
mv BUB_RESULTS ALL_RESULTS
mv FIND_RESULTS ALL_RESULTS
mv FOURBALLS_RESULTS ALL_RESULTS
mv MID_RESULTS ALL_RESULTS
mv TRIANGULO_RESULTS ALL_RESULTS
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment