Coverage Report for Frame_EV3C_ec

Table of Contents

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

Analysis Information

Model Information

  Model version   1.2
  Author   KSchmidt
  Last saved   Tue Oct 29 09:44:04 2019

Simulation Optimization Options

  Default parameter behavior   tunable
  Block reduction   off
  Conditional branch optimization   off

Coverage Options

  Analyzed model   Frame_EV3C_ec
  Logic block short circuiting   off

Tests

Test# Description Started execution Ended execution
Test 1 TSeq005 Position calculation 29-Oct-2019 09:44:05 29-Oct-2019 09:44:07 29-Oct-2019 09:44:07

Summary

Model Hierarchy/Complexity Test 1  
Decision Condition TBL Execution  
1. Frame_EV3C_ec 67 68%
   
58%
   
20%
   
93%
   
 
2. . . . EV3Control 66 68%
   
58%
   
20%
   
89%
   
 
3. . . . . . . EmergencyStopSwitch 4 50%
   
NA NA 100%
   
 
4. . . . . . . SensorDataPreprocessing   NA NA NA 100%
   
 
5. . . . . . . VehicleManager 62 70%
   
58%
   
20%
   
87%
   
 
6. . . . . . . . . . GyroInitialization   NA 50%
   
NA 100%
   
 
7. . . . . . . . . . ManageVehicleStates 22 72%
   
50%
   
NA 100%
   
 
8. . . . . . . . . . . . . Chart 21 71%
   
50%
   
NA NA  
9. . . . . . . . . . . . . . . . SF: EV3Control/VehicleManager/ManageVehicleStates/Chart 20 71%
   
50%
   
NA NA  
10. . . . . . . . . . . . . . . . . . . SF: VehicleControlOn 8 75%
   
NA NA NA  
11. . . . . . . . . . . . . . . . . . . . . . SF: ManualDrive 4 75%
   
NA NA NA  
12. . . . . . . . . . . . . HoldAfterTouch 1 100%
   
NA NA 100%
   
 
13. . . . . . . . . . VehicleControl 40 68%
   
71%
   
20%
   
84%
   
 
14. . . . . . . . . . . . . HornControl 1 50%
   
NA NA 100%
   
 
15. . . . . . . . . . . . . StatusLightControl 5 75%
   
NA NA 82%
   
 
16. . . . . . . . . . . . . . . . StatusLightCtrlOff   NA NA NA 100%
   
 
17. . . . . . . . . . . . . . . . StatusLightDefault   NA NA NA 100%
   
 
18. . . . . . . . . . . . . . . . StatusLightEmergency   NA NA NA 0%
   
 
19. . . . . . . . . . . . . . . . StatusLightIdle   NA NA NA 100%
   
 
20. . . . . . . . . . . . . . . . StatusLightObstacle   NA NA NA 0%
   
 
21. . . . . . . . . . . . . SteeringControl 27 64%
   
60%
   
20%
   
80%
   
 
22. . . . . . . . . . . . . . . . AutoSteering 18 63%
   
50%
   
20%
   
79%
   
 
23. . . . . . . . . . . . . . . . . . . EstimatedSteeringAngle   NA NA 20%
   
100%
   
 
24. . . . . . . . . . . . . . . . . . . PathFollower 10 55%
   
NA NA 92%
   
 
25. . . . . . . . . . . . . . . . . . . . . . FollowTheCarrotAlgorithm 2 0%
   
NA NA NA  
26. . . . . . . . . . . . . . . . . . . . . . . . . GetGoalPointLocal 2 0%
   
NA NA NA  
27. . . . . . . . . . . . . . . . . . . . . . . . . . . . FollowTheCarrotAlgorithm 2 0%
   
NA NA NA  
28. . . . . . . . . . . . . . . . . . . . . . NoPathFollowing   NA NA NA 0%
   
 
29. . . . . . . . . . . . . . . . . . . . . . PurePursuitAlgorithm 2 100%
   
NA NA 100%
   
 
30. . . . . . . . . . . . . . . . . . . . . . . . . ComputeSteeringNecessarySteeringAngle   NA NA NA 100%
   
 
31. . . . . . . . . . . . . . . . . . . . . . . . . GetGoalPointLocal 2 100%
   
NA NA NA  
32. . . . . . . . . . . . . . . . . . . . . . . . . . . . TransformGoalPointToLocal 2 100%
   
NA NA NA  
33. . . . . . . . . . . . . . . . . . . . . . RotationMatrix 2 100%
   
NA NA NA  
34. . . . . . . . . . . . . . . . . . . . . . . . . MATLAB_Function 2 100%
   
NA NA NA  
35. . . . . . . . . . . . . . . . . . . PathPlanner 6 78%
   
NA NA 56%
   
 
36. . . . . . . . . . . . . . . . . . . . . . GetNextGoalPointGlobal 5 86%
   
