Closed
Bug 592719
Opened 14 years ago
Closed 6 years ago
Code-coverage - AS3 Classes: Error
Categories
(Tamarin Graveyard :: Tools, defect, P4)
Tamarin Graveyard
Tools
Tracking
(Not tracked)
RESOLVED
WONTFIX
Q2 12 - Cyril
People
(Reporter: cpeyer, Unassigned)
References
Details
(Whiteboard: code-coverage, loose-end)
Attachments
(1 file)
4.12 KB,
patch
|
dschaffe
:
review+
|
Details | Diff | Splinter Review |
as of redux r5139: covered total covered total class functions functions pct cond cond pct Error 9 16 56.2 3 6 50.0 coverage of: avmplus::ErrorClass:: avmplus::ErrorObject::
Flags: flashplayer-qrb?
Reporter | ||
Updated•14 years ago
|
Whiteboard: code-coverage
Updated•14 years ago
|
Assignee: nobody → brbaker
Status: NEW → ASSIGNED
Flags: flashplayer-qrb? → flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.2.x-Spicy
Comment 1•14 years ago
|
||
Coverage data generated running the following acceptance runs with a release-debugger build of the shell. Acceptance Runs: ./runtests.py as3/Statements/Exceptions as3/RuntimeErrors as3/ErrorObject ecma3/Exceptions ecma3/ErrorObject ./runtests.py --vmargs=-Dnodebugger as3/Statements/Exceptions as3/RuntimeErrors as3/ErrorObject ecma3/Exceptions ecma3/ErrorObject Coverage classes: (covselect -l) exclude all / exclude folder ../../../tamarin-redux/ include source ../../../tamarin-redux/core/ErrorClass.cpp include source ../../../tamarin-redux/core/ErrorClass.h Coverage Results: (covclass -m) Class Function Coverage C/D Coverage --------------------------- --------------------- --------------------- avmplus:: 11 / 11 = 100% 5 / 6 = 83% avmplus::ErrorClass:: 5 / 5 = 100% 0 / 0 avmplus::ErrorObject:: 4 / 4 = 100% 5 / 6 = 83% avmplus::NativeErrorClass:: 2 / 2 = 100% 0 / 0 --------------------------- --------------------- --------------------- Total 11 / 11 = 100% 5 / 6 = 83% Additional testcase is simply to cover getStackTrace() within a known testcase. This is currently covered elsewhere in the suite, but this makes coverage easier to reproduce. Add an acceptance pass in code coverage to pick up code paths available when debugger is compiled in BUT not enabled (via -Dnodebugger)
Attachment #484324 -
Flags: review?(dschaffe)
Comment 2•14 years ago
|
||
Comment on attachment 484324 [details] [diff] [review] Additional coverage for Error - what does -Dnodebugger add to code coverage? - I would have made the test smaller by just included the try/catch finally part of the test and not used getTestCases since there is only 1 test. but that is just me.
Attachment #484324 -
Flags: review?(dschaffe) → review+
Comment 3•14 years ago
|
||
(In reply to comment #2) > Comment on attachment 484324 [details] [diff] [review] > Additional coverage for Error > > - what does -Dnodebugger add to code coverage? There are branches in the VM that check to see if a debugger is attached and they will only be compiled in if the build is debugger. So the -Dnodebugger gives the 'true' coverage of the following: 63 #ifdef DEBUGGER 64 AvmCore *core = this->core(); 65 if (!core->debugger()) 66 return;
Updated•14 years ago
|
Target Milestone: flash10.2.x-Spicy → flash10.x - Serrano
Comment 4•14 years ago
|
||
Comment on attachment 484324 [details] [diff] [review] Additional coverage for Error Patch pushed as 5373:fde08035a073
Comment 5•13 years ago
|
||
can close?
Brent, can this be closed?
Flags: flashplayer-bug-
Whiteboard: code-coverage → code-coverage, loose-end
Target Milestone: Q4 11 - Anza → Q1 12 - Brannan
Updated•13 years ago
|
Assignee: brbaker → nobody
Target Milestone: Q1 12 - Brannan → Q2 12 - Cyril
Comment 8•6 years ago
|
||
No assignee, updating the status.
Comment 9•6 years ago
|
||
No assignee, updating the status.
Comment 10•6 years ago
|
||
No assignee, updating the status.
Comment 11•6 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•