An Evalution Approach of Identifier Quality Based on Lexical Rules

Author
YunSiZuo
Advisor
WangYanQing
School
Harbin Institute of Technology
Major
Management Science and Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
5
Citations
0

Request the full text

Abstract

The development of the software industry makes the software identifier specification to get more and more concerned about the development of identifier naming conventions , many scholars from different angles . The role played by the different types of identifiers in the program is different , the meaning of the expression is not the same. Therefore , the identifier the ideographic and naming rules should be a good combination . This article is the identifier role and part of speech rules combine in an exploratory study . The evaluation method used in this paper as the core identifier part of speech composition rules . First, from the point of view of natural language summary of a combination of parts of speech in natural language rules , and then press the identifier type analysis of the role of identifiers in the program and ideographic , to determine the part of speech of the different roles identifier . The article identifier will be divided into two categories: property set identifier and set identifier . And the part of speech rules divided into three categories : noun rules , rules of verb and adjective rules . Rule evaluation , the use of the advantages of open source software , to collect the Java , C , C, in three languages ??, a total of 55 open source projects as a test sample . Verify the practicality of the rule set on the one hand ; On the other hand , based on proof available as a standard rule matching degree , sort of three languages ??identifier specification . Lexical analysis tool , extract the identifier of each project , divided , the POS statistics and rules match . Composition identifier word part of speech distribution calculated by the data , the use of two types of identifiers and three types of rules match degrees as well as specific rules under the rules of the same type , rank the priority rule matching order . Finally , according to the scores of the three languages ??, Java, C, C the three languages ??identifier specification .

Table of contents

Summary 4-5 ABSTRACT 5-8 Chapter 1 Introduction 8-16 1.1 subject background and the purpose and significance of the research 8-10 1.2 research status 10-13 1.2.1 Research foreign identifier naming rules 10-12 1.2.2 domestic identifier naming trend 12-13 1.2.3 the research status quo analysis 13 1.3 This article studies the content and ideas 13-16 Chapter 2 identifier named lexical rules formulated the theoretical basis 16-26 2.1 lexical rules 16-21 2.1.1 English words of lexical rules nbsp 16-19 2.1.2 identifier naming rules; 19-21 2.2 lexical rules 21-24 2.2.1 adjectives identifier 22-23 2.2.2 noun identifier 23 2.2.3 verb identifier 23-24 2.2. 4 Numerals 24 2.3 Chapter Summary 24-26 Chapter 3 lexical analysis processes and tools 26-34 3.1 lexical analysis process 26-32 3.1.1 identifier extracted 3.1.2 identifier 26-29 split 29-30 3.1.3 word part of speech divided 30-32 3.1.4 rule matching and statistical principle 32 3.2 research tool 32-33 3.3 Chapter Summary 33-34 Chapter 4, data analysis and rule evaluation 34-51 4.1 data sources 34-36 4.1.1 data source to determine 34 4.1.2 Sample profile 34-36 4.2 Sample Description 36-41 4.3 assessment methods 41-42 4.4 POS rules to assess the 42-48 4.4.1 POS distribution 42-43 4.4.2 two types of identifiers match with three types of rules 43-45 4.4.3 Specific rules match 45-48 4.5 POS rules summarize 48-49 4.6 JAVA, C, C specification the summed degrees 49-50 4.7 Chapter Summary 50-51 conclusion 51-52 Reference 52-55 Appendix 1 Java open source test results 55-61 Appendix 2 C open source software test results 61-65 Appendix C of open source software test results 65 -71 Acknowledgements 71

Related dissertations

  1. Research on Key Technologies of Web Data Extraction and Mining on Open Source Community
  2. Design and Implementation of Network Teaching System Based on Moodle
    FanYanHua ·Xiamen University ·2013 ·Master's thesis
  3. A Research on Knowledge Structure and Developers Cooperation Structure of R Software and Their Evolution
    ChenQuan ·South China University of Technology ·2013 ·Doctoral dissertation
  4. Mining and Analysis of Open Source Software Trustworthy Evidence
  5. Patent Risk of Open Source Software and Its Legal Countermeasures
    DuZhongFu ·Central South University ·2013 ·Master's thesis
  6. The Research and Implementing of Dependencies Solutions on Open Source Platform
    ZhaoGuangTao ·Henan University ·2012 ·Master's thesis
  7. Design and Implementation of WebGIS Management Information System for Liaohe Estuary Wetland Based on OGC Standard
    TangShuai ·Ocean University of China ·2012 ·Master's thesis
  8. Construction and Application of Unified Software Performance Testing Model
  9. Visual Mining of Developer’s Behavioral Characteristics in Open Source Software
    XuBen ·Shanghai Jiaotong University ·2013 ·Master's thesis
  10. Design and Implementation of LAMP-based Network Marketing System
  11. Method of software defect prediction program based on Clustering
    TanZuo ·Fudan University ·2012 ·Master's thesis
  12. Based on the JAVA Comprehensive Teaching Platform Design and Implementation
  13. The Research of Open Source Sotfware Project Management
  14. Research of network teaching system based on Moodle platform
    ZhaoJie ·Yunnan University ·2012 ·Master's thesis
  15. Research on the Application and Evaluation of Content Management OSS in Digital Library
    LiPeng ·Jilin University ·2012 ·Doctoral dissertation
  16. Research on the Construction of an Information Literacy Training Platform for Higher Education Based on Drupal
    GuoJing ·Central China Normal University ·2012 ·Master's thesis
  17. Research and Realization of Online Face-to-Face
    LiHan ·East China Normal University ·2012 ·Master's thesis
  18. Experimental research on information technology teaching cross system cross tool
    XieHua ·Nanjing Normal University ·2012 ·Master's thesis
  19. The Intellectual Property Protection System Study of Open Source Software
    ShangGuangZuo ·Zhengzhou University ·2012 ·Master's thesis
  20. From the Open Source to See the Innovation of Copyright Regime