NA NA 100%
   
 
37. . . . . . . . . . . . . . . . . . . . . . . . . GoalPointGlobal 5 86%
   
NA NA NA  
38. . . . . . . . . . . . . . . . . . . . . . ShiftNextGoalPointGlobal 1 50%
   
NA NA 43%
   
 
39. . . . . . . . . . . . . . . . . . . . . . . . . LateralShift   NA NA NA 20%
   
 
40. . . . . . . . . . . . . . . . . . . . . . . . . NoShift   NA NA NA 100%
   
 
41. . . . . . . . . . . . . . . . . . . SteeringMotorControllerSimple 2 50%
   
50%
   
NA 82%
   
 
42. . . . . . . . . . . . . . . . . . . . . . AutoSteerLeft   NA NA NA 0%
   
 
43. . . . . . . . . . . . . . . . . . . . . . AutoSteerRight   NA NA NA 100%
   
 
44. . . . . . . . . . . . . . . . . . . . . . NoSteer   NA NA NA 0%
   
 
45. . . . . . . . . . . . . . . . ManualSteering 8 60%
   
67%
   
NA 80%
   
 
46. . . . . . . . . . . . . . . . . . . NoSteer 2 100%
   
NA NA 100%
   
 
47. . . . . . . . . . . . . . . . . . . SteerLeft 2 50%
   
NA NA 0%
   
 
48. . . . . . . . . . . . . . . . . . . SteerRight 2 50%
   
NA NA 0%
   
 
49. . . . . . . . . . . . . VelocityControl 7 80%
   
100%
   
NA 100%
   
 
50. . . . . . . . . . . . . . . . EnabledDriveController 3 100%
   
100%
   
NA 100%
   
 
51. . . . . . . . . . . . . . . . . . . Compare_To_Zero   NA 100%
   
NA 100%
   
 
52. . . . . . . . . . . . . . . . NoInput 2 100%
   
NA NA 100%
   
 
53. . . . Input Bus   NA NA NA 100%
   
 
54. . . . TestData   NA NA NA 100%
   
 
55. . . . TestOutput   NA NA NA 100%
   
 

Details

1. Model "Frame_EV3C_ec"

Child Systems: EV3Control,  Input Bus,  TestData,  TestOutput

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 67
Condition NA 58% (22/38) condition outcomes
Decision NA 68% (68/100) decision outcomes
Lookup Table NA 20% (1/5)interpolation/extrapolation intervals
Execution NA 93% (138/149) objective outcomes

   Full Coverage

Model Object Metric
DataTypeConversion block "DataTypeConversion_Input1" Execution
DataTypeConversion block "DataTypeConversion_Input2" Execution
DataTypeConversion block "DataTypeConversion_Input3" Execution
DataTypeConversion block "DataTypeConversion_Input4" Execution
DataTypeConversion block "DataTypeConversion_Input5" Execution
DataTypeConversion block "DataTypeConversion_Input6" Execution
DataTypeConversion block "DataTypeConversion_Input7" Execution
DataTypeConversion block "DataTypeConversion_Output1" Execution
DataTypeConversion block "DataTypeConversion_Output10" Execution
DataTypeConversion block "DataTypeConversion_Output11" Execution
DataTypeConversion block "DataTypeConversion_Output12" Execution
DataTypeConversion block "DataTypeConversion_Output2" Execution
DataTypeConversion block "DataTypeConversion_Output3" Execution
DataTypeConversion block "DataTypeConversion_Output4" Execution
DataTypeConversion block "DataTypeConversion_Output5" Execution
DataTypeConversion block "DataTypeConversion_Output6" Execution
DataTypeConversion block "DataTypeConversion_Output7" Execution
DataTypeConversion block "DataTypeConversion_Output8" Execution
DataTypeConversion block "DataTypeConversion_Output9" Execution
ZeroOrderHold block "ZeroOrderHold1" Execution
ZeroOrderHold block "ZeroOrderHold2" Execution
ZeroOrderHold block "ZeroOrderHold3" Execution
ZeroOrderHold block "ZeroOrderHold4" Execution
ZeroOrderHold block "ZeroOrderHold5" Execution
ZeroOrderHold block "ZeroOrderHold6" Execution
ZeroOrderHold block "ZeroOrderHold7" Execution

2. SubSystem block "EV3Control"

Justify or Exclude
Parent: /Frame_EV3C_ec
Child Systems: EmergencyStopSwitch,  SensorDataPreprocessing,  VehicleManager

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 66
Condition NA 58% (22/38) condition outcomes
Decision NA 68% (68/100) decision outcomes
Lookup Table NA 20% (1/5)interpolation/extrapolation intervals
Execution NA 89% (92/103) objective outcomes

3. SubSystem block "EmergencyStopSwitch"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 4
Decision NA 50% (4/8) decision outcomes
Execution NA 100% (10/10) objective outcomes

   Switch block "Switch1"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/EmergencyStopSwitch
