ctl


https://github.com/back2dos/ctl/

To install, run:

haxelib install ctl 0.1.0 

See using Haxelib in Haxelib documentation for more information.

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>
  }>,
}
Contributors
back2dos
Version
0.1.0
Published
2 months ago
License
MIT

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github