Julia Eclipse Plugin User Manual Table of Contents

Similar documents
Julia Eclipse Plugin User Manual. Version 2.6.0

PASSWORD SHIELD. User Manual

Digital Analy 韜 cs Installa 韜 on and Configura 韜 on

Networking for Wide Format Printers

DIRECT SUPPLIER P RTAL INSTRUCTIONS

User Guide for Undergraduate & Postgraduate Students using the Ethics Online Approval System

PC PRIVACY SHIELD. User Manual. PC Privacy Shield

RefWorks User Quick Start Guide VERSION 5.0

OPTIONAL EXERCISE 1: CREATING A FUSION PROJECT PART A

EXERCISE 2: GETTING STARTED WITH FUSION

WEB TEACHER GUIDE. ebackpack provides a separate Student Guide through our support site at

REGION: NORTH AMERICA

BT SIP Trunk CRF User Guide - BT Sales / Originator + Specialist

User Guide for Staff and Postgraduate Research Students using the Ethics Online Approval System

DFM Concurrent Costing

RefWorks User Quick Start Guide VERSION 6.0

LPC PORTAL. Student User Guide

Mend for Eclipse quick start guide local analysis

Quick Reference Guide for Blackboard Elluminate Virtual Classroom Part 1

electronic license applications user s guide Contents What you need Page 1 Get started Page 3 Paper Non-Resident Licensing Page 10

1 / Develop a User Process

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

AccessPilot Lock Software

New n Member Polygon and Grid Maintenance

ADMIN TRAINING GUIDE FEBRUARY 22, 2017 STAFFING SYSTEM NIGHT OWL PRODUCTIONS ENTERPRISE SYSTEMS & SERVICES KENNESAW STATE UNIVERSITY

SIRE Solution Suite. Better Outcomes. Active Review Administration and User Manual. A Publication Of

Remote Ticket Entry. System/User Requirements

XSEDE Iden ty Management Use Cases

Special Topic: Automated Report Recipients 5. Crea ng a New Region 6 Adding Districts to Regions 8

Permits User s Guide. Submit Application. Upload Files & Pay Fees. Plan Review Process. Final PreScreen. Project Approval. Electronic Plan Review

Cost Share Authoriza on / Matching Support Form

1. TriPOS update instructions to support TLS1.2

Physician Reference Guide Paragon Clinician Hub Version 13.0

In 2018 the Council has modernized the website. Most of the func- onality of the old site has remained with a fresh new look and naviga on.

Microso 埘 Exam Dumps PDF for Guaranteed Success

RoboDC_urcap convert DXF file into robot trajectories, from the robot interface! URcaps are plugins to extends Universal Robot fonc onnali es.

KG-TOWER Software Download and Installation Instructions

Release Notes June 15, Date: 15-Jun :49 URL:

List of Known Toolbox Problems

At the shell prompt, enter idlde

EXERCISE 4: CALCULATE LIDAR METRICS

Registering Your D1 with the System (Windows 2000)

Riso Comcolor Series

Girl Scouts of San Jacinto Counci Troop Initial Order Guide

Downloading & Installing Audacity

Streamlining Your Work with Macros. Workshop Manual

Workspace Desktop Edition Deployment Guide. Installing The Workspace SIP Endpoint

SoCalGas ENVOY. Troubleshooting Envoy Getting Started

Contents. Anaplan Connector for MuleSoft

PACS ADMIN. Quick Reference Guide

Buyer s Guide. Contents. This guide will review how to shop, create requisi ons and track your requisi ons, orders and invoices

Creating a screen capture using the My Media Screen Recorder tool in D2L s News or Content areas

How Do I Inspect Error Logs in Warehouse Builder?

Advanced Features Training

HCA Tech Note 120. Configuring the Control UI Home Page. Option 1: HCA constructs the home page

What is MyDtxt? 2 Why use MyDtxt? 2 Ge ng started and crea ng an account 2 How do I text my customers? 3. How do I get feedback from my customers?

Organize Mail into Folders

Test/Debug Guide. Reference Pages. Test/Debug Guide. Site Map Index

Flint - Eclipse Based IDE User Manual

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

Assignment 1. Application Development

Governance, Risk & Compliance. TSo Plus System Requirements. TSo Plus

DOWNLOAD AND INSTALL ERDAS IMAGINE

Sonatype CLM - IDE User Guide. Sonatype CLM - IDE User Guide

1. Website/Pages/Stripes/Items/Elements

LiveNX Upgrade Guide from v5.1.2 to v Windows

