TestLink1.9.3测试用例:Excel转换XML工具<二>实现代码 http://blog.csdn.net/candle806/article/details/7490599 以下是通过VBScript实现的Excel数据转换成XML格式,主要用于实现Testlink1.9.3的测试用例导入.代码实现如下: Dim objexcel,objworkbook,objsheet,objxml_inter,objxml,totalrow,row,id,excelStr'==========…
package com.syl.demo.test; import java.io.*; /** * java代码行数统计工具类 * Created by 孙义朗 on 2017/11/17 0017. */ public class CountCodeLineUtil { private static int normalLines = 0; //有效程序行数 private static int whiteLines = 0; //空白行数 private static int commen…
代码统计 修改filename为文件夹or文件地址,然后统计所有python文件代码 import os import sys def count_code_lines(filename): res = os.walk(filename) count = 0 for path, _, file_list in res: for file in file_list: filename = os.path.join(path, file) if filename.endswith('py'): wi…