SlideShare a Scribd company logo
1 of 18
Magic Gen
        ( C Program Test )

     Kim Min-gi (mingi0915@naver.com)
     Kim Sung-wook (genisis23@naver.com)
     Lee Yu-chang (lyc1451@naver.com)
     Yang Jeong-su (yjsyjs3030@naver.com)
                                           Produced by
                                    Prof. Jung In-sang
Magic Gen : 구성

                               C
                            program
                    C
                 program



                              C
                           program




   테스트 데이터 값
   테스트 경로
   분기 커버리지
                       Magic gen
Magic Gen : 실행 process
UI : Test

            • 테스트 시작

            • 중간파일을 분석

            • 테스트 결과
Program Demo
Click
  (Cygwin 실행)




    명령어 startx 실행
(Window Maker 실행 명령어)
< 실행화면 >


마우스 오른쪽 버튼 클릭
  => Applications 선택
  => Terminals 선택
  => xterm 선택
 실행파일이 있는 디렉토리로 이동   < Magic Gen 실행 >
     => 실행파일 실행
Cilck




        < 테스트할 C Program를 선택 >
 테스트 할 C Program을 분석
  => 테스트 할 C Program이 있는 폴더에
     중간파일 및 테스트에 필요한 파일 생성
Cilck




        생성된 분석 파일에 필요한 헤더파일을 추가

         => ex) #include<math.h>에서 math.h 만 입력
Cilck




        < 실행경로 및 텍스트 보고서 파일 생성 >
Cilck
        실행경로 출력

         => Next와 Previous
              : 각 테스트 데이터들의
                실행경로를 보여줌
UI : 텍스트 보고서 생성
Magic Gen & Random
      Compare
Magic Gen : triangle.c
                              매직젠
          최대 횟수 : 30번                     랜덤인수
                           (Basic Mode)
     횟수             인수 수      확률          확률
      1              30        93%        86%
      2              30        93%        64%
      3              14       100%        79%
      4              16       100%        64%
      5              30        93%        79%
      ~              ~          ~          ~
     24              30        50%        79%
     25              30        93%        79%
     26              30        93%        64%
     27              30        86%        79%
     28              12       100%        64%
     29              30        93%        64%
     30              30        93%        79%
     평균              26        93%        71%
Development Tools
개발 도구
 • 개발환경
   - Linux ,Cygwin

 • 개발도구
   - Window maker, Graphviz

 • 개발언어 및 도구
   - C language, Cil , Ocaml

 http://dev.naver.com/projects/cygwin

More Related Content

Viewers also liked

Disrupting Tech With Diversity and Inclusion
Disrupting Tech With Diversity and Inclusion Disrupting Tech With Diversity and Inclusion
Disrupting Tech With Diversity and Inclusion Wayne Sutton
 
Spark machine learning & deep learning
Spark machine learning & deep learningSpark machine learning & deep learning
Spark machine learning & deep learninghoondong kim
 
ICBM 산업동향과 IoT 기반의 사업전략
ICBM 산업동향과 IoT 기반의 사업전략ICBM 산업동향과 IoT 기반의 사업전략
ICBM 산업동향과 IoT 기반의 사업전략Hakyong Kim
 
Developing an Intranet Strategy
Developing an Intranet StrategyDeveloping an Intranet Strategy
Developing an Intranet StrategyDNN
 
Launching a Rocketship Off Someone Else's Back
Launching a Rocketship Off Someone Else's BackLaunching a Rocketship Off Someone Else's Back
Launching a Rocketship Off Someone Else's Backjoshelman
 
The Future Of Work & The Work Of The Future
The Future Of Work & The Work Of The FutureThe Future Of Work & The Work Of The Future
The Future Of Work & The Work Of The FutureArturo Pelayo
 
The Physical Interface
The Physical InterfaceThe Physical Interface
The Physical InterfaceJosh Clark
 
