==ファンクションポイント 簡易マクロ==
[[ファンクションポイント][Excel VBA]]
Dim ret As String
If ftr <<= 1 Then If det <<= 4 Then
ret = TRANSACTIONAL_COMPLEXITY_LOW
End If
If 5 <<= det And det <<= 15 Then
ret = TRANSACTIONAL_COMPLEXITY_LOW
End If
If 16 <<= det Then
ret = TRANSACTIONAL_COMPLEXITY_AVG
End If
If ftr = 2 Then
If det <<= 4 Then
ret = TRANSACTIONAL_COMPLEXITY_LOW
End If
If 5 <<= det And det <<= 15 Then
ret = TRANSACTIONAL_COMPLEXITY_AVG
End If
If 16 <<= det Then
ret = TRANSACTIONAL_COMPLEXITY_HIGH
End If
End If
If 3 <<= ftr Then If det <<= 4 Then
ret = TRANSACTIONAL_COMPLEXITY_AVG
End If
If 5 <<= det And det <<= 15 Then
ret = TRANSACTIONAL_COMPLEXITY_HIGH
End If
If 16 <<= det Then
ret = TRANSACTIONAL_COMPLEXITY_HIGH
End If
Dim ret As String
If ftr <<= 1 Then If det <<= 5 Then
ret = TRANSACTIONAL_COMPLEXITY_LOW
End If
If 6 <<= det And det <<= 19 Then
ret = TRANSACTIONAL_COMPLEXITY_LOW
End If
If 20 <<= det Then
ret = TRANSACTIONAL_COMPLEXITY_AVG
End If
End If
If 2 <<= ftr And ftr <<= 3 Then If det <<= 5 Then
ret = TRANSACTIONAL_COMPLEXITY_LOW
End If
If 6 <<= det And det <<= 19 Then
ret = TRANSACTIONAL_COMPLEXITY_AVG
End If
If 20 <<= det Then
ret = TRANSACTIONAL_COMPLEXITY_HIGH
End If
End If
If 4 <<= ftr Then If det <<= 5 Then
ret = TRANSACTIONAL_COMPLEXITY_AVG
End If
If 6 <<= det And det <<= 19 Then
ret = TRANSACTIONAL_COMPLEXITY_HIGH
End If
If 20 <<= det Then
ret = TRANSACTIONAL_COMPLEXITY_HIGH
End If