Skip to content

Reduce Cyclomatic Complexity in Problem Methods #59

Closed
@okolesnyk

Description

@okolesnyk

After attempt of adding PHPMD's to check our code some classes were refactored to reduce Cyclomatic Complexity, but some had a @supressWarnings tag added to them.

AC:

  1. Reduce the Cyclomatic Complexity to <=10 in the following methods:

     - OperationDefinitionObjectHandler::initDataDefinitions()
     - OperationDataArrayResolver::resolveOperationDataArray()
    

Note:
Do not worry about TestGenerator.php, as we have a different issue to completely refactoring its use.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions