[wp-trac] [WordPress Trac] #43240: Exclude third-party code from code coverage reports

WordPress Trac noreply at wordpress.org
Wed Feb 7 07:01:46 UTC 2018


#43240: Exclude third-party code from code coverage reports
------------------------------+------------------------------
 Reporter:  schlessera        |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------------------
Changes (by schlessera):

 * keywords:   => has-patch


Comment:

 Attached a patch that is based on the exclusions already found in
 https://github.com/WordPress/wordpress-
 develop/blob/b9b2f2a79d3506a74e3c3ce34de69ed069864dfe/phpcs.xml.dist#L16 .

 NOTE: For this to actually work in tests, #43067 needs to already be
 applied as well.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43240#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list