Vigilance
A simple tool for enforcing code quality metrics on a codebase
 All Classes Namespaces Files Functions Variables Groups
Complexity Class Reference

A Constraint that enforces a maximum complexity. More...

+ Inheritance diagram for Complexity:

Public Member Functions

def __init__
 
def satisfied_by
 
- Public Member Functions inherited from Constraint
def is_of_type
 Returns whether the Constraint is considered to be of a certain constraint type. More...
 
def satisfied_by
 Returns whether the Constraint is satisfied by some item under coverage. More...
 
def applies_to
 Returns whether the Constraint should be applied to an item under coverage. More...
 

Public Attributes

 maximumComplexity
 

Detailed Description

A Constraint that enforces a maximum complexity.

Constructor & Destructor Documentation

def __init__ (   self,
  maximumComplexity 
)

Member Function Documentation

def satisfied_by (   self,
  item 
)

Member Data Documentation

maximumComplexity

The documentation for this class was generated from the following file: