Ticket #135 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

add source file attribute for code coverage xml report

Reported by: weizhuo@gmail.com Assigned to: hans
Priority: minor Milestone: 2.3.0
Component: phing-core Version: 2.2.0
Keywords: Cc:

Description

Please add

$sourceElement->setAttribute('name', basename($filename));

in function CoverageReportTask::transformSourceFile()

useful for trying to find the source file. (in particular, this will be used to integrate Phing with Bitten+Trac)

thanks!

Attachments

Change History

08/05/07 08:07:15 changed by weizhuo@gmail.com

oop, copied wrong bit of code, the following should be added

$sourceElement->setAttribute('sourcefile', $filename);

08/05/07 10:10:18 changed by mrook

Do you really need the entire (local) path?

08/05/07 23:13:16 changed by weizhuo@gmail.com

Yes, full path will be useful, as additional calculation may be derived from it.

08/14/07 14:17:28 changed by mrook

  • status changed from new to closed.
  • resolution set to fixed.

Functionality added in r216.

11/03/07 14:24:02 changed by hans

  • milestone changed from 2.2.1 to 2.3.0.

Milestone 2.2.1 deleted


Add/Change #135 (add source file attribute for code coverage xml report)




Action