Open elentok opened 11 years ago
It would be possible, but the data would need to be gathered from some as-of-yet-developed tool. What good AST generators are there for coffeescript?
+1 this would be great!
:+1:
+1
Wouldn't be simpler to be agnostic about the compilation tool, just using coffee -c foo.coffee --map
(whether it is redux or the traditional one) to compile coffees to javascript, compute complexity and report files and lines via the source maps?
@undashes that wouldn't leave you with an accurate representation of the complexity of the original CoffeeScript, just the resulting JavaScript which, may or may not be, wildly more or less complex than the CoffeeScript that it represents.
These metrics are valuable for developers, so it is important to be able to run and analyze the source as unmodified as possible.
Mhh, true, it needs to be close to the code. It would not work for JSHint either because coffee-generated JS code is not JSHint compliant (it could use CoffeeLint I guess).
I feels like code analysis is a completely separate layer than the reporting itself (and thus that the project could be agnostic about it, and could almost get backends for anything else than JS and coffee, after all; Python, Ruby...).
+1
+1
+1
:+1:
:+1:
:+1:
+1
:+1:
:+1:
:thumbsup:
+1
+1
+1
+1
+1
:+1:
:+1:
+1
+1 wh00t
:+1:
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
Is there any update on this? I mean, in terms of priorization/milestones.
+1
+1 any update on this?
Hi,
This is an awesome tool, would it be possible to add coffee script support?
Thanks