JavaScript Studio publicly available
medium.com
medium.com
That wouldn't cover any of the corporate policies I've seen. It's a total no go for companies under government regulation like HIPAA.
Company lawyers will block devs from using your service. IMHO, you have to provide an enterprise version of your platform that can run on in house servers.
Just sell it like JetBrains. Sure home users will pirate it but with IDE's the money is made with companies and enterprise versions anyways.
Businesses put code on Github and Bitbucket all the time.
And why are you putting HIPAA information in your code?!?
(2) Even if it were true, it would only pertain to running your application with PHI.
Your point about corporate policies is right on the mark though. Not many corporations are going to want their code sent to a 3rd party in any form, encrypted or otherwise.
For anything but the smallest of libraries, testing every path through the code would be pretty burdensome to do in the browser on every change. Of course you can do it with the right test plan, but it doesn't take long for a codebase to get large enough to make it difficult to reason about the entire AST. At the very least, it seems like this is a good tool for exposing the blind spots in your testing. :)
function willFail() {
let x = null
console.log(x.method())
}
You can read that this function will throw an exception all the time. But you may never execute this function in your test cases, so you won't see this problem in development but only too late, when a user hits the problem in prod.It is called a static analysis and is 99.9% of the time faster to perform than executing every possible cases of your code. It doesn't catch exactly the same kind of issues either; so both are complementary.
Other analysis tools like JSHint allow you to specify certain globals ($) or that you are in a browser environment with special annotations to handle this situation. I couldn't find anything in their documentation like that.
Ideally all the browser APIs should be supported by the tool without the need to manually declare any globals.
https://developers.google.com/closure/compiler/
(Edit: never mind, it looks like the closure compiler can also be used as a service by posting your javascript to at http://closure-compiler.appspot.com/compile)
Ignore the troll posts, they happen every time a hacker posts news about a project they've launched on Hacker News.
The docs says that it tries to explore all the branches of the AST, isn't that what coverage is doing?
I might be missing something.