def line_is_fully_commented(self, line, ext):
        flag = False
        if ("java", "js", "c", "cpp", "cc", "scala") in ext:
            if re.match(r"^(\+|\-)(\s*)(/\*)(.*)\*/(\s*)$", line) or \
                    re.match(r"^(\+|\-)(\s*)//", line):
                flag = True
        elif ext in ("py", "rb"):
            if re.match(r"^(\+|\-)(\s*)\#", line):
                flag = True
        elif ext in ("xml", "html"):
            if re.match(r"^(\+|\-)(\s*)(<\!\-\-)(.*)(\-\->)(\s*)$", line):
                flag = True
        elif ext == "sql":
            if re.match(r"^(\+|\-)(\s*)(/\*)(.*)(\*/)(\s*)$", line) or \
                    re.match(r"^(\+|\-)(\s*)(\-\-\s)", line):
                flag = True
        elif ext == "php":
            if re.match(r"^(\+|\-)(\s*)(/\*)(.*)\*/(\s*)$", line) or \
                    re.match(r"^(\+|\-)(\s*)//", line) or \
                    re.match(r"^(\+|\-)(\s*)\#", line):
                flag = True
        elif ext == "m":
            if re.match(r'^(\+|\-)(\s*)(%)', line) or \
                    re.match(r"^(\+|\-)(\s*)(%\{)(.*)(%\})(\s*)$", line):
                flag = True
        else:
            self.logger.warning("GitQuerier: impossible to identify comments for extension: " + ext)

        return flag
dataset/ETHPy150Open SOM-Research/Gitana/gitquerier.py/GitQuerier.line_is_fully_commented/swapped operands of `in`