(file, cmtStr)
| 149 | |
| 150 | |
| 151 | def doRegularFile(file, cmtStr): |
| 152 | count = 0 |
| 153 | f = open(file, 'r') |
| 154 | for line in f: |
| 155 | line = line.strip() |
| 156 | if len(line) > 0 and not line.startswith(cmtStr): |
| 157 | count += 1 |
| 158 | return count |
| 159 | |
| 160 | |
| 161 | def doShFile(file): |
no test coverage detected