Design and Development of C/C++Program Style Detection and Format Annotation System

Author
TangHui
Advisor
ZhangXue , TaoFengChuan
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2013
Downloads
4
Citations
0

Request the full text

Abstract

Nowdays, with the rapid development of computer industry, more and moreuniversities have opened the program design foundation course.Program designcourse,as a computer professional core of the curriculum, is the introductory courses ofstudents Stepping into software development halls. And it has a very close ralationshipwith the subsequent specialty courses. Although this course mainly teachedprogramming language and trained students’ skills of applying computer programmingto solve problems ago, the programming stlye is the key content of the course now.Almost all software projects are developed by team, and software development is akind of engineering project. Software projects are completed by many people togather.So development team must have a unified programming standard, and all team membersmust abide by the programming standard to develop programs. The advantage is that theprogrammers could communicate with each other in low cost about the source code anddevelop software product of high quality. So the universities that provide computertalent to the society should pay attention to training student’s excellent programmingstyle at the beginning.This thesis has in-depth analysed and studied lots of literature in home andabroad about programming style. And we have communicated extensively and in-depthwith teachers who are in teaching first line.This text select programming style’s namingnorm,program comments and code formats as this search’s coding standards. Codeformats include statement indenting, style alignment, spaces and so on. Programcomments include reasonable design and the basic priciples of coments. Naming norminclude the value of standard naming and the priciples of naming functions, identifiersand so on. We drawed up a guideline which applied to teaching undergraduate.We developed an experimental system which could be used to annotateprogramming stlye of C/C++for source code in teaching. This software system coulddetect and annotate students’ program files. Students could use this system’s function ofautomatic detection to find the mistakes of programming and correct them in time.Meanwhile, the teachers could use this system detect the programming style of students. According to the test results analyse and summary the common problems of student,and guide specificly students to learn the programming style.

Table of contents

Summary 5-6 Abstract 6-11 first chapter 11-17 1.1 Background 11-12 1.2 the purpose and significance of the study 12-13 1.3 research 13-14 1.4 explain the concept 14-15 1.4.1 programming Style 14 1.4.2 programming style 14-15 1.4.3 coding Standards ( coding standard ) 15 1.4 .4 programming style annotations 15 1.4.5 code format chapters arranged 15 1.5 article 15-17 Chapter II study abroad Status 17-30 2.1 current research abroad 17-24 study abroad programming style rules 2.1.1 and Teaching applications 17-20 2.1.2 evaluation study abroad programming style 20-24 2.2 current domestic research status 24-28 2.2.1 domestic style of programming in teaching Research in the field of 24-25 2.2.2 domestic coding standard ( coding standard ) evaluation studies 25-28 2.3 research status relative ratio 28-29 2.4 Summary needs 29-30 Chapter III programming style annotation systems analysis 30-42 3.1 specification code necessity 30-31 3.2 programming specifications proposed 31-40 3.2.1 code declares 31-32 3.2.2 code format 32-35 3.2.3 Notes 35-37 3.2.4 naming 37-38 3.2.5 expressions and operators 38-40 3.3 programming style teaching 40-41 3.4 Summary 41-42 Chapter IV programming style annotation system design 42 -59 4.1 feasibility study 42-47 4.1.1 Introduction to the technology used 43-46 4.1.2 similar software reference 46 - 47 4.2 programming style annotation system detailed design 47-51 4.2.1 reads the test program 47 4.2.2 generator programming style Annotations output 47-51 4.2.3 file 51 4.3 code formatting feature is designed 51-57 4.3.1 code pre- processing 51-55 4.3.2 code formatting 55-57 4.4 Summary 57-59 Chapter annotation system programming style realization 59-64 5.1 analytics implementation process achieve 59-60 5.2 programming style annotation system 60-63 5.2.1 user interface 60 5.2.2 program format to achieve 60-63 5.2.3 program insert annotations to achieve 63 5.3 Summary tests nbsp 63-64 Chapter VI programming style annotation system ; 64-68 6.1 for non- standardized indentation test and modify annotation 64-65 <br / > 6.2 pairs of line to write multiple statements test tests 65-66 6.3 pair of redundant blank line 66-67 6.4 Summary 67-68 Chapter VII summary and Outlook 68-70 Thanks 70-71 References 71-74

Related dissertations

  1. WEB-based Programming Style Training and Research
    GeXiangWei ·Inner Mongolia Normal ·2013 ·Master's thesis
  2. Car TCU Test Load Box Hardware Design
    LiuTianBo ·Jilin University ·2013 ·Master's thesis
  3. Design of Automatic Detection System for Automobile Combination Dashboard
  4. Control System Development of Automatic Detection Equipment of Crane Hydraulic Balance Valve
    DaiDaoCheng ·Hefei University of Technology ·2013 ·Master's thesis
  5. Automatic Detection System for Defects on the Surface of Tapered Roller
  6. Research Method of Lack of Bearing Rings Process Based on Image Processing
  7. The Study of Automatic Detection System of Garment's Waterproofing Performance
    LuoBiao ·Donghua University ·2014 ·Master's thesis
  8. The Software Design of the Wheel Automatic Detection Based on X-ray
    ChenZhiQiang ·University of North ·2012 ·Master's thesis
  9. The Design of Bundy Tube Connector the CCD Automatically Detect Machine
    ZhaoLong ·Yanshan University ·2013 ·Master's thesis
  10. The Design and Completion of Industrial Process Measurement and Control Experimental System
  11. Research on image processing and algorithm of large aperture optical components in laser processing system
  12. Design and Implementation of the System of Automatic Detection of Pressure Meter
  13. Research on Automatic Detection of Element in the CT Image of PCD
  14. Automatic Detection of Interictal Epileptiform Discharges Based on Perceptual Organizational Principle and Support Vector Machine
  15. Design and Implementation of Lamp Photometric Characteristics Detection System
    ZhangZhiQiang ·Jilin University ·2012 ·Master's thesis
  16. Application Technical Research of Laser Automatic Deflectometer
  17. Development of Automatic Tester for Clay Methylene Blue Value
  18. Comprehensive Performance Test System for Mast of Forklift
    WuMeiYing ·Zhejiang University ·2013 ·Master's thesis
  19. The Development of Automatic Acquisition of High Temperature Melt and Drop Properties of Iron Ore and Its Forecasting Research
  20. The Detection Device for Large Diameter Roll’s Quality and the Design of System
    WangHao ·Anhui University of ·2012 ·Master's thesis