JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.
7.14. Applying Metrics
Contents
Search
1. Sonargraph's Next Generation - Sonargraph 8
2. Licensing
2.1. Getting an Activation Code or a License
2.2. Activation Code Based Licensing
2.3. Proxy Settings
2.4. License Server Settings
3. Getting Started
3.1. Installation and Updates
3.2. Help
3.3. Editor Preferences
3.4. C++ Configuration
3.4.1. Failed Generated Compiler Definitions
3.5. C# Configuration
3.5.1. C# Build Executor Configuration
3.6. Search Path Configuration
4. Getting Familiar with the Sonargraph System Model
4.1. Physical File Structure
4.2. Language Independent Model
4.3. Language Specific Models
4.3.1. Java Model
4.3.2. C++ Model
4.3.3. C# Model
4.4. Logical Models
4.4.1. System-Based Logical Model
4.4.2. Module-Based Logical Model
5. Creating a System
5.1. Quality Model
5.1.1. Importing a Quality Model
5.1.2. Exporting a Quality Model
6. Adding Content to a System
6.1. Creating or Importing a Java Module
6.1.1. Importing Java Modules Using an Eclipse Workspace
6.1.2. Importing Java Modules from IntelliJ
6.1.3. Importing Java Modules from Maven POM File
6.1.4. Creating a Java Module Manually
6.2. Creating or Importing a C++ Module
6.2.1. Importing C++ Modules from Visual Studio 2010 Files
6.2.2. Importing C++ Modules Using Make Command Capturing Files
6.2.3. Creating a C++ Module Manually
6.3. Creating or Importing a C# Module
6.3.1. Importing C# Modules Using a Visual Studio Project File
6.3.2. Importing C# Modules Using a Visual Studio Solution File
6.3.3. Creating a C# Module Manually
6.3.4. C# Module Configuration
7. Interacting with a System
7.1. User Interface Components
7.1.1. Menu Bar
7.1.2. Tool Bar
7.1.3. Notifications Bar
7.2. Common Interaction Patterns
7.2.1. Special Graphic Elements Decorations
7.3. Sonargraph Workbench
7.4. Navigating through the System Components
7.5. Exploring the System Namespaces
7.6. Managing the System Files
7.7. Managing the Workspace
7.7.1. Definition of Modules and Source Directories
7.7.2. Managing Module Dependencies
7.7.3. Creating Workspace Profiles for Build Environments
7.8. Analyzing Cycles
7.8.1. Revising Cycle Groups
7.8.2. Inspecting Cyclic Elements
7.8.3. Breaking Up Cycles
7.9. Exploring the System
7.9.1. Concepts for System Exploration
7.9.1.1. Focus Modes
7.9.1.2. Applying Focus in Views
7.9.2. Tree Based System Exploration
7.9.2.1. Drilldown
7.9.2.2. Interaction with Auxiliary Views
7.9.2.3. Expand Dependency to Component Level
7.9.2.4. Mark a Selection
7.9.2.5. Context Menu Interactions
7.9.2.6. View Options
7.9.3. Graph Based System Exploration
7.9.3.1. Levels
7.9.3.2. On Demand Cycle Groups
7.9.3.3. Interaction with Auxiliary Views
7.9.3.4. Context Menu Interactions
7.9.3.5. Type Based Graph
7.9.3.6. View Options
7.9.4. Tabular System Exploration
7.9.4.1. Drilldown
7.9.4.2. Interaction with Auxiliary Views
7.9.4.3. Context Menu Interactions
7.10. Searching Elements
7.11. Revising Code Duplicity
7.11.1. Configuration of Duplicate Code Blocks Computation
7.12. Examining the Source Code
7.12.1. Interaction with Auxiliary Views
7.13. Applying Refactorings
7.13.1. Delete refactorings
7.13.2. Move/rename refactorings
7.14. Applying Metrics
7.14.1. Examining Metrics Results
7.14.2. Configuring Metrics Thresholds
7.15. Managing Issues
7.15.1. Examining Issues
7.15.2. Managing Ignore Resolutions
7.15.2.1. Editing Resolutions and Matching Issues
7.15.2.2. Managing Tasks
7.15.2.2.1. Todo Tasks
7.15.2.3. Managing Refactorings
7.15.3. Using Virtual Models for Resolutions
7.16. Analyzing C++ Include Dependencies
7.17. Creating a Report
8. Extending the Static Analysis
8.1. Interaction with Auxiliary Views
8.2. Groovy Scripts From Quality Model
8.3. Creating a new Groovy Script
8.3.1. Default Parameters in a Script
8.3.2. Adding Parameters
8.3.3. Creating Run Configurations
8.4. Editing a Groovy Script
8.4.1. Auto Completion
8.4.2. Compiling a Groovy Script
8.5. Producing Results with Groovy Scripts
8.6. Running a Groovy Script Automatically
8.7. Deleting Groovy Scripts
8.8. Creating Groovy Script Directories
8.9. Deleting a Groovy Script Directory
9. Defining an Architecture
9.1. Components and Artifacts
9.2. Interfaces and Connectors
9.3. Creating Architectural Templates
9.4. Extending Template Based Artifacts
9.5. Extending Interfaces or Connectors
9.6. Restricting Dependency Types
9.7. Connecting Complex Artifacts
9.8. Introducing Connection Schemes
9.9. How to Organize your Code
10. Build Server Integration
11. Metric Definitions
11.1. Language Independent Metrics
11.2. Java Metrics
11.3. C# Metrics
11.4. C/C++ Metrics
12. How to Resolve Issues
12.1. Language Independent Issues
12.1.1. Root path does not exist
12.1.2. Duplicate Code
12.2. Java Specific Issues
12.2.1. Class file is out-of-date
12.3. C# Specific Issues
12.3.1. C# Parsing Errors
12.4. C/C++ Specific Issues
12.4.1. C/C++ Parsing Errors
13. FAQ
13.1. Out Of Memory Exceptions
13.2. Groovy Template
13.3. MSBuild Error (MSB4019) during Analysis of Visual Studio C# Project
14. References
15. Trademark Attributions, Library License Texts, and Source Code
16. Legal Notice
Glossary
1. Walk Through Tutorial (Java)
1.1. Workspace Definition
1.2. Basic Analysis
1.3. Advanced Analysis
1.4. Architecture: Artifacts, Templates and Standard Connections
1.5. Architecture: Explicit Interfaces and Connectors
1.6. Architecture: Advanced Connections
1.7. Architecture: Advanced Templating
1.8. Architecture: Referencing external Artifacts in Templates
1.9. Headless Check with Sonargraph Build
2. Tutorial - Java
2.1. Setup the Software System
2.1.1. Create a new Software System
2.1.2. Define the Workspace
2.1.3. Define Module Dependencies
2.1.4. Parse the Workspace
2.2. Initial Analysis
2.2.1. Detect Problems Using Standard Metrics
2.2.2. Adjust Metric Thresholds
2.3. Problem Analysis
2.3.1. Examine Cycles
2.3.2. Examine Duplicate Code
2.3.3. Handle Issues
2.4. Detailed Dependency Analysis
2.4.1. Explore Dependencies
2.4.2. Check how Elements are Connected via Graph View
2.4.3. Check how Elements are Connected via the Dependencies View
2.4.4. Search for Elements
2.5. Advanced Analysis With Scripts
2.5.1. Create a New Script
2.5.2. Execute Existing Script
2.6. Share Results
2.6.1. Work with Snapshots
2.6.2. Define Quality Standards using Quality Models
2.6.3. Export to Excel
3. Tutorial - C#
3.1. Setup the Software System
3.1.1. Create a new Software System
3.1.2. Configure the Workspace
3.2. Further Steps
4. Tutorial - C++
4.1. Setup the Software System - Makefile Capturing
4.2. Setup the Software System - Visual Studio Import
4.3. Further Steps
5. Sonargraph Script API Documentation
Index
Search
Search Highlighter (On/Off)