PowerPoint 프레젠테이션

Similar documents
슬라이드 1

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

Chapter 1

DE1-SoC Board

소프트웨어 검증 및 설계

Orcad Capture 9.x

PowerPoint 프레젠테이션

untitled

PowerPoint 프레젠테이션

JUNIT 실습및발표

초보자를 위한 C++

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일

chapter4

example code are examined in this stage The low pressure pressurizer reactor trip module of the Plant Protection System was programmed as subject for

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras

Domino Designer Portal Development tools Rational Application Developer WebSphere Portlet Factory Workplace Designer Workplace Forms Designer

H3050(aap)

Interstage5 SOAP서비스 설정 가이드

PowerPoint 프레젠테이션

iii. Design Tab 을 Click 하여 WindowBuilder 가자동으로생성한 GUI 프로그래밍환경을확인한다.

MAX+plus II Getting Started - 무작정따라하기

PowerPoint Presentation

Solaris Express Developer Edition

4S 1차년도 평가 발표자료

Page 2 of 6 Here are the rules for conjugating Whether (or not) and If when using a Descriptive Verb. The only difference here from Action Verbs is wh

JUnit & Eclipse

0125_ 워크샵 발표자료_완성.key

Dialog Box 실행파일을 Web에 포함시키는 방법

제목을 입력하세요.

PRO1_04E [읽기 전용]

DocsPin_Korean.pages

Microsoft PowerPoint - Smart CRM v4.0_TM 소개_ pptx

Secure Programming Lecture1 : Introduction

<32B1B3BDC32E687770>

Week3

SQL Developer Connect to TimesTen 유니원아이앤씨 DB 기술지원팀 2010 년 07 월 28 일 문서정보 프로젝트명 SQL Developer Connect to TimesTen 서브시스템명 버전 1.0 문서명 작성일 작성자

MPLAB C18 C

교육2 ? 그림

Portal_9iAS.ppt [읽기 전용]

I T C o t e n s P r o v i d e r h t t p : / / w w w. h a n b i t b o o k. c o. k r

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

슬라이드 1

K7VT2_QIG_v3

삼성955_965_09

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V

Microsoft Word - PA1_Hints.doc

Copyright 2012, Oracle and/or its affiliates. All rights reserved.,.,,,,,,,,,,,,.,...,. U.S. GOVERNMENT END USERS. Oracle programs, including any oper

Contents Contents 2 1 Abstract 3 2 Infer Checkers Eradicate Infer....

J2EE & Web Services iSeminar

Microsoft Word - Automap3

,,,,,, (41) ( e f f e c t ), ( c u r r e n t ) ( p o t e n t i a l difference),, ( r e s i s t a n c e ) 2,,,,,,,, (41), (42) (42) ( 41) (Ohm s law),

PRO1_09E [읽기 전용]

chapter1,2.doc

LXR 설치 및 사용법.doc

Facebook API

PowerPoint 프레젠테이션

Remote UI Guide

Open Cloud Engine Open Source Big Data Platform Flamingo Project Open Cloud Engine Flamingo Project Leader 김병곤

Microsoft PowerPoint - AME_InstallRoutine_ver8.ppt

28 THE ASIAN JOURNAL OF TEX [2] ko.tex [5]

PowerChute Personal Edition v3.1.0 에이전트 사용 설명서

VOL /2 Technical SmartPlant Materials - Document Management SmartPlant Materials에서 기본적인 Document를 관리하고자 할 때 필요한 세팅, 파일 업로드 방법 그리고 Path Type인 Ph

PowerPoint 프레젠테이션

Week13

Journal of Educational Innovation Research 2019, Vol. 29, No. 1, pp DOI: (LiD) - - * Way to

ETL_project_best_practice1.ppt

ecorp-프로젝트제안서작성실무(양식3)

CD-RW_Advanced.PDF

ISO17025.PDF

