Getting Started


Tutorial :
  • How do I analyze my Java applications using JArchitect?
  • What does the JArchitect report tell me about my code?

  • How do I analyze my Java applications using JArchitect?

    1. Run VisualJArchitect.exe for Windows or, launchVisualJArchitect.sh for linux.

    2. Select the option: Create New Project





    3. Populate the data grid with your projects by using the browse button.
      JArchitect analyze the specified applications kind:
      • jar and war files.
      • Eclipse.
      • Maven.
      • NetBeans.
      • IntelliJ.
      In the case of jar and war analysis you have to specify directories where libs and code source exist, by clicking on "View Folders that contains source code and third party libs" button.
      The easy way is to analyze eclipse, Intellij or Netbeans workspaces and projects, and JArchitect detect all data needed for analysis. And here's files to provide for these projects:
      • Maven: pom.xml
      • Eclipse: .project or workspace directory by using "Add Eclipse Workspace" button.
      • NetBeans: project.properties file
      • IntelliJ:.iml;.ipr files and for directory based project you can choose also workspace.xml from .idea directory.






    4. Click OK.
      Click F5 to analyze your projects and code source by JArchitect.Console.exe.
      This analysis will take a few seconds to a few minutes depending on the size of the projects.





    5. Once the analysis done, the result is displayed in the VisualJArchitect.exe UI.









    What does the JArchitect report tell me about my code?
    • Application Metric: This section gives you an idea of the topology of your application.
    • Project Metric: This section gives you an idea of the size of each project within your application in terms of code line and others metrics.
    • VisualJArchitect View: This section illustrates the size of your projects, namespaces, types and methods in terms of code line. You can browse this view dynamically by clicking the Launch Visual JArchitect on this Project icon in the JArchitect.Project UI.
    • Project Abstracness vs. Instability: This section illustrate the Abstracness/Instability principle explained in the projects metrics section.
    • Project Dependencies: This section shows all dependencies between project of your application in a table.
    • Project Dependency Diagram: This section shows all dependencies between projects of your application in a diagram
    • Project build order: This section gives you one of the possible build order for your projects. If a cycle exists in your projects dependencies graph, this section will report it.
    • CQL Queries and Constraints: This section reports default CQL constraints which have been violated. More about the CQL language and CQL constraints here. You can build your own CQL constraints with VisualJArchitect.
    • Type Metrics: This section recaps type metrics in a table. A link to the documentation is provided for each metric.




Customers



JArchitect accelerate the process of your developement, support and maintenance.

These Cases Studies shows the utility of JArchitect to have a deep view of your architecture, design and implementation.

CQLinq langage provides more flexibility to request code base, so you can customize your analysis and reports .

Home Contact Us SiteMap