Uncovered Links:  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) 165/165
      true (output is from 1st input port) 0/165

   Switch block "Switch2"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/EmergencyStopSwitch
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) 165/165
      true (output is from 1st input port) 0/165

   Switch block "Switch3"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/EmergencyStopSwitch
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) 165/165
      true (output is from 1st input port) 0/165

   Switch block "Switch4"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/EmergencyStopSwitch
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) 165/165
      true (output is from 1st input port) 0/165

   Full Coverage

Model Object Metric
DataTypeConversion block "defInt" Execution
BusCreator block "Bus Creator" Execution
Constant block "Constant" Execution
Constant block "Constant1" Execution
Constant block "Constant2" Execution
Constant block "Constant3" Execution

4. SubSystem block "SensorDataPreprocessing"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (9/9) objective outcomes

   Full Coverage

Model Object Metric
DataTypeConversion block "Data Type Conversion" Execution
Gain block "Gain" Execution
Gain block "Gain1" Execution
Gain block "Gain2" Execution
Gain block "Gain3" Execution
Gain block "Gain4" Execution
Gain block "Gain5" Execution
Product block "conv2rad" Execution
Constant block "deg2rad" Execution

5. SubSystem block "VehicleManager"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control
Child Systems: GyroInitialization,  ManageVehicleStates,  VehicleControl

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 62
Condition NA 58% (22/38) condition outcomes
Decision NA 70% (64/92) decision outcomes
Lookup Table NA 20% (1/5)interpolation/extrapolation intervals
Execution NA 87% (73/84) objective outcomes

   Full Coverage

Model Object Metric
DataTypeConversion block "Data Type Conversion" Execution
DataTypeConversion block "Data Type Conversion1" Execution
ModelReference block "ObstacleDetection" Execution

6. SubSystem block "GyroInitialization"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Condition NA 50% (8/16) condition outcomes
Execution NA 100% (9/9) objective outcomes

   Logic block "Logical Operator1"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/GyroInitialization
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (4/8) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input port 1  165 
  input port 2  165 
  input port 3  165 
  input port 4  165 

   RelationalOperator block "Relational Operator"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/GyroInitialization
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (1/2) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input1 == input2  165 

   RelationalOperator block "Relational Operator1"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/GyroInitialization
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (1/2) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input1 == input2  165 

   RelationalOperator block "Relational Operator2"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/GyroInitialization
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (1/2) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input1 == input2  165 

   RelationalOperator block "Relational Operator3"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/GyroInitialization
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (1/2) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input1 == input2  165 

   Full Coverage

Model Object Metric
Constant block "Constant" Execution
UnitDelay block "Unit Delay" Execution
UnitDelay block "Unit Delay1" Execution
UnitDelay block "Unit Delay2" Execution

7. SubSystem block "ManageVehicleStates"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager
Child Systems: Chart,  HoldAfterTouch

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 22
Condition NA 50% (4/8) condition outcomes
Decision NA 72% (26/36) decision outcomes
Execution NA 100% (4/4) objective outcomes

   Full Coverage

Model Object Metric
BusCreator block "Bus Creator" Execution

8. SubSystem block "Chart"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates
Child Systems: EV3Control/VehicleManager/ManageVehicleStates/Chart

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 21
Condition NA 50% (4/8) condition outcomes
Decision NA 71% (24/34) decision outcomes

9. Chart "EV3Control/VehicleManager/ManageVehicleS..."

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart
Child Systems: VehicleControlOn
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 3 20
Condition NA 50% (4/8) condition outcomes
Decision 75% (3/4) decision outcomes 71% (24/34) decision outcomes
  Decisions analyzed
  Substate executed  75%
      State "EmergencyStop" 0/164
      State "VehicleControlOff" 41/164
      State "VehicleControlOn" 103/164
      State "VehicleIdle" 20/164

   Transition "[gyroReady == true && ... remoteControl..." from "VehicleControlOff" to "VehicleIdle"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 2
Condition 75% (3/4) condition outcomes
Decision 100% (2/2) decision outcomes
1  [gyroReady == true && ... 
2  remoteControl ~= REMOTE_STOP]

#1: [gyroReady == true && ...

  Decisions analyzed
  gyroReady == true && ... remoteControl ~= REMOTE_STOP  100%
      false 39/40
      true 1/40

  Conditions analyzed
Description True False
  gyroReady == true  40 

   Full Coverage

Model Object Metric
#2: remoteControl ~= REMOTE_STOP] Condition


   Transition "[emergencyStopObstacle == true && ... r..." from "VehicleControlOn" to "EmergencyStop"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 2
Condition 25% (1/4) condition outcomes
Decision 50% (1/2) decision outcomes
1  [emergencyStopObstacle == true && ...
2   remoteControl ~= REMOTE_DRIVE_REV]

