// Rule: TooManyViews // // Description: Checks whether the layout has too many views. // // Conditions: // - The document contains more than 80 views if (xml.isRoot && (size = xml.'**'.size()) > 80) { analysis << "This layout has too many views: ${size} views!" }