[xdebug-dev] [xdebug/xdebug] 493fed: Port over branch and path finding from VLD.

From: Derick Rethans <github[@]derickrethans.nl>
Date: Sun, 05 Oct 2014 08:31:46 -0700

  Branch: refs/heads/master
  Home: https://github.com/xdebug/xdebug
  Commit: 493fed567f525076711547dacad0b4e26fce1a68
      https://github.com/xdebug/xdebug/commit/493fed567f525076711547dacad0b4e26fce1a68
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M config.m4
    M config.w32
    A xdebug_branch_info.c
    A xdebug_branch_info.h
    M xdebug_code_coverage.c

  Log Message:
  -----------
  Port over branch and path finding from VLD.

  Commit: ef7850511c74e411f6065fcec6f28a3ac9b9a391
      https://github.com/xdebug/xdebug/commit/ef7850511c74e411f6065fcec6f28a3ac9b9a391
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M php_xdebug.h
    M xdebug.c
    M xdebug_code_coverage.c
    M xdebug_private.h

  Log Message:
  -----------
  Added XDEBUG_CC_BRANCH_CHECK so that we only do branch checking when requested.

  Commit: e961c08fa33325791bbb194e66c2108fd947b184
      https://github.com/xdebug/xdebug/commit/e961c08fa33325791bbb194e66c2108fd947b184
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_branch_info.c

  Log Message:
  -----------
  Fixed a few memory leaks in branch info cleanup.

  Commit: 84a5ee3ba3659f98258f47cf9408421acaf1059f
      https://github.com/xdebug/xdebug/commit/84a5ee3ba3659f98258f47cf9408421acaf1059f
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M php_xdebug.h
    M xdebug_branch_info.c
    M xdebug_branch_info.h
    M xdebug_code_coverage.c
    M xdebug_code_coverage.h

  Log Message:
  -----------
  Add collected path and branch information to xdebug_get_code_coverage() output.

  Commit: 94588ab6e73d06462155de65768ebfd813d7979f
      https://github.com/xdebug/xdebug/commit/94588ab6e73d06462155de65768ebfd813d7979f
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_branch_info.c

  Log Message:
  -----------
  Fixed compiler warnings.

  Commit: 598173f7bbd2a8cb59f5beaf413f4268d3fba703
      https://github.com/xdebug/xdebug/commit/598173f7bbd2a8cb59f5beaf413f4268d3fba703
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_branch_info.c
    M xdebug_code_coverage.c
    M xdebug_code_coverage.h

  Log Message:
  -----------
  Refactor out the creation of the coverage file data structure.

  Commit: 0bc574bc465bbb92da3ec1249805dd1d4586bbf7
      https://github.com/xdebug/xdebug/commit/0bc574bc465bbb92da3ec1249805dd1d4586bbf7
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_code_coverage.c

  Log Message:
  -----------
  Put line coverage under it's own header if branch/path coverage is enabled.

  Commit: c510b21525a2ea956cd8bc5a8f63a55cd2524a90
      https://github.com/xdebug/xdebug/commit/c510b21525a2ea956cd8bc5a8f63a55cd2524a90
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_code_coverage.c

  Log Message:
  -----------
  Rename fn to filename, it is not function name as I thought.

  Commit: 0eb505f133f9aedc595cf5408c30148d3277c7fc
      https://github.com/xdebug/xdebug/commit/0eb505f133f9aedc595cf5408c30148d3277c7fc
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    A tests/coverage5.inc
    A tests/coverage5.phpt
    A tests/coverage6.inc
    A tests/coverage6.phpt
    M xdebug_branch_info.c
    M xdebug_branch_info.h
    M xdebug_code_coverage.c
    M xdebug_code_coverage.h

  Log Message:
  -----------
  Organise paths/branches per function.

  Commit: 2f0deacaa9ca1206f6b956217812a64d227527d6
      https://github.com/xdebug/xdebug/commit/2f0deacaa9ca1206f6b956217812a64d227527d6
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    A tests/coverage7.inc
    A tests/coverage7.phpt
    M xdebug_code_coverage.c

  Log Message:
  -----------
  Use slightly better function names.

  Commit: 51c48f7285c2eb8abf6a2829de56099711d04b98
      https://github.com/xdebug/xdebug/commit/51c48f7285c2eb8abf6a2829de56099711d04b98
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M php_xdebug.h
    M tests/coverage5.phpt
    M tests/coverage6.phpt
    M tests/coverage7.phpt
    M xdebug.c
    M xdebug_branch_info.c
    M xdebug_branch_info.h
    M xdebug_code_coverage.c
    M xdebug_code_coverage.h

  Log Message:
  -----------
  Implement branch coverage.

