File: compare.sh

package info (click to toggle)
pdepend 2.16.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 19,500 kB
  • sloc: php: 60,939; xml: 1,423; pascal: 34; sql: 34; makefile: 33; sh: 8
file content (13 lines) | stat: -rwxr-xr-x 512 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

PHP_BIN=${2:-"php"}

rm -rf ~/.pdepend/*
$PHP_BIN "$(which pdepend)" --jdepend-xml=/tmp/jdpa0.xml --summary-xml=/tmp/suma0.xml "$1"
$PHP_BIN "$(which pdepend)" --jdepend-xml=/tmp/jdpa1.xml --summary-xml=/tmp/suma1.xml "$1"
$PHP_BIN src/bin/pdepend --jdepend-xml=/tmp/jdpb0.xml --summary-xml=/tmp/sumb0.xml "$1"
$PHP_BIN src/bin/pdepend --jdepend-xml=/tmp/jdpb1.xml --summary-xml=/tmp/sumb1.xml "$1"

meld /tmp/suma0.xml /tmp/sumb0.xml /tmp/sumb1.xml

meld /tmp/jdpa0.xml /tmp/jdpb0.xml /tmp/jdpb1.xml