[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?InterQuest Group
 
IT in Healthcare
IT in HealthcareIT in Healthcare
IT in HealthcareNetApp
 
UX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesUX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesNed Potter
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with DataSeth Familian
 

Viewers also liked (13)

Disrupting Tech With Diversity and Inclusion
Disrupting Tech With Diversity and Inclusion Disrupting Tech With Diversity and Inclusion
Disrupting Tech With Diversity and Inclusion
 
Spark machine learning & deep learning
Spark machine learning & deep learningSpark machine learning & deep learning
Spark machine learning & deep learning
 
Angelique Profile Nov 16
Angelique Profile Nov 16Angelique Profile Nov 16
Angelique Profile Nov 16
 
State of Tech in Texas
State of Tech in TexasState of Tech in Texas
State of Tech in Texas
 
ICBM 산업동향과 IoT 기반의 사업전략
ICBM 산업동향과 IoT 기반의 사업전략ICBM 산업동향과 IoT 기반의 사업전략
ICBM 산업동향과 IoT 기반의 사업전략
 
Developing an Intranet Strategy
Developing an Intranet StrategyDeveloping an Intranet Strategy
Developing an Intranet Strategy
 
Launching a Rocketship Off Someone Else's Back
Launching a Rocketship Off Someone Else's BackLaunching a Rocketship Off Someone Else's Back
Launching a Rocketship Off Someone Else's Back
 
The Future Of Work & The Work Of The Future
The Future Of Work & The Work Of The FutureThe Future Of Work & The Work Of The Future
The Future Of Work & The Work Of The Future
 
The Physical Interface
The Physical InterfaceThe Physical Interface
The Physical Interface
 
[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?
 
IT in Healthcare
IT in HealthcareIT in Healthcare
IT in Healthcare
 
UX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesUX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and Archives
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 

Slide share(magic gen)

  • 1. Magic Gen ( C Program Test ) Kim Min-gi (mingi0915@naver.com) Kim Sung-wook (genisis23@naver.com) Lee Yu-chang (lyc1451@naver.com) Yang Jeong-su (yjsyjs3030@naver.com) Produced by Prof. Jung In-sang
  • 2. Magic Gen : 구성 C program C program C program  테스트 데이터 값  테스트 경로  분기 커버리지 Magic gen
  • 3. Magic Gen : 실행 process
  • 4. UI : Test • 테스트 시작 • 중간파일을 분석 • 테스트 결과
  • 6. Click (Cygwin 실행) 명령어 startx 실행 (Window Maker 실행 명령어)
  • 7. < 실행화면 > 마우스 오른쪽 버튼 클릭 => Applications 선택 => Terminals 선택 => xterm 선택
  • 8.  실행파일이 있는 디렉토리로 이동 < Magic Gen 실행 > => 실행파일 실행
  • 9. Cilck < 테스트할 C Program를 선택 >
  • 10.  테스트 할 C Program을 분석 => 테스트 할 C Program이 있는 폴더에 중간파일 및 테스트에 필요한 파일 생성
  • 11. Cilck 생성된 분석 파일에 필요한 헤더파일을 추가 => ex) #include<math.h>에서 math.h 만 입력
  • 12. Cilck < 실행경로 및 텍스트 보고서 파일 생성 >
  • 13. Cilck 실행경로 출력 => Next와 Previous : 각 테스트 데이터들의 실행경로를 보여줌
  • 14. UI : 텍스트 보고서 생성
  • 15. Magic Gen & Random Compare
  • 16. Magic Gen : triangle.c 매직젠 최대 횟수 : 30번 랜덤인수 (Basic Mode) 횟수 인수 수 확률 확률 1 30 93% 86% 2 30 93% 64% 3 14 100% 79% 4 16 100% 64% 5 30 93% 79% ~ ~ ~ ~ 24 30 50% 79% 25 30 93% 79% 26 30 93% 64% 27 30 86% 79% 28 12 100% 64% 29 30 93% 64% 30 30 93% 79% 평균 26 93% 71%
  • 18. 개발 도구 • 개발환경 - Linux ,Cygwin • 개발도구 - Window maker, Graphviz • 개발언어 및 도구 - C language, Cil , Ocaml http://dev.naver.com/projects/cygwin