The Quick Access Toolbar can be either just below the Title Bar or, as in this case, just above the ruler.

Anonymity and Privacy Blockchain

EDTracker Pro Wired. User Guide

UNIVERSAL. Energy Saver Windows PC Stick with IPTV add-on USER GUIDE

TANKLOGIX PORTAL TICKET MANAGEMENT 3.2 AUTHOR: GREG BAGLEY

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

WORKSWELL WIRIS PRO QUICK START GUIDE. FW Version: Release date: 22 nd March, Revision : 1.2 EN

Image Crea)on MODULE 2. mpcdata delivering software innovation

USER MANUAL. for Windows & Mac. Links to mobile apps, printers and weighers.

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at

Manual Eclipse CDT Mac OS Snow Leopard

TIBCO ActiveMatrix BusinessWorks Installation

TANKLOGIX PORTAL TICKET MANAGEMENT 3.0 AUTHOR: GREG BAGLEY

InDesign Part II. Create a Library by selecting File, New, Library. Save the library with a unique file name.

Oracle General Navigation Overview

Volume AGKSOFT. Ruby VeriFone Back Office Software. Ruby VeriFone Guide

USER MANUAL. for Windows & Mac

Last Updated: FRC 2019 BETA

How to Set up Eclipse and Android SDK Manager Environment You need to download the following

Installation and Upgrade Guide Zend Studio 9.x

Installation and Upgrade Guide Zend Studio 9.x

Moving a File (Event-Based)

Anonymity and Privacy Blockchain

Servoy Stuff Browser Suite FAQ

Module 3: Working with C/C++

BEAJRockit Mission Control. Method Profiling

Importing source database objects from a database

Skytap Remote Access/Connectivity Checker Troubleshooting Guide

pi4soa 2.0 Getting Started Guide

Q. How do I start using Mānoa Guardian? A. Go to the App Store or Google Play on your mobile device and download the app. Search for Rave Guardian.

Volume AGKSOFT. Ruby VeriFone Back Office Software. Ruby VeriFone Guide

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

HPE Security Fortify Plugins for Eclipse

Interlink Express Desktop Printing Service Installation Guide

Transcription:

Julia Eclipse Plugin User Manual Table of Contents Introduction Installation Settings Running Julia Navigating the Results Managing analyses results Extraction of the application under analysis Julia Java Project Wizard 2 2 3 4 6 7 8 8

Introduction This user guide presents the Eclipse plugin of Julia. Julia is a sta c analyzer that automa cally performs seman c analysis of Java code. The Eclipse plugin allows a user to (i) set up the URL of the Julia Server and her creden als, (ii) select the op ons of the analysis and run it, and (iii) inspect the results. In addi on, this user guide explains step-by-step how to install the plugin. Installation First of all, you need to install the plugin by clicking Help from the bar menu, and then Install New Software. An Install panel will appear. From there, fill the Work with text field with the URL h p://sta c.juliaso.com/eclipseplugin/latest/, then click Add, and select a name A er clicking Ok, in the central part of the Install panel the components of the Julia plugin will appear. Just click Next to go ahead with the installation. 2