#1: [emergencyStopObstacle == true && ...

  Decisions analyzed
  emergencyStopObstacle == true && ... remoteControl ~= REMOTE_DRIVE_REV  50%
      false 102/102
      true 0/102

  Conditions analyzed
Description True False
  emergencyStopObstacle == true 
102 

#2: remoteControl ~= REMOTE_DRIVE_REV]


  Conditions analyzed
Description True False
  remoteControl ~= REMOTE_DRIVE_REV 


   Transition "[remoteControl == REMOTE_STOP]" from "EmergencyStop" to "VehicleControlOff"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 0% (0/2) decision outcomes
1  [remoteControl == REMOTE_STOP]

#1: [remoteControl == REMOTE_STOP]

  Decisions analyzed
  remoteControl == REMOTE_STOP  0%
      false --
      true --


   Transition "[remoteControl == REMOTE_DRIVE_REV]" from "EmergencyStop" to "VehicleControlOn"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 0% (0/2) decision outcomes
1  [remoteControl == REMOTE_DRIVE_REV]

#1: [remoteControl == REMOTE_DRIVE_REV]

  Decisions analyzed
  remoteControl == REMOTE_DRIVE_REV  0%
      false --
      true --


   Full Coverage

Model Object Metric
Transition "[remoteControl == REMOTE_STOP]" from "VehicleControlOn" to "VehicleControlOff" Decision
Transition "[remoteControl == REMOTE_START]" from "VehicleIdle" to "VehicleControlOn" Decision
Transition "[remoteControl == REMOTE_START]" from "VehicleControlOff" to "VehicleControlOn" Decision

10. State "VehicleControlOn"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart
Child Systems: ManualDrive
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 2 8
Decision 75% (3/4) decision outcomes 75% (12/16) decision outcomes
  Decisions analyzed
  Substate executed  100%
      State "ControlledDrive" 9/102
      State "ManualDrive" 93/102
  Substate exited when parent exits  50%
      State "ControlledDrive" 1/1
      State "ManualDrive" 0/1

   Transition "[remoteControl == REMOTE_DRIVE_AUTO_OFF]" from "ControlledDrive" to "ManualDrive"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart.VehicleControlOn
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 50% (1/2) decision outcomes
1  [remoteControl == REMOTE_DRIVE_AUTO_OFF]

#1: [remoteControl == REMOTE_DRIVE_AUTO_OFF]

  Decisions analyzed
  remoteControl == REMOTE_DRIVE_AUTO_OFF  50%
      false 9/9
      true 0/9


   Full Coverage

Model Object Metric
Transition "[remoteControl == REMOTE_DRIVE_AUTO_ON]" from "ManualDrive" to "ControlledDrive" Decision

11. State "ManualDrive"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart.VehicleControlOn
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 2 4
Decision 75% (3/4) decision outcomes 75% (6/8) decision outcomes
  Decisions analyzed
  Substate executed  100%
      State "FWD" 81/92
      State "REV" 11/92
  Substate exited when parent exits  50%
      State "FWD" 0/1
      State "REV" 1/1

   Transition "[remoteControl == REMOTE_DRIVE_FWD]" from "REV" to "FWD"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates/Chart.VehicleControlOn.ManualDrive
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 50% (1/2) decision outcomes
1  [remoteControl == REMOTE_DRIVE_FWD]

#1: [remoteControl == REMOTE_DRIVE_FWD]

  Decisions analyzed
  remoteControl == REMOTE_DRIVE_FWD  50%
      false 11/11
      true 0/11


   Full Coverage

Model Object Metric
Transition "[remoteControl == REMOTE_DRIVE_REV]" from "FWD" to "REV" Decision

12. SubSystem block "HoldAfterTouch"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/ManageVehicleStates

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

   Full Coverage

Model Object Metric
Switch block "holdSwitch" Decision, Execution
DataTypeConversion block "DataTypeConversion" Execution
UnitDelay block "Unit Delay" Execution

13. SubSystem block "VehicleControl"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager
Child Systems: HornControl,  StatusLightControl,  SteeringControl,  VelocityControl

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 40
Condition NA 71% (10/14) condition outcomes
Decision NA 68% (38/56) decision outcomes
Lookup Table NA 20% (1/5)interpolation/extrapolation intervals
Execution NA 84% (57/68) objective outcomes

   Full Coverage

Model Object Metric
ModelReference block "GlobalPosition" Execution

14. SubSystem block "HornControl"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl

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

   If block "IfObstacleDetected"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/HornControl
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
  input logical value  50%
      false 165/165
      true 0/165

   Full Coverage

Model Object Metric
Constant block "Constant1" Execution
Constant block "Constant2" Execution
Constant block "Constant3" Execution

