Beispiel #1
0
from depend import Depend
from depend import DependReport

if __name__ == "__main__":
    import sys
    file = sys.argv[1]
    lines = open(file).readlines()
    depend = Depend()
    depend.feed(lines)
    reporter = DependReport()
    print reporter.report(depend.getTree())
Beispiel #2
0
from depend import Depend
from depend import DependReport


if __name__ == "__main__":
  import sys
  file = sys.argv[1]
  lines = open(file).readlines()
  depend = Depend()
  depend.feed(lines)
  reporter = DependReport()
  print reporter.report(depend.getTree())
Beispiel #3
0
from depend import Depend
from depend import DependReport


if __name__ == "__main__":
  import sys
  files = sys.argv[1:]
  depend = Depend()
  for file in files:
    lines = open(file).readlines()
    depend.feed(lines)
  reporter = DependReport()
  print reporter.reportStats(depend.getStats())
Beispiel #4
0
from depend import Depend
from depend import DependReport

if __name__ == "__main__":
    import sys
    files = sys.argv[1:]
    depend = Depend()
    for file in files:
        lines = open(file).readlines()
        depend.feed(lines)
    reporter = DependReport()
    print reporter.reportStats(depend.getStats())