PHPackages                             rodrigorm/audit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rodrigorm/audit

ActiveLibrary

rodrigorm/audit
===============

Uses xdebug function trace to generate code execution reports.

8381PHP

Since Aug 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rodrigorm/audit)[ Packagist](https://packagist.org/packages/rodrigorm/audit)[ RSS](/packages/rodrigorm-audit/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (4)Used By (0)

Audit
=====

[](#audit)

[![Build Status](https://camo.githubusercontent.com/bc8186b01fbd98162c624e12d7ee36d10b2c7c52e56e2904dbb22aa16eecc519/68747470733a2f2f7472617669732d63692e6f72672f726f647269676f726d2f61756469742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rodrigorm/audit)[![Code Climate](https://camo.githubusercontent.com/bfbd419a7a452dd9419f8e6ae97ab509dcc38287a6c51152bfb3fdeb76cb7544/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f726f647269676f726d2f61756469742f6261646765732f6770612e737667)](https://codeclimate.com/github/rodrigorm/audit)[![Test Coverage](https://camo.githubusercontent.com/137374ccb6c26ae5f14f977415db142e21b2f8d9cd647b59c27a0b0327a02190/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f726f647269676f726d2f61756469742f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/rodrigorm/audit)[![SensioLabsInsight](https://camo.githubusercontent.com/9cc9d43a2cf45317d47dda22fab1b8b67e05085e898d5d3d6b7eb28eb7da2800/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37373639333130332d373861392d346465612d613761372d6662373933356630393334642f6d696e692e706e67)](https://insight.sensiolabs.com/projects/77693103-78a9-4dea-a7a7-fb7935f0934d)

Uses xdebug function trace to generate code execution reports.

Usage
=====

[](#usage)

Add the listerner to phpunit.xml

```

              RodrigoRM\Audit\
              RodrigoRM\Audit\Test\

```

Run the tests:

```
$ phpunit

```

You should see the output:

```
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
=================

[](#generated-reports)

Class Diagram
-------------

[](#class-diagram)

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

Tools
=====

[](#tools)

Class Diagram
-------------

[](#class-diagram-1)

Uses to generate a class diagram from any trace file, usage:

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

```

License
-------

[](#license)

Copyright (C) 2014 Rodrigo Moyle

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.

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.

You should have received a copy of the Lesser GNU General Public License along with this program. If not, see .

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dd87e26645ce24c280d8a3bc36c3b8c21c368d7540eac0ca581d3c3b586c95a?d=identicon)[rodrigorm](/maintainers/rodrigorm)

---

Top Contributors

[![rodrigorm](https://avatars.githubusercontent.com/u/23070?v=4)](https://github.com/rodrigorm "rodrigorm (18 commits)")

### Embed Badge

![Health badge](/badges/rodrigorm-audit/health.svg)

```
[![Health](https://phpackages.com/badges/rodrigorm-audit/health.svg)](https://phpackages.com/packages/rodrigorm-audit)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
