2017 © Pedro Peláez
 

library audit

Uses xdebug function trace to generate code execution reports.

image

rodrigorm/audit

Uses xdebug function trace to generate code execution reports.

  • Sunday, January 8, 2017
  • by rodrigorm
  • Repository
  • 1 Watchers
  • 7 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 29 % Grown

The README.md

Audit

Build Status Code Climate Test Coverage SensioLabsInsight, (*1)

Uses xdebug function trace to generate code execution reports., (*2)

Usage

Add the listerner to phpunit.xml, (*3)

  <listeners>
      <listener class="RodrigoRM\Audit\PHPUnit\TestListener">
          <arguments>
              <string>RodrigoRM\Audit\</string> <!-- Includes namespace -->
              <string>RodrigoRM\Audit\Test\</string> <!-- Excludes namespace -->
          </arguments>
      </listener>
  </listeners>

Run the tests:, (*4)

$ phpunit

You should see the output:, (*5)

PHPUnit 4.1.6 by Sebastian Bergmann.

Configuration read from /home/rodrigomoyle/workspace/xdebug-trace-analyzer/phpunit.xml.dist

..........

Generating tracing reports from file /tmp/7VGvko.xt:
  Class Diagram ... done


Time: 2.51 seconds, Memory: 7.25Mb

OK (10 tests, 10 assertions)

Generated Reports

Class Diagram

A class diagram will be generated at build/logs/class_diagram.dot, you could use the graphviz package to view the file., (*6)

Tools

Class Diagram

Uses to generate a class diagram from any trace file, usage:, (*7)

$ bin/class-diagram Namespace /tmp/trace.1234.xt

License

Copyright (C) 2014 Rodrigo Moyle rodrigorm@gmail.com, (*8)

This program is free software: you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version., (*9)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details., (*10)

You should have received a copy of the Lesser GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/., (*11)

The Versions

08/01 2017

dev-master

9999999-dev https://github.com/rodrigorm/audit

Uses xdebug function trace to generate code execution reports.

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

tests profiler audit trace

03/10 2014

dev-collect_return

dev-collect_return https://github.com/rodrigorm/audit

Uses xdebug function trace to generate code execution reports.

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

tests profiler audit trace

23/08 2014
23/08 2014

dev-features/summary_report_python

dev-features/summary_report_python

  Sources   Download

The Development Requires