tasks/lib/pdepend.js
function(dir) {

        var cmd = path.normalize(config.bin);

        if (config.jdependChart !== undefined) {
            cmd += ' --jdepend-chart=' + config.jdependChart;
        }

        if (config.jdependXml !== undefined) {
            cmd += ' --jdepend-xml=' + config.jdependXml;
        }

        if (config.overviewPyramid !== undefined) {
            cmd += ' --overview-pyramid=' + config.overviewPyramid;
        }

        if (config.summaryXml !== undefined) {
            cmd += ' --summary-xml=' + config.summaryXml;
        }

        if (config.coderankMode !== undefined) {
            cmd += ' --coderank-mode=' + config.coderankMode;
        }

        if (config.coverageReport !== undefined) {
            cmd += ' --coverage-report=' + config.coverageReport;
        }

        if (config.configuration !== undefined) {
            cmd += ' --configuration=' + config.configuration;
        }

        if (config.ignoreDirectories !== undefined) {
            cmd += ' --ignore=' + config.ignoreDirectories;
        }

        if (config.debug) {
            cmd += ' --debug ';
        }

        return cmd;
    }
function(dir) {

        var cmd = path.normalize(config.bin);

        if (config.jdependChart !== undefined) {
            cmd += ' --jdepend-chart=' + config.jdependChart;
        }

        if (config.jdependXml !== undefined) {
            cmd += ' --jdepend-xml=' + config.jdependXml;
        }

        if (config.overviewPyramid !== undefined) {
            cmd += ' --overview-pyramid=' + config.overviewPyramid;
        }

        if (config.summaryXml !== undefined) {
            cmd += ' --summary-xml=' + config.summaryXml;
        }

        if (config.coderankMode !== undefined) {
            cmd += ' --coderank-mode=' + config.coderankMode;
        }

        if (config.coverageReport !== undefined) {
            cmd += ' --coverage-report=' + config.coverageReport;
        }

        if (config.configuration !== undefined) {
            cmd += ' --configuration=' + config.configuration;
        }

        if (config.ignoreDirectories !== undefined) {
            cmd += ' --ignore=' + config.ignoreDirectories;
        }

        if (config.debug) {
            cmd += ' --debug ';
        }

        return cmd;
    }
Builds pdepend command

@return string