Next one up is path coverage!

  Commit: e2a2790a604f428a09c9a83bb3231dfcad1da694
      https://github.com/xdebug/xdebug/commit/e2a2790a604f428a09c9a83bb3231dfcad1da694
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_branch_info.c
    M xdebug_branch_info.h
    M xdebug_code_coverage.c

  Log Message:
  -----------
  Refactor structure so path info can be shared among branch/path analysis and path coverage.

  Commit: 60e66249006fa640269451d5e48f138c35e9f5f2
      https://github.com/xdebug/xdebug/commit/60e66249006fa640269451d5e48f138c35e9f5f2
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_branch_info.h
    M xdebug_code_coverage.c

  Log Message:
  -----------
  Compiler warning fixes.

  Commit: c566554c08465c1c4948e266f5431b7e56873e1d
      https://github.com/xdebug/xdebug/commit/c566554c08465c1c4948e266f5431b7e56873e1d
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_code_coverage.c

  Log Message:
  -----------
  Fixed memory leak.

  Commit: 54be542251d3f0ec939f0474fd09177f413cf2bd
      https://github.com/xdebug/xdebug/commit/54be542251d3f0ec939f0474fd09177f413cf2bd
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M xdebug_branch_info.c

  Log Message:
  -----------
  Refactor dumping branch and path into two functions.

  Commit: 960223d3648d40bcbe5a2189f99d4663e98aaff6
      https://github.com/xdebug/xdebug/commit/960223d3648d40bcbe5a2189f99d4663e98aaff6
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M php_xdebug.h
    M xdebug.c
    M xdebug_branch_info.c
    M xdebug_branch_info.h

  Log Message:
  -----------
  Setup path discovery

Paths are discovered correctly, but not yet matches against the possible paths.
That's up next. That, and cleanups, and lots of tests.

  Commit: 931984a8986b23c7eafb31e4119c7c42ea834ad4
      https://github.com/xdebug/xdebug/commit/931984a8986b23c7eafb31e4119c7c42ea834ad4
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M php_xdebug.h
    M tests/coverage5.phpt
    M tests/coverage6.inc
    M tests/coverage6.phpt
    M tests/coverage7.phpt
    M xdebug.c
    M xdebug_branch_info.c
    M xdebug_branch_info.h
    M xdebug_code_coverage.c

  Log Message:
  -----------
  Added support for recording which out-point each branch takes.

Sebastian thinks this, and static code analysis is enough to do path coverage
too, but I don't think it is. Leaving some other code towards that in #ifdefs.

