Analyst4j - Getting Started 1.) Purchase an appropriate Analyst4j license. Subscribe Now 2.) Install Analyst4j After placing the order, you can install Analyst4j plugin by the following methods. 1. Using update site(Recommended). Use Eclipse -> Help -> Software Updates, follow the wizard and enter the following url when asked for 'Update Site URL' http://www.codeswat.com/a4j/update/ 2. Download zip file and unzip the contents into your eclipse installation directory. Download zip file . 3.) Validate Proper Installation 1.) After installation you must be able to see the following menu in Eclipse IDE along with other menu items. 2.) Click on Help --> About Eclipse SDK, to see the Analyst4j feature button along with other features. Click on the Analyst4j - button to see further information about the plugin. Congratulations! you have successfully installed Analyst4j Plugin for Eclipse. 4.) Register & Enter Licensing Information. Follow the process to register and activate your copy of Analyst4j. - Open your Java Project in Eclipse IDE.
- Using the Package Explorer View and Right Click on your Project Node.
- In the Context Menu choose Analyst4j -> Analyze.
- Analyst4j poses a dialog asking you to choose the packages/files you want to analyze.
- Click Finish and let the Analyst4j shows License notice and asks to register or activate your copy of Analyst4j.
-
Click Register and enter your email id which you had provided while purchasing Analyst4j license, and Click" OK" button. If the mail is sent successfully, You shall receive a confirmation message, and you should have the license key within 24hrs, after you receive the license key you can proceed with Step 8. However if Analyst4j is unable to send this email, system displays the following dialog with information which you have to save and send an email to "
This email address is being protected from spam bots, you need Javascript enabled to view it
" manually. - Analyst4j compiles a unique id for your machine and send an email to CodeSWAT.COM.
- Once you receive the license file from CodeSWAT.COM, you have to validate the license information using the following procedure.
In the Analyst4j License Notice window click on "Locate License" button and provide the license file you have received. The system validates the license information and displays a confirmation message. Congratulations Analyst4j is available for use. Refer Product documentation for further help (Eclipse -> Help -> Help Contents -> analyst4j User Guide). 5.)First Analysis Analyst4j has an independent powerful static code analysis engine for Java, it is designed to work on any fragments of Java source files. Create a Java Project in Eclipse JDT environment, import your sources and start analyzing. Works even if there are missing dependencies. It is necessary to analyze your sources to use the features of Analyst4j. To analyze 1.) Bring up the context menu of "Package Explorer View" by right clicking on the <Project> node and choose "Analyst4j->Analyze". 2.) Selective analysis: You can choose to analyze selected files/packages. While analyzing all source is advisable, you may need this feature when you want to eliminate unwanted packages/files such as "unit testing" packages. When you decide your selection, click "Finish" to initiate the analysis. 3.) Upon completion, an overall statistics report is displayed along with time taken and other info. The information would accessible using the menu option "Analyze->View Last Analysis Report". 4.) Now Analyst4j would be ready to answer your queries. 6.)First Search using metrics 1.) To perform a search using software metrics, Choose "Analys4j - Search" or Eclipse "Search" tool bar button to bring up the search dialog. 2.) Create new query Choose "--New Search--" in the combo box labeled "New / Load Search". Choose the "Project To Search" Choose the level of items to search [ Method or Class or File or Package] In the "Custom Search" table, Click on the first row and first column, to avail a drop down of possible measurement of the level chosen. Form your query and press "Search" when done. Analyst4j runs your query against the analyzed data and find the items that matches your query. 7.) First Quality Analysis 1.) Open QA Perspective. Analyst4j Quality Analysis Perspective 2.) Visualize an Analysis. In "Quality Analysis View" of QA Perspective, expand the treeview and choose the analysis (Double Click) to visualize the graph for the analysis. Optionally "Right Click" on the analysis node, brings up a popup menu to choose from the type of chart(usually Line,Scatter,Bar or Pie charts). 3.) List and locate matching cases of an analysis Make sure "QA Cases View" is visible and click on "Graph" to list the cases matching the category / graph element.
|