codescene-oss / codescene-vscode

VS Code extension providing CodeScene analysis functionality.
Other
19 stars 3 forks source link

Does the plugin send your code to the cloud by default or when not logged in to CodeScene? #28

Open brokenthorn opened 1 year ago

brokenthorn commented 1 year ago

Basically, what I want to ask is: does the plugin send your code to the cloud by default or when not logged in to CodeScene?

This is not clear from the plugin description and while it is advertised as free, nothing is free in life.

Please make this information transparent as this will increase confidence in the product and the company.

Thank you!

emilaasa commented 1 year ago

Thanks for creating an issue!

No code is sent to the CodeScene servers from the extension. When logged in, you're able to connect to your own CodeScene Cloud instance, and retrieve more complex analysis data that's mapped to what's in your editor, like Change Coupling.

Here are the two spots we're sending telemetry from:

https://github.com/codescene-oss/codescene-vscode/blob/913e8253848541e7b1ff6ed8b19b4cc57956aa61/src/extension.ts#L70 https://github.com/codescene-oss/codescene-vscode/blob/913e8253848541e7b1ff6ed8b19b4cc57956aa61/src/extension.ts#L150

It gives us basic usage stats.

I'd be happy to hear (and implement!) any suggestions on how to clearly communicate what's being sent in the extension.