15. SubSystem block "StatusLightControl"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl
Child Systems: StatusLightCtrlOff,  StatusLightDefault,  StatusLightEmergency,  StatusLightIdle,  StatusLightObstacle

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 5
Decision NA 75% (6/8) decision outcomes
Execution NA 82% (9/11) objective outcomes

   If block "IfLightInput"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/StatusLightControl
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 4
Decision 75% (6/8) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  input 1 "if" condition  50%
      false 165/165
      true 0/165
  input 2 "elseif" condition  50%
      false 165/165
      true 0/165
  input 3 "elseif" condition  100%
      false 145/165
      true 20/165
  input 4 "elseif" condition  100%
      false 104/145
      true 41/145

   Full Coverage

Model Object Metric
Constant block "Constant1" Execution
Constant block "Constant2" Execution
Constant block "Constant3" Execution
Constant block "Constant4" Execution
Constant block "Constant5" Execution

16. SubSystem block "StatusLightCtrlOff"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/StatusLightControl

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (1/1) objective outcomes

   Full Coverage

Model Object Metric
Gain block "Gain" Execution

17. SubSystem block "StatusLightDefault"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/StatusLightControl

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (1/1) objective outcomes

   Full Coverage

Model Object Metric
Gain block "Gain" Execution

18. SubSystem block "StatusLightEmergency"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/StatusLightControl

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 0% (0/1) objective outcomes

   Gain block "Gain"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/StatusLightControl/StatusLightEmergency
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

19. SubSystem block "StatusLightIdle"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/StatusLightControl

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (1/1) objective outcomes

   Full Coverage

Model Object Metric
Gain block "Gain" Execution

20. SubSystem block "StatusLightObstacle"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/StatusLightControl

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 0% (0/1) objective outcomes

   Gain block "Gain"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/StatusLightControl/StatusLightObstacle
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

21. SubSystem block "SteeringControl"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl
Child Systems: AutoSteering,  ManualSteering

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 27
Condition NA 60% (6/10) condition outcomes
Decision NA 64% (23/36) decision outcomes
Lookup Table NA 20% (1/5)interpolation/extrapolation intervals
Execution NA 80% (36/45) objective outcomes

   Full Coverage

Model Object Metric
If block "IfStrnCtrl" Decision, Execution

22. SubSystem block "AutoSteering"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl
Child Systems: EstimatedSteeringAngle,  PathFollower,  PathPlanner,  SteeringMotorControllerSimple

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 18
Condition NA 50% (2/4) condition outcomes
Decision NA 63% (15/24) decision outcomes
Lookup Table NA 20% (1/5)interpolation/extrapolation intervals
Execution NA 79% (27/34) objective outcomes

23. SubSystem block "EstimatedSteeringAngle"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Lookup Table NA 20% (1/5)interpolation/extrapolation intervals
Execution NA 100% (2/2) objective outcomes

   Lookup_n-D block "1-D Lookup Table"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/EstimatedSteeringAngle
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Lookup Table 20% (1/5) interpolation/extrapolation intervals
Execution 100% (1/1) objective outcomes

  Look-up Table Details
Interpolation Interval (1)
Region:Extrapolation/Saturation
Interval:X < -235
Execution Counts:0
Break Point #1
Value:Y = -235
Execution Counts:0
Interpolation Interval (2)
Region:Interpolation
Interval:-235 <= X < -150
Execution Counts:0
Break Point #2
Value:Y = -150
Execution Counts:0
Interpolation Interval (3)
Region:Interpolation
Interval:-150 <= X < 150
Execution Counts:10
Break Point #3
Value:Y = 150
Execution Counts:0
Interpolation Interval (4)
Region:Interpolation
Interval:150 < X <= 235
Execution Counts:0
Break Point #4
Value:Y = 235
Execution Counts:0
Interpolation Interval (5)
Region:Extrapolation/Saturation
Interval:X > 235
Execution Counts:0
0
1 - 1
2 - 2
3 - 3
4 - 4
> 4

   Full Coverage

Model Object Metric
DataTypeConversion block "Data Type Conversion" Execution

24. SubSystem block "PathFollower"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering
Child Systems: FollowTheCarrotAlgorithm,  NoPathFollowing,  PurePursuitAlgorithm,  RotationMatrix

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 10
Decision NA 55% (6/11) decision outcomes
Execution NA 92% (11/12) objective outcomes

   If block "IfTrkMethod"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 2
Decision 25% (1/4) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  input 1 "if" condition  50%
      false 0/10
      true 10/10
  input 2 "elseif" condition  0%
      false --
      true --

   Saturate block "Saturation"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 2
Decision 75% (3/4) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  input > lower limit  100%
      false 7/10
      true 3/10
  input >= upper limit  50%
      false 10/10
      true 0/10

   Full Coverage

Model Object Metric
Constant block "Constant1" Execution

25. SubSystem block "FollowTheCarrotAlgorithm"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower
Child Systems: GetGoalPointLocal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 2
Decision NA 0% (0/1) decision outcomes

