As per standard Qualtrics feature, respondents are flagged as straight liners considering if 80% from ALL the matrix questions are answered same response. It consider all the matrix questions of the survey.