Hi-MO 애프터케어 시스템 편 5. 오비맥주 카스 카스 후레쉬 테이블 맥주는 천연식품이다 편 처음 스타일 그대로, 부탁 케어~ Hi-MO 애프터케어 시스템 지속적인 모발 관리로 끝까지 스타일이 유지되도록 독보적이다! 근데 그거 아세요? 맥주도 인공첨가물이

Microsoft PowerPoint Android-SDK설치.HelloAndroid(1.0h).pptx

강의10

Microsoft PowerPoint SDK설치.HelloAndroid(1.5h).pptx

NoSQL

하나님의 선한 손의 도우심 이세상에서 가장 큰 축복은 하나님이 나와 함께 하시는 것입니다. 그 이 유는 하나님이 모든 축복의 근원이시기 때문입니다. 에스라서에 보면 하나님의 선한 손의 도우심이 함께 했던 사람의 이야기 가 나와 있는데 에스라 7장은 거듭해서 그 비결을

untitled

#KM560

소개 TeraStation 을 구입해 주셔서 감사합니다! 이 사용 설명서는 TeraStation 구성 정보를 제공합니다. 제품은 계속 업데이트되므로, 이 설명서의 이미지 및 텍스트는 사용자가 보유 중인 TeraStation 에 표시 된 이미지 및 텍스트와 약간 다를 수

