ctl 0.1.0

Released 2018-04-06.

To install, run:

haxelib install ctl 0.1.0

See using Haxelib in Haxelib documentation for more information.

Maintainerback2dos
Websitehttps://github.com/back2dos/ctl/
Current version0.1.0
StatisticsInstalled 5 times
LicenseMIT
Tags

README.md

Cytotoxic T cells for your codebase

Usage: -lib ctl

Adding this library to your build will generate DCE reports, i.e. which classes are entirely eliminated, and on partially eliminated classes, which fields are eliminated.

Configuration:

  • -D ctl-skip: Skips reporting. Reporting is also skipped unless you use -dce full.
  • -D ctl-warn: Rather than producing a report, the lib will raise warnings at the relevant types/fields
  • -D ctl-out=<file>: Redirect reporting to file.
  • -D ctl-format=<json|hx>: Outputs as either JSON string or haxe serialized string of type cytotoxic.Data:
package cytotoxic;

typedef Item = {
  name:String,
  pos:String,
}

typedef Data = {
  deadTypes: Array<Item>,
  deadFields: Array<{
    type: Item,
    fields: Array<Item>
  }>,
}