test/lib/syntax/ApacheSyntax.js
Function checkValidity
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkValidity(expression) {
switch (expression.type) {
case 'AssignmentExpression':
expect(expression.left).to.exist;
expect(expression.right).to.exist;