을풀면된다. 2. JDK 설치 JDK 는 Sun Developer Network 의 Java( 혹은 에서 Download > JavaSE 에서 JDK 6 Update xx 를선택하면설치파일을

No Slide Title

1. 도구개요 CppUnit Testing 소개 CppUnit 는 C++ 용 testing Framework 로 Java 의 JUnit 을 C++ 로구현 C++ 언어에서사용할수있도록개발된 Open Source 프로젝트로, source code 의특정 Module 이의도

Apache Ivy

PowerPoint プレゼンテーション

Page 2 of 5 아니다 means to not be, and is therefore the opposite of 이다. While English simply turns words like to be or to exist negative by adding not,

07_Àü¼ºÅÂ_0922

문서의 제목 나눔명조R, 40pt

슬라이드 1

#KM-235(110222)

Stage 2 First Phonics

<31325FB1E8B0E6BCBA2E687770>

블로그_별책부록

JAVA 플랫폼 개발 환경 구축 및 활용

C. KHU-EE xmega Board 에서는 Button 을 2 개만사용하기때문에 GPIO_PUSH_BUTTON_2 과 GPIO_PUSH_BUTTON_3 define 을 Comment 처리 한다. D. AT45DBX 도사용하지않기때문에 Comment 처리한다. E.

1

975_983 특집-한규철, 정원호

문서의 제목 나눔고딕B, 54pt

PCServerMgmt7

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

Data Sync Manager(DSM) Example Guide Data Sync Manager (DSM) Example Guide DSM Copyright 2003 Ari System, Inc. All Rights reserved. Data Sync Manager

4. #include <stdio.h> #include <stdlib.h> int main() { functiona(); } void functiona() { printf("hihi\n"); } warning: conflicting types for functiona

Transcription:

Unit is a simple framework to write repeatable tests. It is an instance of the xunit architecture for unit testing frameworks.

Annotation @Test @Test(timeout=ms) @Test(expected=class) @Ignore Explanation Written for the test method. When timeout paramater exists, the test would fail if the test takes longer than defined time. When expected parameter exists, the test would fail if the test doesn t make defined exception. If you want to see the report but test code is not implemented yet, you can use this annotation. @After @Before @AfterClass @BeforeClass It s same as setup() and teardown() in JUnit3. It is executed before and after each test methods. It s same as setupbeforeclass() and teardownafterclass() in JUnit3. It is executed before and after the class.

Annotation @RunWith(value=class) @SuiteClasses(value={clas ses}) @Parameters Explanation It is used to decide test runner. It is used to define tests which would be included in test suites. It is used for multiple tests for several parameters.

Method Explanation assertequals (expected type, result type) assertequals (expected object, result object) assertsame (expected object, result object) After comparing expected value with result value, returns success if those are same. After comparing expected object s value with result object s value, returns success if those are same. After comparing expected object s memory address and result object s memory address, returns success if those are same. assertnull(object) assertnotnull(object) asserttrue(boolean) assertfalse(boolean) After testing object is null or not, returns success if object is null. After testing object is null or not, returns success if object is not null. After condition is true or not, returns success if condition is true. After condition is true, or not returns success if condition is false.

- Set up the environmental variable -tells the location of the installed JDK

- Set up the path variable to help to find the executable file like java.exe for other tools.

- http://www.eclipse.org/downloads/

- right click your project-[preferences]-[java Build Path] -[Add External JARs ]

Keyboard shortcut Ctrl+Space Ctrl+Shift+O Ctrl+I Ctrl+Shift+/ Explaination Auto complete Auto import the library Auto indent Making blocked lines comments

IDE / Build tool Main/Initial Author Available from SCM-Manager SCM-Manager Plugin Page jgrasp Larry Barowski jgrasp Home Page Sonar Freddy Mallet (initial author) Sonar Home Page Eclipse/RAD/RDz David Schneider Eclipse-CS Home Page Eclipse/RAD/RDz Roman Ivanov Project Page Eclipse/RAD/RDz Marco van Meegen Checklipse Home Page IntelliJ IDEA Jakub Slawinski QAPlug IntelliJ IDEA James Shiell Checkstyle-idea Project Page IntelliJ IDEA Mark Lussier JetStyle Project Page NetBeans Petr Hejl Checkstyle Beans NetBeans Paul Goulbourn nbcheckstyle NetBeans Software Quality Environment (SQE) jcoderz fawkez BlueJ Rick Giles bluejcheckstyle home page tide Built in Emacs JDE Markus Mohnen Part of the standard JDEE distribution jedit Todd Papaioannou JEdit CheckStylePlugin Vim editor Xandy Johnson Plugin Homepage Maven Vincent Massol Checkstyle supported out of the box QALab Benoit Xhenseval QALab Home Page

항목원인회피방법 JavadocPackage 모든 method, class 에는 help 가존재해야한다. 시간상힘들고, 관리되지않는주석은더욱큰혼란 을가지고온다. method 의이름규칙으로대신하기 로한다. NewlineAtEndOfFile Translation java code의가장마지막줄은빈공백열로마쳐져야한다. Properties file을이용한경우, 국가별번역이모두존재해야한다. 마지막 line 에는항시빈공백을넣는다. 국가별번역파일을따로맊들거나 default 문자열맊 을이용한다. FileLength java file 의 length 는 2000 line 을넘지않도록작성한다. 2000 line 이넘어가는경우, 설계상의문제가있기때문 에 class 를재정의한다. FileTabCharacter RegexpSingleline java file 내부에 tab 문자열이있으면앆된다. 1 line에는한개의method맊이존재해야한다. tab 을모두 space 로치환해서사용하도록한다. 1 line 에대한설정을명확하게해서사용하도록한다.

Side Good Bad points You can use PMD without Eclipse! There re several report formats like html,xml,test Very detailed! You can check CPD function! PMD doesn t support UI like findbugs. Tooooooo detailed!

Class directory Reference library Source directory

?

Side Good points Bad Findbugs takes longer time than PMD Reports only XML format

- SonarQube s numerous dashboards offer quick insight. - SonarQube is an open platform to manage code quality. As such, it covers the 7 axes of code quality: - SonarQube s numerous dashboards offer quick insight. - Several methods are available to replay the past, showing how your metrics evolved.

- Install Sonar plugin in Eclipse [Help]-[Install new software ] http://dist.sonar-ide.codehaus.org/eclipse/

- Download SonarQube http://www.sonarqube.org/ Download latest version(3.7.4) unzip the file - Download SonarQube Runner http://www.sonarqube.org/ Download latest version(2.3) unzip the file

- Connect to SonarQube server : [Window]- [preferences]-[sonarqube ]-[servers] [test connection]

- When you connect to SonarQube server -Open SonarQube server before connecting! - C:\...\sonar-3.7.4\sonar-3.7.4\bin\windows-x86-xx \StartSonar.bat - If you didn t open the Server

name of your project directory do not use \!!!! use / - C:\sonarqube\sonar-runner-dist-2.3\sonar-runner- 2.3\conf\sonar-runner.properties Edit the file!!!

- C:\sonarqube\sonar-runner-dist-2.3\sonar-runner-2.3\bin - Execute sonar-runner

- open your browser and access to http://localhost:9000 Login with ID : admin / PW : admin - It would be closer to red when there s many error.

- Dashboard shows the result in terms of 7 standards of quality. - potential bugs - coding rule - test - duplication - comments - architecture and design - complexity

- Dashboard (with plugin example)

- Code comment

one of your sonarqube server cannot be reached. please check your connection settings. authentication error The folder C:devworkspaceHell osrc does not exist for Hello 서버가열리지않아서생기는에러 StartSonar.bat 으로서버실행 이클립스 windows-preferences 에서 ID/pw 가일치하지않으면나는에러서버로그인후 admin/admin 으로로그인 Sonar-runner.properties 수정시 \ 가아닌 / 로경로설정

- SonarQube 의장점 - dashboard 가항목별로정리되어있어이해하고알아보기쉬움 - 다른 plugin 을추가설치한다면더욱맋은분석결과를확인할수있음 - 또한코드별로코멘트를달아팀원별로의견공유를할수있음 - SonarQube 의단점 -eclipse 내에서분석결과를확인할수있는것이아니라따로인터넷페이지에서확인해야함 -server 를켜놓고 cmd 창에서 runner 를돌려야하는점때문에불편함 - 어려웠던점및소감 - 설치의어려움

G o o d B a d Checkstyle PMD FindBugs SONAR - 지속적으로업데이트 -Code convention 을지키게끔연습하는데가장유용. - 한글로된자료가맋음 - 진짜버그는못찾을수도있음 (code convention 을준수했나를가장중점적으로보는툴!) - 엄청나게꼼꼼 - 분석에오랜시간이소요되지않음 -CPD 분석기능제공 - 여러가지리포트포맷을제공 - 툴이조금무거욲편 - 자체 UI 를제공하지않아이클립스없이쓰려면힘들다 - 쓰면서가장에러가맋이난툴. - 툴이가벼움 - 자체 UI 제공으로사용이편리 - 잠재적버그를찾는데가장유용 - 바이트코드분석으로호출되지않는영역에러찾음 - 툴이가벼움에도불구하고분석에 PMD 보다오랜시간이소요됨 - 리포트포맷이다양하지않음 - 오라클,MySQL 같은 DB 와연동가능 - 복잡도분석같은다른툴에는없는기능제공 - 일자별로변동을파악가능 - 인스톨어려움 - 서버가항상틀어져있어야함. - 이클립스가아닌웹상에서확인해야함.

http://cafe.naver.com/tbed/16 http://stackoverflow.com/questions/16778062/ importing-rules-for-pmd-eclipse http://cafe.naver.com/tbed/16 http://www.swbank.kr/html/tools/toolsfile /PMD_05_functionIntro.pdf

http://findbugs.sourceforge.net/manual/gui.html http://en.wikipedia.org/wiki/findbugs http://stackoverflow.com/questions/6395546 /findbugs-not-showing-the-bugs-found

http://www.sonarqube.org/ http://www.slideshare.net/allnewangel/sonar-23151331 http://dryang.egloos.com/viewer/4005366