Coverage Report for AHRS_voter

Table of Contents

  1. Analysis Information
  2. Tests
  3. Summary
  4. Details

Analysis Information

Model Information

  Model version   1.69
  Author   bpotter
  Last saved   Wed May 13 16:30:04 2020

Simulation Optimization Options

  Default parameter behavior   inlined
  Block reduction   off
  Conditional branch optimization   on

Coverage Options

  Analyzed model   AHRS_voter
  Logic block short circuiting   off

Blocks Eliminated from Coverage Analysis

# Model Object Rationale
 AHRS_voter/Mid_Value It might not be executed because of Conditional input branch optimization

Tests

Test# Started execution Ended execution Description
Test 1 30-Jun-2020 13:23:18 30-Jun-2020 13:23:59 This model represents a flight control system for a helicopter that controls pitch attitude, roll attitude and yaw rate based on pilot inputs from the cyclic and pedals. The flight control computer also closes the loop on three hydrualic actuators and has sensor inputs from three Attitude/Heading Reference Systems.

Summary

Model Hierarchy/Complexity Test 1  
Decision Execution  
1. AHRS_voter 18 11%
   
78%
   
 
2. . . . Avg_Value 4 50%
   
100%
   
 
3. . . . Mid_Value 6 0%
   
0%
   
 
4. . . . Single_Value 4 50%
   
100%
   
 

Details

1. Model "AHRS_voter"

Child Systems: Avg_Value,  Mid_Value,  Single_Value

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 18
Decision NA 11% (7/61) decision outcomes
Execution NA 78% (14/18) objective outcomes

   MultiPortSwitch block "MultiportSwitch"

Justify or Exclude
Parent: /AHRS_voter
Uncovered Links:  Next uncovered object

Metric Coverage
Cyclomatic Complexity 3
Decision 25% (1/4) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  integer input value  25%
      = 0 (output is from input port 0) 30001/30001
      = 1 (output is from input port 1) 0/30001
      = 2 (output is from input port 2) 0/30001
      = *,3 (output is from input port 3) 0/30001

   Full Coverage

Model Object Metric
Sum block "Sum" Execution
Constant block "Constant" Execution

2. SubSystem block "Avg_Value"

Justify or Exclude
Parent: /AHRS_voter

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 4
Decision NA 50% (3/6) decision outcomes
Execution NA 100% (6/6) objective outcomes

   Switch block "Switch"

Justify or Exclude
Parent: AHRS_voter/Avg_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 50% (1/2) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  logical trigger input  50%
      false (output is from 3rd input port) 30001/30001
      true (output is from 1st input port) 0/30001

   Switch block "Switch1"

Justify or Exclude
Parent: AHRS_voter/Avg_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 50% (1/2) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  logical trigger input  50%
      false (output is from 3rd input port) 30001/30001
      true (output is from 1st input port) 0/30001

   Switch block "Switch2"

Justify or Exclude
Parent: AHRS_voter/Avg_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 50% (1/2) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  logical trigger input  50%
      false (output is from 3rd input port) 30001/30001
      true (output is from 1st input port) 0/30001

   Full Coverage

Model Object Metric
Gain block "Gain" Execution
Sum block "Sum" Execution
Constant block "Constant" Execution

3. SubSystem block "Mid_Value"

Justify or Exclude
Parent: /AHRS_voter

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 6
Decision NA 0% (0/45) decision outcomes
Execution NA 0% (0/4) objective outcomes

   MinMax block "MinMax"

Justify or Exclude
Parent: AHRS_voter/Mid_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 0% (0/10) decision outcomes
Execution 0% (0/1) objective outcomes
  Decisions analyzed
  Logic to determine output element 1  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 2  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 3  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 4  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 5  0%
      input 1 is the minimum --
      input 2 is the minimum --

   MinMax block "MinMax1"

Justify or Exclude
Parent: AHRS_voter/Mid_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 0% (0/10) decision outcomes
Execution 0% (0/1) objective outcomes
  Decisions analyzed
  Logic to determine output element 1  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 2  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 3  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 4  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 5  0%
      input 1 is the minimum --
      input 2 is the minimum --

   MinMax block "MinMax2"

Justify or Exclude
Parent: AHRS_voter/Mid_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 0% (0/10) decision outcomes
Execution 0% (0/1) objective outcomes
  Decisions analyzed
  Logic to determine output element 1  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 2  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 3  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 4  0%
      input 1 is the minimum --
      input 2 is the minimum --
  Logic to determine output element 5  0%
      input 1 is the minimum --
      input 2 is the minimum --

   MinMax block "MinMax3"

Justify or Exclude
Parent: AHRS_voter/Mid_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 2
Decision 0% (0/15) decision outcomes
Execution 0% (0/1) objective outcomes
  Decisions analyzed
  Logic to determine output element 1  0%
      input 1 is the maximum --
      input 2 is the maximum --
      input 3 is the maximum --
  Logic to determine output element 2  0%
      input 1 is the maximum --
      input 2 is the maximum --
      input 3 is the maximum --
  Logic to determine output element 3  0%
      input 1 is the maximum --
      input 2 is the maximum --
      input 3 is the maximum --
  Logic to determine output element 4  0%
      input 1 is the maximum --
      input 2 is the maximum --
      input 3 is the maximum --
  Logic to determine output element 5  0%
      input 1 is the maximum --
      input 2 is the maximum --
      input 3 is the maximum --

4. SubSystem block "Single_Value"

Justify or Exclude
Parent: /AHRS_voter

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 4
Decision NA 50% (3/6) decision outcomes
Execution NA 100% (5/5) objective outcomes

   Switch block "Switch"

Justify or Exclude
Parent: AHRS_voter/Single_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 50% (1/2) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  logical trigger input  50%
      false (output is from 3rd input port) 30001/30001
      true (output is from 1st input port) 0/30001

   Switch block "Switch1"

Justify or Exclude
Parent: AHRS_voter/Single_Value
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 50% (1/2) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  logical trigger input  50%
      false (output is from 3rd input port) 30001/30001
      true (output is from 1st input port) 0/30001

   Switch block "Switch2"

Justify or Exclude
Parent: AHRS_voter/Single_Value
Uncovered Links:  Previous uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 50% (1/2) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  logical trigger input  50%
      false (output is from 3rd input port) 30001/30001
      true (output is from 1st input port) 0/30001

   Full Coverage

Model Object Metric
Sum block "Sum" Execution
Constant block "Constant" Execution