26. SubSystem block "GetGoalPointLocal"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower/FollowTheCarrotAlgorithm
Child Systems: FollowTheCarrotAlgorithm

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 2
Decision NA 0% (0/1) decision outcomes

27. MATLAB Function "FollowTheCarrotAlgorithm"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower/FollowTheCarrotAlgorithm/GetGoalPointLocal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 2
Decision NA 0% (0/1) decision outcomes

   MATLAB Function "headingToGoalPoint"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower/FollowTheCarrotAlgorithm/GetGoalPointLocal/FollowTheCarrotAlgorithm
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision 0% (0/1) decision outcomes
 1  function [deltaHeadingRad, targetHeadingRad] = headingToGoalPoint(posGlobal, goalPointGlobal, rotMat, gyroAngleRad)
 2     
 3     xaxisCar_g = rotMat * [1; 0];
 4        
 5     vectorToGoalpoint_g = goalPointGlobal - posGlobal;
 6     
 7     crossProd = cross([xaxisCar_g;0], [vectorToGoalpoint_g;0]);
 8     
 9     deltaHeadingRad = acos( dot(xaxisCar_g, vectorToGoalpoint_g) / (norm(xaxisCar_g) * norm(vectorToGoalpoint_g)) ) ...
10        * sign(crossProd(3));
11     
12     targetHeadingRad = (gyroAngleRad + deltaHeadingRad);
13  end
14  
15  

#1: function [deltaHeadingRad, targetHeadingRad] = headingToGoalPoint(posGlobal,...

  Decisions analyzed
  function [deltaHeadingRad, targetHeadingRad] = headingToGoalPoint(posGlobal, goalPointGlobal, rotMat, gyroAngleRad)  0%
      executed --


28. SubSystem block "NoPathFollowing"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 0% (0/1) objective outcomes

   Constant block "Constant"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower/NoPathFollowing
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

29. SubSystem block "PurePursuitAlgorithm"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower
Child Systems: ComputeSteeringNecessarySteeringAngle,  GetGoalPointLocal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 2
Decision NA 100% (1/1) decision outcomes
Execution NA 100% (8/8) objective outcomes

30. SubSystem block "ComputeSteeringNecessarySteeringAngle"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower/PurePursuitAlgorithm

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (8/8) objective outcomes

   Full Coverage

Model Object Metric
Gain block "Gain" Execution
Math block "Math Function" Execution
Math block "Math Function1" Execution
Product block "Divide" Execution
Product block "Divide1" Execution
Constant block "Constant1" Execution
Constant block "Constant2" Execution
Trigonometry block "Trigonometric Function" Execution

31. SubSystem block "GetGoalPointLocal"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower/PurePursuitAlgorithm
Child Systems: TransformGoalPointToLocal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 2
Decision NA 100% (1/1) decision outcomes

32. MATLAB Function "TransformGoalPointToLocal"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower/PurePursuitAlgorithm/GetGoalPointLocal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 2
Decision NA 100% (1/1) decision outcomes

   Full Coverage

Model Object Metric
MATLAB Function "goalpoint_l" Decision

33. SubSystem block "RotationMatrix"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower
Child Systems: MATLAB_Function

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 2
Decision NA 100% (1/1) decision outcomes

34. MATLAB Function "MATLAB_Function"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathFollower/RotationMatrix

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 2
Decision NA 100% (1/1) decision outcomes

   Full Coverage

Model Object Metric
MATLAB Function "rotMat" Decision

35. SubSystem block "PathPlanner"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering
Child Systems: GetNextGoalPointGlobal,  ShiftNextGoalPointGlobal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 6
Decision NA 78% (7/9) decision outcomes
Execution NA 56% (5/9) objective outcomes

36. SubSystem block "GetNextGoalPointGlobal"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner
Child Systems: GoalPointGlobal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 5
Decision NA 86% (6/7) decision outcomes
Execution NA 100% (2/2) objective outcomes

   Full Coverage

Model Object Metric
Constant block "Constant1" Execution
Constant block "Constant2" Execution

37. MATLAB Function "GoalPointGlobal"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/GetNextGoalPointGlobal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 5
Decision NA 86% (6/7) decision outcomes

   MATLAB Function "goalpoint_g"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/GetNextGoalPointGlobal/GoalPointGlobal
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 4
Decision 86% (6/7) decision outcomes
 1  function goalPointGlobal = goalpoint_g(posGlobal, pathCoords, lookahead)
 2  
 3  distances = sqrt( (pathCoords(:,1) - posGlobal(1,1)).^2 + (pathCoords(:,2) - posGlobal(2,1)).^2 );
 4  [~, j] = min(distances); % j equals index to closest waypoint
 5  
 6  % Move up the path from closest waypoint
 7  distToNext = inf;
 8  k = j + 20;
 9  while distToNext > lookahead   
