sidhant-guliani / script-cover

Automatically exported from code.google.com/p/script-cover
Apache License 2.0
0 stars 0 forks source link

Rarely produces reports #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Visit a page with script-cover installed
2. Click JS icon
3. Note popup: "Please wait..."

What is the expected output? What do you see instead?

I expected some sort of coverage report.  Instead, the best I get is what seems 
like a coverage percentage in the icon and a never ending "please wait" popup.

What version of the product are you using? On what operating system?

commit 67322113de23e4a3266f6475eab3af9a3713f68a
Chromium 15.0.874.21 (Developer Build 0 Linux) 
Linux kernel 3.0

Original issue reported on code.google.com by nya...@gmail.com on 26 Oct 2011 at 9:45

GoogleCodeExporter commented 8 years ago
Does it happen for you all the time when you are trying (and for various web 
pages)? Do you sometimes get a coverage statistics report in popup?

Original comment by ekamensk...@google.com on 27 Oct 2011 at 7:10

GoogleCodeExporter commented 8 years ago
I very rarely get a coverage report - maybe 1 time in 20.  The rest of the 
time, Javascript performance takes a major hit, so I need to disable the 
plugin.  Maybe the button should enable it per page?  Is that possible?

Original comment by nya...@gmail.com on 27 Oct 2011 at 6:41

GoogleCodeExporter commented 8 years ago
I seem to consistently get a percentage.But never a coverage report

Original comment by malini...@gmail.com on 27 Oct 2011 at 10:06

GoogleCodeExporter commented 8 years ago
Malini, that's essentially what I get: a coverage percentage in the icon, but 
only very rarely a coverage report.

Original comment by nya...@gmail.com on 27 Oct 2011 at 11:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks for your reports. 
I have fixed the issue, though I need to make some additional testing. Will 
commit the change on Monday next week. I am sorry for delay.

Original comment by ekamensk...@google.com on 28 Oct 2011 at 11:33

GoogleCodeExporter commented 8 years ago
Could you, please, check that coverage report in Chrome extension popup opens 
fine now? 

You can install new version of ScriptCover extension from:
http://code.google.com/p/script-cover/downloads/detail?name=ScriptCover-1.0.0.1.
crx
The code commit is coming later.

Original comment by ekamensk...@google.com on 31 Oct 2011 at 8:57

GoogleCodeExporter commented 8 years ago
Short answer: this is worse.  There's a coverage percentage, but it doesn't 
seem to change between windows.  The popup still reads "Please, Wait..."

N.b.: the code I am most interested in coverage reports on comes from a 
file:/// link - it's Jasmine tests of a JS library.  Is that a problem for 
ScriptCover?  It's an open source lib, so I'm happy to share the repo with you. 

Also, I'd be willing to dig more into debugging this, if you can give pointers 
about where to look.

Original comment by nya...@gmail.com on 31 Oct 2011 at 9:04

GoogleCodeExporter commented 8 years ago
Please, share the repo with me and also file a separate bug for this case. By 
now Extension is not going to work for file:///. But I should take a look, if 
it's possible to do.

Could you, please, check for http:// (https://) pages? 
I think I fixed the issue that report was not opening in popup very often.

Original comment by ekamensk...@google.com on 1 Nov 2011 at 5:11

GoogleCodeExporter commented 8 years ago
Code coverage never worked for me, all pages are really slow with this 
extension enabled. Also the extensione crash after a while.

I'm using version 1.0.0.1

Original comment by gianmarco.gherardi on 1 Nov 2011 at 2:03

GoogleCodeExporter commented 8 years ago
I think in 1.0.0.1 I fixed the issue of popup not opening in most of the times, 
and only coverage percent shown in chrome extension icon.
Now popup opens persistently for web pages, if coverage percent has been 
calculated (not equal to 0). Please, notify us, if it's still not working for 
you.

Unfortunately, recently we introduced regression: ScriptCover began to crash. 
This is a separate issue. As well as not working for file:///. 
These two news issues should be filed.

gianmarco.gherardi, some pages are slowed down more than others. ScriptCover 
definitely needs optimization. Some will be done along with fixing chrome 
extension crashes.

Original comment by ekamensk...@google.com on 3 Nov 2011 at 9:34

GoogleCodeExporter commented 8 years ago
i can see the  coverage report.. i need to store the Coverage report to my 
computer. is it possible?? .....let me know about that feature... how to store 
or share to others...........  

Original comment by mekalai82@gmail.com on 15 Nov 2011 at 9:43

GoogleCodeExporter commented 8 years ago
Hi, 

Please, file a separate feature request about exporting reports - to be in loop 
about the feature. I think this is something that we can start implementing 
rather soon.

Original comment by ekamensk...@google.com on 15 Nov 2011 at 10:38