Mend for Eclipse quick start guide local analysis

Similar documents
Eclipse/Websphere. Page 1 Copyright 2004 GPL License. All rights reserved.

Design Importer User Guide

Welcome to the CP Portal

Guide to add as trusted site in Java 8 Update 51. Version of 24 OCBC Bank. All Rights Reserved

pure::variants Server Support Plug-In Manual

Downloading & Installing Audacity

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

IBM WebSphere Java Batch Lab

Apache Directory Studio. User's Guide

Installation and Upgrade Guide Zend Studio 9.x

R9.7 erwin License Server:

Installation and Upgrade Guide Zend Studio 9.x

Ebrary User Guide. Downloading a Book: Reading ebrary books online: Accessing BookShelf: Using the Bookshelf:

POOSL IDE Installation Manual

You can make certain sections of the text clickable by creating hyperlinks. Once clicked, these links navigate users to different

NetMan Desktop Manager Quick-Start Guide

Sample Spark Web-App. Overview. Prerequisites

TinLof Technologies - PagePack / PageConnect Program Installation Guide *** Program must be installed on a PC (Non-Mac)

This document contains the steps which will help you to submit your business to listings. The listing includes both business and contact information.

BROWSER-BASED SUPPORT CONSOLE USER S GUIDE. 31 January 2017

From the Insert Tab (1), highlight Picture (2) drop down and finally choose From Computer to insert a new image

4. Fill in your information. Choose an address for your PBworks wiki. Be sure to choose For Education as your workspace type.

VikiLABS. July 8, 2017

Using Google Drive Some Basics

Administrative Training Mura CMS Version 5.6

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

Session 5 Exercises: - Installing Subclipse - Checking out code using Subclipse - Basic object-oriented programming in Java

A Reference guide to Using the Collaborate tool in your LMS (Mac Users)

Google Sites 101. Mrs. Wilson

OBIEE. Oracle Business Intelligence Enterprise Edition. Rensselaer Business Intelligence Finance Author Training

SpringSource Tool Suite 2.3.2

PBwiki Basics Website:

Sabre Customer Virtual Private Network Launcher (SCVPNLauncher)

Table Of Contents Introduction & System requirements: Steps to install the SecomSDK Installer package. 3

NSIGHT ECLIPSE PLUGINS INSTALLATION GUIDE

Quick Guide Installing Zend Studio for Eclipse 6.1 as a Set of Plugins

Completing Baseline s Site Survey Request Form

WinSCP. Author A.Kishore/Sachin

Glow Blogs e- Portfolio Plugin

PART 1. Eclipse IDE Tutorial. 1. What is Eclipse? Eclipse Java IDE

Module 3: Working with C/C++

INTRODUCTION... 3 INSTALLATION GUIDE FOR ECLIPSE 3.1 AND INSTALLATION GUIDE FOR ECLIPSE 3.3 TO

Technical Notes Eclipse Integration version 1.2.1

Chancellor s Office Information Technology Services Corporate Information Management FIRMS Budget Review Hyperion Process

i2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code

9.4 Authentication Server

Managing a Website in the EDUPE Environment

Excel window. This will open the Tools menu. Select. from this list, Figure 3. This will launch a window that

Enter your Appserv username and password to sign in to the Website

Primavera P6 Professional Windows 10 Installation Instructions. Primavera P6. Installation Instructions. For Windows 10 Users

Creating a Dashboard Prompt

Creating Dashboard Widgets. Version: 16.0

WA1884 Introduction to Java. using Oracle JDeveloper 11g. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Click on OneDrive on the menu bar at the top to display your Documents home page.

SupportCenter Getting Started Guide

Reading and Posting to Wikis in Blackboard

Red Hat Application Migration Toolkit 4.2

UMHS Financial Systems Workspace & Smart View Templates

CaliberRM 5.1 Integration for Describe Enterprise

SpringSource Tool Suite M1

Guide to fix the problem with Problets

Creating Post(s) In WordPress

Module 4: Working with MPI

Developing Android applications in Windows

Introduction to INFOASSIST Training Course Manual

MAIL MERGE USING MS WORD 97

BRIEFCASES & TASKS ZIMBRA. Briefcase can be used to share and manage documents. Documents can be shared, edited, and created using Briefcases.

Horizon Launcher Configuration Guide

Since you can designate as many symbols as needed as baseline symbols it s possible to show multiple baselines with unique symbology.

Tivoli Common Reporting V Cognos report in a Tivoli Integrated Portal dashboard

EUSurvey OSS Installation Guide

Supplement H.1: JBuilder X Tutorial. For Introduction to Java Programming, 5E By Y. Daniel Liang

Links Menu (Blogroll) Contents: Links Widget

Supplement II.B(1): JBuilder X Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Introduction to INFOASSIST Training Course Manual

OrgPublisher Photos, Logos, and Legends

Author A.Kishore/Sachin WinSCP

Series 40 6th Edition SDK, Feature Pack 1 Installation Guide

Quick Tips & Tricks. Important You must use SEMICOLONS ( ie; ) to separate address when sending mail to multiple users

In this lab, you will build and execute a simple message flow. A message flow is like a program but is developed using a visual paradigm.

Report Viewer Tutorial

1. Move your mouse to the location you wish text to appear in the document. 2. Click the mouse. The insertion point appears.

Using Blackboard Drive to upload/manage content in Blackboard Learn

Visual Disassembler for the Texas Instruments MSP430 Microprocessor Family

Application prerequisites

Additional Network Workstation Windows XP Installation Guide

Database Explorer Quickstart

DS-5 ARM. Using Eclipse. Version Copyright ARM. All rights reserved. ARM DUI 0480L (ID100912)