10     if k > size(pathCoords,1)
11        k = size(pathCoords,1);
12     end   
13     k = k - 1;
14     if k <= 0
15        disp(k)
16        k = j;
17        break
18     end
19     distToNext = sqrt( (pathCoords(k,1) - posGlobal(1)).^2 + (pathCoords(k,2) - posGlobal(2)).^2 );
20  end
21  
22  % Goal point in global coordinates
23  goalPointGlobal = pathCoords(k,:)';
24  goalPointGlobal = goalPointGlobal(:);

#14: if k <= 0

  Decisions analyzed
  if k <= 0  50%
      false 103/103
      true 0/103

   Full Coverage

Model Object Metric
#1: function goalPointGlobal = goalpoint_g(posGlobal, pathCoords, lookahead) Decision
#9: while distToNext > lookahead Decision
#10: if k > size(pathCoords,1) Decision


38. SubSystem block "ShiftNextGoalPointGlobal"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner
Child Systems: LateralShift,  NoShift

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 1
Decision NA 50% (1/2) decision outcomes
Execution NA 43% (3/7) objective outcomes

   If block "IfObstacle"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/ShiftNextGoalPointGlobal
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
  input logical value  50%
      false 10/10
      true 0/10

39. SubSystem block "LateralShift"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/ShiftNextGoalPointGlobal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 20% (1/5) objective outcomes

   Product block "Product"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/ShiftNextGoalPointGlobal/LateralShift
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

   Sum block "Add"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/ShiftNextGoalPointGlobal/LateralShift
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

   Signum block "Sign"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/ShiftNextGoalPointGlobal/LateralShift
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

   SignalConversion block "Signal Conversion"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/ShiftNextGoalPointGlobal/LateralShift
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

   Full Coverage

Model Object Metric
Constant block "Constant2" Execution

40. SubSystem block "NoShift"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/PathPlanner/ShiftNextGoalPointGlobal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (1/1) objective outcomes

   Full Coverage

Model Object Metric
Gain block "Gain" Execution

41. SubSystem block "SteeringMotorControllerSimple"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering
Child Systems: AutoSteerLeft,  AutoSteerRight,  NoSteer

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 2
Condition NA 50% (2/4) condition outcomes
Decision NA 50% (2/4) decision outcomes
Execution NA 82% (9/11) objective outcomes

   If block "IfStrnCmd"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/SteeringMotorControllerSimple
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 2
Decision 50% (2/4) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  input 1 "if" condition  50%
      false 10/10
      true 0/10
  input 2 "elseif" condition  50%
      false 0/10
      true 10/10

   RelationalOperator block "Relational Operator"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/SteeringMotorControllerSimple
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (1/2) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input1 > input2 
10 

   RelationalOperator block "Relational Operator1"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/SteeringMotorControllerSimple
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (1/2) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input1 < input2  10 

   Full Coverage

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

42. SubSystem block "AutoSteerLeft"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/SteeringMotorControllerSimple

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 0% (0/1) objective outcomes

   Constant block "Constant2"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/SteeringMotorControllerSimple/AutoSteerLeft
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

43. SubSystem block "AutoSteerRight"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/SteeringMotorControllerSimple

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (1/1) objective outcomes

   Full Coverage

Model Object Metric
Constant block "Constant2" Execution

44. SubSystem block "NoSteer"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/SteeringMotorControllerSimple

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 0% (0/1) objective outcomes

   Constant block "Constant2"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/AutoSteering/SteeringMotorControllerSimple/NoSteer
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

45. SubSystem block "ManualSteering"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl
Child Systems: NoSteer,  SteerLeft,  SteerRight

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 8
Condition NA 67% (4/6) condition outcomes
Decision NA 60% (6/10) decision outcomes
Execution NA 80% (8/10) objective outcomes

   Saturate block "Saturation"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/ManualSteering
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 2
Decision 50% (2/4) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  input > lower limit  50%
      false 0/155
      true 155/155
  input >= upper limit  50%
      false 155/155
      true 0/155

   RelationalOperator block "Relational Operator"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/ManualSteering
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (1/2) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input1 == input2 
155 

   RelationalOperator block "Relational Operator1"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/ManualSteering
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Condition 50% (1/2) condition outcomes
Execution 100% (1/1) objective outcomes

  Conditions analyzed
Description True False
  input1 == input2 
155 

   Full Coverage

Model Object Metric
RelationalOperator block "Relational Operator2" Condition, Execution
Constant block "Constant" Execution
Constant block "Constant1" Execution
Constant block "Constant2" Execution

46. SubSystem block "NoSteer"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/ManualSteering

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 2 2
Decision 100% (2/2) decision outcomes 100% (2/2) decision outcomes
Execution NA 100% (1/1) objective outcomes
  Decisions analyzed
  enable logical value  100%
      false 134/155
      true 21/155

   Full Coverage

