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

WordPress Trac noreply at wordpress.org
Wed Feb 7 06:59:21 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            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 The code coverage currently runs over all files indiscriminately.

 For meaningful code coverage reports, we should exclude third-party code,
 as suggested by @johnbillion in #43067.

 The list can be taken from PHPCS exclusion list we already have in Core:
 https://github.com/WordPress/wordpress-
 develop/blob/b9b2f2a79d3506a74e3c3ce34de69ed069864dfe/phpcs.xml.dist#L16

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


More information about the wp-trac mailing list