Steps for Inserting and Editing a Document in Kurzweil

Advanced User's Workshop

Faber 6000/Faber 6000 Plus USB Driver Installation for Windows 7/10

How to Install and Configure the Barracuda Outlook Add-In

PBWORKS - Student User Guide

Using the Prime Performance Manager Web Interface

Microsoft FrontPage 2003 The Basics

Outlook 2010 Training Manual

JBOSS TOOLS INSTALLATION IN ECLIPSE February 2013 Level: By : Feri Djuandi Beginner Intermediate Expert Platform : Eclipse Juno, JBoss AS

Chapter. 2 Starting a Call. Logging In as a New Rep. Looking Up a Call. Shutting Down

Nova Bonita Workflow. Quick Start Guide. Nova BONITA WORKFLOW

Embedding SoftChalk In Blackboard. SoftChalk Create 9

Transcription:

The Semmle Mend for Eclipse plugin allows users to view Semmle results in Eclipse. This document describes how to install and use the plugin for local analysis. You can install the plugin using a Semmle update site or a zip file containing the Mend installer (available on the private wiki). Mend for Eclipse quick start guide local analysis Introduction Semmle Mend is an IDE plugin or extension. It highlights code that violates Semmle analysis rules directly in Eclipse. Mend includes a Violations window, which allows you to locate violations by type or resource(s). Mend can be used in two modes: Download analysis In this mode, Mend displays analysis results that are generated remotely for a Semmle Project Insight dashboard and then downloaded and displayed within Eclipse. There is a separate quick start guide for download analysis. Local analysis When using this mode, the code stored locally on your computer is analyzed. This document describes how to install Mend for Eclipse for local analysis. Semmle Mend for Eclipse is available for Eclipse version 3.5 and later versions. Installing Mend for Eclipse (local analysis) 1. Start Eclipse. 2. Open the Help menu and select Install New Software. 3. The Install dialog box is displayed. 4. Click Add. 5. In the Name box, type a name for the Semmle Software site and in the Location box type the URL for the Semmle update site. 6. When finished, click OK. 7. Select Semmle Products (this will select all the components): Semmle Mend: Local analysis using Eclipse 2016 Semmle 1

8. Click Next to display the Install Details page and then click Next to display the Review Licenses page. 9. When you are ready to accept the license agreement and install the software, click Finish to install the software. The Installing Software dialog box is displayed and shows the progress of the installation. 10. When the installation finishes, you are prompted to restart Eclipse to complete the process. We recommend that you click Restart Now unless you need to save some changes before restarting Eclipse. 11. When Eclipse has restarted, Semmle Mend is ready to configure to show results from locally performed analysis of Java projects If you are installing Mend using a local archive downloaded from the private wiki, replace steps 5 and 6 above by the following: 5. Click the Archive button and select the zip archive that you would like to use, and click OK. 6. When the archive path appears in the Location box, click OK. Configuring Mend for Eclipse Mend analysis is controlled by Eclipse configurations of type "Analysis Configuration." Each configuration defines how to analyze one or more projects, either by downloading violations from a Project Insight dashboard or by performing local analysis of Java code. Before you can perform local analysis in Eclipse you will need to have one of the following: Project Insight URL used to configure Mend for analysis by downloading setup information from a Project Insight dashboard. Analysis uses the rules and categorizations configured for the project in Project Insight, including any customizations. Semmle Mend: Local analysis using Eclipse 2016 Semmle 2

Mend License file used to configure Mend for standalone analysis using the default Mend configuration file. Analysis uses the Java standard rules and categorizations included with Mend. No network access to a Project Insight dashboard is required. Mend can only analyze projects that build without errors in Eclipse. To create a configuration for Java analysis: 1. On the Launch toolbar, click the arrow displayed on the right of the launch analysis button 2. Select Analysis Configurations from the drop-down menu to display the Analysis Configurations dialog box. 3. In the left panel, select Local Java to define the type of configuration to create. 4. In the toolbar above the left panel, click the New launch configuration button to create a new analysis configuration. 5. Define a Name for the new configuration (text box displayed top right). 6. On the Main tab, define the location of a Mend license file, either: Download settings from Project Insight select this option, and then define the Project Insight URL and Project to use. The license file and configuration of rules are both downloaded from the dashboard. Enter settings manually define the location of a Mend License file. Optionally, also define the location of a custom Mend configuration file. 7. Use the Projects tab to define which Java projects the Analysis Configuration is for. Semmle Mend: Local analysis using Eclipse 2016 Semmle 3

8. When you have finished defining the details, click Analyze to save the new configuration and launch the analysis using the new Analysis Configuration. Finding violations using Mend for Eclipse When you have run local analysis, you can display the results in the Violations window by clicking Window > Show View > Other, expanding the Semmle folder and selecting Violations. The Violations window is an Eclipse window that is available when Semmle Mend is installed. It shows violations of coding rules: Any violations that are new since the previous version of the code was analyzed are shown in red. (For example, the first two violations shown above.) In the Violations window: 1. Expand categories and expand the rule that you want to explore. 2. Double-click a violation to open the associated resource and highlight the code in the editor. 3. To display a brief description of the rule, place the mouse cursor over the highlighted code in the editor. A tooltip is displayed: 4. To display detailed help for the rule in a browser window, select the violation in the editor and click View Dashboard Help on the tooltip that gets displayed. Semmle Mend: Local analysis using Eclipse 2016 Semmle 4

For more information, please refer to the Semmle Mend for Eclipse Online Help available via the following link http://help.semmle.com/mendeclipse. Semmle Mend: Local analysis using Eclipse 2016 Semmle 5