Click Next in the panel about the install details. Finally, you have to accept the license and click Finish to start the download and installa on of the Julia plugin. At the end of the installation, you will need to restart Eclipse. Settings The menu bar will now contain a new menu Julia : - Analyze with Julia will open the panel to set up and start the analysis, - Show Julia Analysis View will open in the view panel the Julia Analysis view (see "Accessing the results for more details), - Import Analysis from File will allow you to load the results of previous analyses saved in a.xml file, - Retrieve Analysis from Server will allow you to 3

load the results of previous analyses, and - Preferences will open a panel to specify the server and the creden als to run the analysis (see below). In the Preferences panel, you can specify the URL of the Julia Analyzer (https://portal.juliasoft.com/services/pluginservice for the cloud service), your access and secret key, and you can acquire your list of solu ons and select one of them. Running Julia You have two ways to run Julia: 1) From the menu bar, click Julia and then "Analyze with Julia" 2) Click the Julia icon 4

When star ng the analysis the Julia Analysis wizard will appear. From here, you have to select the projects you want to analyze (le part), the dependencies to include (right part), what entry points the analysis should consider (bo om part, for more details see the sec on Extrac on of the applica on under analysis ), and the op on to include.proper es files launching the analysis. Then you can click Next. The second and last step before running the analysis is to select the checkers you want to apply; checkers are represented in a tree view (le part) and many of them have some op ons (their children). We strongly encourage to run only the Basic checkers as default, and run more Advanced checkers only if needed. Julia s website contains the exhaus ve explana on of all Julia checkers. Once you select a checker, you may choose to select some of its options too (its children in the tree); the right panel will always help you showing a brief explana on of the currently selected checker/op on in the tree. For each op on, you can select a specific value (e.g., true or false) through a drop down menu at the bo om. In the bottom left part you can Save or load configurations, i.e., entry points and checkers the analysis will apply. Finally, the analysis can be launched by clicking Finish. A dialog will tell you how many credits the analysis will cost. If you want to proceed, click Ok and the credit will be deducted from you account. Otherwise, click Cancel and the credits will not be debited. During the analysis, in the bo om Julia view you can monitor the status of the analysis. It will become green once the analysis will be finished. 5

You can monitor the progresses of the analysis in the console. Navigating the Results At the end of the analysis, the view Julia Analyses will show the results. In par cular, in the le part you can access the list of analyses you ran. Once chosen one of them, the central part of the view will display all the warnings in a tree structure. You can then inspect the warnings produced by different checkers, on different packages, etc If you double click on a warning, the line of the source code that produced that warning is displayed. Finally, the right part of the Julia analyses panel shows the details of the warning. The Eclipse code editor contains markers on the le bar to iden fy the code lines that raised a warning. Different colors represent different severi es (red for high, yellow for medium, and green for low severity). You can decide to group the warnings in the central panel of the Julia view in different ways. Just click and a dialog showing all the grouping possibili es will appear. You can decide the order and the types of categories you want to apply to group warnings. 6

The warnings will be then displayed with the new grouping in the central panel. Managing analyses results In the le part of the Julia analyses view, you can select among all the analyses you ran. Each me you click on an analysis, the warnings tree will be loaded, and the markers will be updated to the ones of the selected analysis. If you right click the name of the analysis in the le panel, you can Reload from the server the analysis results. This feature is par cularly useful if you exit the IDE while the analysis is running, and you want to load the results later. In addition, from this drop-down menu you can copy the analysis ID, rename or delete the analysis. You can export the result of the analysis: click and select where to save the.xml file. You can import the results of a completed analysis through 1) an.xml file by clicking and selec ng the file you want to import 2) by clicking Retrieve Analysis from Server from the Julia s Menu bar, and then selec ng the analysis you want to load from the list of the analyses available on server for your current Ac ve Solution. The pdf report of the analysis can be downloaded by clicking Save generated files and then the report you want to download. 7

You can manage the markers from the standard Markers Eclipse view (accessible from Show View of the Window menu bar). From here, you can also delete a marker. This will be removed from the Julia Analyses view as well. Extraction of the application under analysis The Julia analyzer computes a set of methods and constructors that are assumed to be callable from the user of the program under analysis. They are called entry points. This means that the sta c analysis is performed as if the entry points were the only methods that can be called from the user of the code. Of course, if the entry points call other methods, these other methods are analyzed as well, and so on. Julia selects the set of entry points according to three possible alternatives: 1. Only main. With this modality, Julia automa cally selects as entry points the main() methods and all methods that override a library method, such as run() methods of threads or equals() methods. This also includes event handlers of Swing or Android. Moreover, entry points explicitly marked as such by the programmer are considered. 2. All public entries. With this modality, Julia automa cally selects as entry points those selected with the previous modality, plus all public methods and constructors. 3. All accessible. With this modality, Julia behaves as in the previous modality but assumes that non-final methods can be redefined in subclasses. This allows one to analyze classes that are expected to be subclassed by the user of the code. Note, however, that this reduces the precision of the analysis, since most data flow inferences cannot be performed anymore (the code might change its behavior by subclassing). Julia Java Project Wizard The Eclipse plugin of Julia comes with a project wizard that helps during the crea on of a java project that acts as container for third-party classes and sources that you would like to put under analysis. 8

Open the Eclipse New Wizard window (Ctrl + N) and select Julia Java Project from the list, then click "Next" Fill the Project Name text and op onally specify a different location for the project, then click "Next" Select the folder for classes and op onally the folder for sources; through the Link classes and Link sources checkboxes you may opt to physically copy classes and/or sources within your project or just link them. Moreover, if your classes and sources come from the same folder, you just have to select Sources and classes share the same path once entered classes path. Finally click "Finish" 9

If specified paths really contain expected resources, you will find the new project within the Eclipse workspace; in this example, the sources folder has been created as a link folder Note that projects created through this wizard has inten onally no Java Builder associated, therefore no compila on phase will ever be involved le ng class files stay unaltered. 10