classes/ReportTasks.php
static function run_php_pdepend_report( $task=null, $args=array(), $cliopts=array() )
    {
        $opts = self::getOpts( @$args[0], @$args[1], $cliopts );
        if ( !SharedLock::acquire( $opts['extension']['name'], LOCK_SH, $opts ) )
            throw new PakeException( "Source code locked by another process" );

        $destdir = self::getReportDir( $opts ) . '/' . $opts['extension']['name'];
        $pdepend = self::getTool( 'pdepend', $opts, true );

        pake_mkdirs( $destdir );
        $out = pake_sh( $pdepend .
            " --jdepend-chart=" . escapeshellarg( self::getReportDir( $opts ) . '/' . $opts['extension']['name'] . '/jdependchart.svg' ) .
            " --overview-pyramid=" . escapeshellarg( self::getReportDir( $opts ) . '/' . $opts['extension']['name'] . '/overview-pyramid.svg' ) .
            " --summary-xml=" . escapeshellarg( self::getReportDir( $opts ) . '/' . $opts['extension']['name'] . '/summary.xml' ) .
            " " . escapeshellarg( self::getBuildDir( $opts ) . '/' . $opts['extension']['name'] ) );

        SharedLock::release( $opts['extension']['name'], LOCK_SH, $opts );
    }
static function run_php_pdepend_report( $task=null, $args=array(), $cliopts=array() )
    {
        $opts = self::getOpts( @$args[0], @$args[1], $cliopts );
        if ( !SharedLock::acquire( $opts['extension']['name'], LOCK_SH, $opts ) )
            throw new PakeException( "Source code locked by another process" );

        $destdir = self::getReportDir( $opts ) . '/' . $opts['extension']['name'];
        $pdepend = self::getTool( 'pdepend', $opts, true );

        pake_mkdirs( $destdir );
        $out = pake_sh( $pdepend .
            " --jdepend-chart=" . escapeshellarg( self::getReportDir( $opts ) . '/' . $opts['extension']['name'] . '/jdependchart.svg' ) .
            " --overview-pyramid=" . escapeshellarg( self::getReportDir( $opts ) . '/' . $opts['extension']['name'] . '/overview-pyramid.svg' ) .
            " --summary-xml=" . escapeshellarg( self::getReportDir( $opts ) . '/' . $opts['extension']['name'] . '/summary.xml' ) .
            " " . escapeshellarg( self::getBuildDir( $opts ) . '/' . $opts['extension']['name'] ) );

        SharedLock::release( $opts['extension']['name'], LOCK_SH, $opts );
    }
static function run_php_pdepend_report ( $ task = null , $ args = array ( ) , $ cliopts = array ( ) ) { $ opts = self :: getOpts ( @ $ args [ 0 ] , @ $ args [ 1 ] , $ cliopts ) ; if ( ! SharedLock :: acquire ( $ opts [ 'extension' ] [ 'name' ] , LOCK_SH , $ opts ) ) throw new PakeException ( "Source code locked by another process" ) ; $ destdir = self :: getReportDir ( $ opts ) . '/' . $ opts [ 'extension' ] [ 'name' ] ; $ pdepend = self :: getTool ( 'pdepend' , $ opts , true ) ; pake_mkdirs ( $ destdir ) ; $ out = pake_sh ( $ pdepend . " --jdepend-chart=" . escapeshellarg ( self :: getReportDir ( $ opts ) . '/' . $ opts [ 'extension' ] [ 'name' ] . '/jdependchart.svg' ) . " --overview-pyramid=" . escapeshellarg ( self :: getReportDir ( $ opts ) . '/' . $ opts [ 'extension' ] [ 'name' ] . '/overview-pyramid.svg' ) . " --summary-xml=" . escapeshellarg ( self :: getReportDir ( $ opts ) . '/' . $ opts [ 'extension' ] [ 'name' ] . '/summary.xml' ) . " " . escapeshellarg ( self :: getBuildDir ( $ opts ) . '/' . $ opts [ 'extension' ] [ 'name' ] ) ) ; SharedLock :: release ( $ opts [ 'extension' ] [ 'name' ] , LOCK_SH , $ opts ) ; }
Generates images and xml report using pdepend.
Generates images and xml report using pdepend .