Difference between revisions of "Globalyzer Lite"

From Lingoport Wiki
Jump to: navigation, search
(Example Project Definition Template)
(Example Project Definition Template)
Line 33: Line 33:
 
Globalyzer Lite makes use of the Globalyzer API. It is a way to use the API without a database, so program executions will be faster. Multiple instances of Globalyzer Lite can be run on the same machine at the same time. Globalyzer Lite lends itself to scripts and automation routines.
 
Globalyzer Lite makes use of the Globalyzer API. It is a way to use the API without a database, so program executions will be faster. Multiple instances of Globalyzer Lite can be run on the same machine at the same time. Globalyzer Lite lends itself to scripts and automation routines.
   
== Example Project Definition Template ==
+
== Project Definition Format==
   
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

Revision as of 20:40, 8 July 2015

Globalyzer Lite is a lightweight version of the Globalyzer Workbench Client. It is smaller and faster to install than the Globalyzer Workbench and requires no database. It is ideal for creating temporary projects and scans on the fly, executing those scans, and generating corresponding reports.

Globalyzer Lite calls the Globalyzer API, but uses an in-memory, temporary database, rather than a physical one. This improves performance and allows multiple Globalyzer Lite programs to be running at the same time. In addition, Globalyzer Lite parses and executes Globalyzer projects that are defined in Globalyzer Project Definition XML files, bypassing the need to create projects and scans using the Globalyzer Workbench, or by writing your own Java program that calls the Globalyzer API.

Getting Started

Globalyzer Lite is a product that requires special licensing. It is delivered in a zip file.

Globalyzer Lite uses a Project Definition file which is an XML file with all the information for creating and scanning a project.

Language Support

Globalyzer Lite supports the same languages as the full Globalyzer product. It allows users to scan a number of source code in different programming languages:

  • ActionScript,
  • C#,
  • C/C++ (many variations),
  • Delphi,
  • HTML (in various web files),
  • Java,
  • JavaScript, (includes AngularJS, NodeJS, and other libraries)
  • Objective-C,
  • MXML,
  • Perl,
  • PHP,
  • Qt,
  • SQL (Oracle, MS SQL, MySQL, PostgreSQL),
  • Visual Basic (Classic, .NET),
  • VBScript, and
  • XML

Globalyzer Lite uses the same rule sets that have been created for Globalyzer so that the reports created in either are identical.

Using Globalyzer Lite

Globalyzer Lite makes use of the Globalyzer API. It is a way to use the API without a database, so program executions will be faster. Multiple instances of Globalyzer Lite can be run on the same machine at the same time. Globalyzer Lite lends itself to scripts and automation routines.

Project Definition Format

  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  <gzproject>
    <login>
       <username></username>
       <password></password>
       <server></server>
       <proxy-user></proxy-user>
       <proxy-password></proxy-password>
       <proxy-host></proxy-host>
       <proxy-port></proxy-port>
    </login>
    <project-path></project-path>
    <project-name></project-name>
    <report-path></report-path>
    <report-type></report-type>
    <scans>
       <scan>
          <scan-name></scan-name>
          <ruleset-name></ruleset-name>
          <ruleset-owner></ruleset-owner>
       </scan>
       <scan>
          <scan-name></scan-name>
          <ruleset-name></ruleset-name>
          <ruleset-owner></ruleset-owner>
          <scan-items>
             <item></item>
             <item></item>
          </scan-items>
       </scan>
    </scans>
 </gzproject>