What about use a template language as ctemplate for reporters ?It emphasizes separating logic from presentation.
+ it will allow modifying/adding new reporting mode without coding.
+ one code for several output.
- It is not "interactive", so only useful for final output.
- it is a new dependency.
I already used ctemplate for one of my project (with only one output in my case).
--
You received this message because you are subscribed to the Google Groups "OCLint Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to oclint-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
A very good suggestion!
I already used ctemplate for one of my project (with only one output in my case).Is this project open sourced that I can take a look at? Thanks.
Looks like with ctemplate, we can even support a much richer HTML reporter easily in addition to what we have today.
Question, is the .tpl file converted into binary during project compilation time? Or it feels like a plugin, that even new custom templates can be added in runtime?
ccccc is a good project (except the GPL v3 license, XP), I hope to work together with you to have some cool metrics in OCLint as well. ;)
Hi Joris,I would suggest to put this on hold for now. We might be able to come up with something simpler just for templates without depending on another library.
--