Also made the test outputs much easier to read.

  Commit: 41427021cb499e428341b80851cd0e8c2b9049b1
      https://github.com/xdebug/xdebug/commit/41427021cb499e428341b80851cd0e8c2b9049b1
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M php_xdebug.h
    M tests/coverage5.phpt
    M tests/coverage6.inc
    M tests/coverage6.phpt
    M tests/coverage7.phpt
    M xdebug.c
    M xdebug_branch_info.c
    M xdebug_branch_info.h
    M xdebug_code_coverage.c
    M xdebug_code_coverage.h

  Log Message:
  -----------
  Implement path coverage.

  Commit: 623fe1a88ac4dcef5be67a7d853ed84e3c2c909e
      https://github.com/xdebug/xdebug/commit/623fe1a88ac4dcef5be67a7d853ed84e3c2c909e
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M tests/coverage5.phpt
    M tests/coverage6.phpt
    M tests/coverage7.phpt
    M xdebug.c
    M xdebug_branch_info.c
    M xdebug_branch_info.h
    M xdebug_code_coverage.c
    M xdebug_code_coverage.h

  Log Message:
  -----------
  Added support for catching exceptions and hence find entry and exit points.

  Commit: ec2168ee5daf30873f728fe4a02d6e43a1a0b268
      https://github.com/xdebug/xdebug/commit/ec2168ee5daf30873f728fe4a02d6e43a1a0b268
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    A contrib/branch-coverage-to-dot.php
    A tests/bug01034-001.inc
    A tests/bug01034-001.phpt
    A tests/bug01034-002.inc
    A tests/bug01034-002.phpt
    A tests/bug01034-003.inc
    A tests/bug01034-003.phpt
    A tests/bug01034-004.inc
    A tests/bug01034-004.phpt
    A tests/dump-branch-coverage.inc

  Log Message:
  -----------
  Added a bunch of code-coverage test cases, and scripts for dumping the info.

  Commit: 3c6a8f8630b86a5475285be30a4aef7e46759d8c
      https://github.com/xdebug/xdebug/commit/3c6a8f8630b86a5475285be30a4aef7e46759d8c
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M tests/dump-branch-coverage.inc

  Log Message:
  -----------
  Enabled the .dot file dumping while running all tests with branch coverage enabled.

  Commit: 87e62680cd921d19effcc3636da68215a158931c
      https://github.com/xdebug/xdebug/commit/87e62680cd921d19effcc3636da68215a158931c
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    A tests/bug01034-001-php52.phpt
    A tests/bug01034-001-php53.phpt
    A tests/bug01034-001-php54.phpt
    R tests/bug01034-001.phpt
    A tests/bug01034-002-php52.phpt
    A tests/bug01034-002-php53.phpt
    R tests/bug01034-002.phpt
    A tests/bug01034-003-php52.phpt
    A tests/bug01034-003-php53.phpt
    A tests/bug01034-003-php54.phpt
    R tests/bug01034-003.phpt
    A tests/bug01034-004-php52.phpt
    A tests/bug01034-004-php53.phpt
    R tests/bug01034-004.phpt
    A tests/coverage5-php52.phpt
    M tests/coverage5.phpt
    A tests/coverage6-php52.phpt
    M tests/coverage6.phpt

  Log Message:
  -----------
  Sort out test cases for code coverage.

  Commit: 6f671a3c9735d9f0fd364a2e034987317f285556
      https://github.com/xdebug/xdebug/commit/6f671a3c9735d9f0fd364a2e034987317f285556
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M tests/coverage7.phpt

  Log Message:
  -----------
  Fixed test case.

  Commit: 7f02f003bbb975019f6382ebae9f0b64b8d59e56
      https://github.com/xdebug/xdebug/commit/7f02f003bbb975019f6382ebae9f0b64b8d59e56
  Author: Derick Rethans <github[@]derickrethans.nl>
  Date: 2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M config.m4
    M config.w32
    A contrib/branch-coverage-to-dot.php
    M php_xdebug.h
    A tests/bug01034-001-php52.phpt
    A tests/bug01034-001-php53.phpt
    A tests/bug01034-001-php54.phpt
    A tests/bug01034-001.inc
    A tests/bug01034-002-php52.phpt
    A tests/bug01034-002-php53.phpt
    A tests/bug01034-002.inc
    A tests/bug01034-003-php52.phpt
    A tests/bug01034-003-php53.phpt
    A tests/bug01034-003-php54.phpt
    A tests/bug01034-003.inc
    A tests/bug01034-004-php52.phpt
    A tests/bug01034-004-php53.phpt
    A tests/bug01034-004.inc
    A tests/coverage5-php52.phpt
    A tests/coverage5.inc
    A tests/coverage5.phpt
    A tests/coverage6-php52.phpt
    A tests/coverage6.inc
    A tests/coverage6.phpt
    A tests/coverage7.inc
    A tests/coverage7.phpt
    A tests/dump-branch-coverage.inc
    M xdebug.c
    A xdebug_branch_info.c
    A xdebug_branch_info.h
    M xdebug_code_coverage.c
    M xdebug_code_coverage.h
    M xdebug_private.h

  Log Message:
  -----------
  Merged pull request #122

Compare: https://github.com/xdebug/xdebug/compare/02da7ffe32a6...7f02f003bbb9
Received on Sun Oct 05 2014 - 16:31:49 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST