vigetlabs/grunt-complexity — pull request #30 by davidlinse (2014-06-21 18:56:18+00:00)
Title: Feature support event driven reporter

Add a new reporter that broadcasts the aggregated maintainance-data over
the grunt-event bus. This allows us to write decoupled reporters by listening
to the provided events.

Also introduce a `broadcast` option which can be `true|false`
to _enable/disable_ the broadcasting and is `false` by default.

The dispatched events are:
* grunt-complexity.start
* grunt-complexity.maintainance, payload
* grunt-complexity.finish

```
// Event Payload for `grunt-complexity.maintainance`
{
filepath: /path/to/instrumented/file,
valid: true|false,
maintainability: 123.42
}
```

Let me know what you think..

regards
~david