Model Object Metric
Constant block "Constant2" Execution

47. SubSystem block "SteerLeft"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/ManualSteering
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 2 2
Decision 50% (1/2) decision outcomes 50% (1/2) decision outcomes
Execution NA 0% (0/1) objective outcomes
  Decisions analyzed
  enable logical value  50%
      false 155/155
      true 0/155

   Constant block "Constant2"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/ManualSteering/SteerLeft
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

48. SubSystem block "SteerRight"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/ManualSteering
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 2 2
Decision 50% (1/2) decision outcomes 50% (1/2) decision outcomes
Execution NA 0% (0/1) objective outcomes
  Decisions analyzed
  enable logical value  50%
      false 155/155
      true 0/155

   Constant block "Constant2"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/SteeringControl/ManualSteering/SteerRight
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Execution 0% (0/1) objective outcomes

49. SubSystem block "VelocityControl"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl
Child Systems: EnabledDriveController,  NoInput

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 7
Condition NA 100% (4/4) condition outcomes
Decision NA 80% (8/10) decision outcomes
Execution NA 100% (7/7) objective outcomes

   Saturate block "Saturation"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/VelocityControl
Uncovered Links:  Previous uncovered object

Metric Coverage
Cyclomatic Complexity 2
Decision 50% (2/4) decision outcomes
Execution 100% (1/1) objective outcomes
  Decisions analyzed
  input > lower limit  50%
      false 0/165
      true 165/165
  input >= upper limit  50%
      false 165/165
      true 0/165

   Full Coverage

Model Object Metric
Logic block "Logical Operator" Condition, Execution

50. SubSystem block "EnabledDriveController"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/VelocityControl
Child Systems: Compare_To_Zero

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 2 3
Condition NA 100% (2/2) condition outcomes
Decision 100% (2/2) decision outcomes 100% (4/4) decision outcomes
Execution NA 100% (4/4) objective outcomes
  Decisions analyzed
  enable logical value  100%
      false 61/165
      true 104/165

   Full Coverage

Model Object Metric
Switch block "motorSwitch" Decision, Execution
Constant block "Constant1" Execution
Constant block "Constant2" Execution

51. SubSystem block "Compare_To_Zero"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/VelocityControl/EnabledDriveController

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Condition NA 100% (2/2) condition outcomes
Execution NA 100% (1/1) objective outcomes

   Full Coverage

Model Object Metric
RelationalOperator block "Compare" Condition, Execution

52. SubSystem block "NoInput"

Justify or Exclude
Parent: Frame_EV3C_ec/EV3Control/VehicleManager/VehicleControl/VelocityControl

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 2 2
Decision 100% (2/2) decision outcomes 100% (2/2) decision outcomes
Execution NA 100% (1/1) objective outcomes
  Decisions analyzed
  enable logical value  100%
      false 104/165
      true 61/165

   Full Coverage

Model Object Metric
Constant block "Constant1" Execution

53. SubSystem block "Input Bus"

Justify or Exclude
Parent: /Frame_EV3C_ec

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (1/1) objective outcomes

   Full Coverage

Model Object Metric
BusCreator block "sensorBusRaw_bus2" Execution

54. SubSystem block "TestData"

Justify or Exclude
Parent: /Frame_EV3C_ec

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (7/7) objective outcomes

   Full Coverage

Model Object Metric
FromWorkspace block "FromWS_sensorRaw_DriveMotor" Execution
FromWorkspace block "FromWS_sensorRaw_Gyro" Execution
FromWorkspace block "FromWS_sensorRaw_RemoteControl" Execution
FromWorkspace block "FromWS_sensorRaw_SteeringMotor" Execution
FromWorkspace block "FromWS_sensorRaw_UltrasoundFront" Execution
FromWorkspace block "FromWS_sensorRaw_UltrasoundLeft" Execution
FromWorkspace block "FromWS_sensorRaw_UltrasoundRight" Execution

55. SubSystem block "TestOutput"

Justify or Exclude
Parent: /Frame_EV3C_ec

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Execution NA 100% (12/12) objective outcomes

   Full Coverage

Model Object Metric
ToWorkspace block "ToWS_EmergencyStop" Execution
ToWorkspace block "ToWS_VehicleControlOff" Execution
ToWorkspace block "ToWS_VehicleControlOn" Execution
ToWorkspace block "ToWS_VehicleIdle" Execution
ToWorkspace block "ToWS_driveMotor" Execution
ToWorkspace block "ToWS_frequency" Execution
ToWorkspace block "ToWS_posGlobal_1" Execution
ToWorkspace block "ToWS_posGlobal_2" Execution
ToWorkspace block "ToWS_statusLight" Execution
ToWorkspace block "ToWS_steeringAngleCmdRad" Execution
ToWorkspace block "ToWS_steeringMotor" Execution
ToWorkspace block "ToWS_volume" Execution