检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西北工业大学
出 处:《电子设计工程》2014年第4期46-48,共3页Electronic Design Engineering
摘 要:为了评价程序员编写的程序是否具有良好的风格,来提高程序的可读性。本文提出了一种基于VC6.0开发环境的C语言程序分析器的设计方案,该分析器通过对程序进行扫描,统计出程序中函数的个数,平均函数的长度,代码注释的多少以及空行的多少,来对数据加以分析,完成对程序的总体评价。通过实际应用表明,该分析器能够有效快速地对程序进行评价,最终达到设计的要求。In order to evaluate whether the program written by programmer has a good style,and improve the readability of the program.This paper puts forward a design scheme that is based on VC6.0 development environment of C language program analyzer,through scanning the program,the analyzer can calculate the number of function,the average length of the function,the number of code comments and blank line.To analyze the date and perform the evaluation of the program.With the practical application,the analyzer can efficiently evaluate the program and meet the design requirement.
分 类 号:TN01[电子电信—物理电子学]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28