| OLD | NEW |
| (Empty) |
| 1 #!/bin/bash | |
| 2 # | |
| 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 4 # for details. All rights reserved. Use of this source code is governed by a | |
| 5 # BSD-style license that can be found in the LICENSE file. | |
| 6 | |
| 7 # Given a file that contains one or more of DartC metrics, check the | |
| 8 # for a specific metric, compute its average and deviation, and print | |
| 9 # it to the stdout. | |
| 10 | |
| 11 source metrics_math.sh | |
| 12 | |
| 13 if [ ! $# -eq 3 ]; then | |
| 14 echo $(basename $0) "\"OutputHeader\" \"CompilerStatToMatch\" metrics.txt"; | |
| 15 exit 1; | |
| 16 fi | |
| 17 | |
| 18 sample_file "$1" "$2" "$3" | |
| OLD | NEW |