201771030114- Ma Qiang third experiment twinning project - "Northwest Normal epidemic prevention and control information system" project report

project content
Class blog link https://edu.cnblogs.com/campus/xbsf/nwnu2020SE
Operational requirements Links https://www.cnblogs.com/nwnu-daizh/p/12521474.html
learning target Operation software project control software project development process and personal Github release.
Which aspects of this job to help me complete the learning objectives According to the actual needs of independent development projects
Her name Student ID 201771030113- FUNCTIONALIS
Knot the other blog links https://www.cnblogs.com/zhilong12/p/12573950.html
github repository address https://github.com/AlexCrizs/yiqing2.0

Experimental procedures and content

Task One: Reading - Chapter 3-4 content "of modern software engineering Construction of Law", to understand and master the style code specification, code design specification, code reviews, pair programming concepts;


## Task two: Two two free pair, to knot the other side "experiment two software engineering individual project," the project results to evaluate: (1) the project Bowen job to read and comment, the comment content to a blog comments section.




(2) clone knot the other source project to the local machine, read and test run the code, refer to "modern software engineering - Construction of Law" Section 4.4.3 companion project code review checklist and record.



fork other items to my warehouse, and pull other operations

Summary section

  • Code can meet the requirements and specifications it?
    A: meet the needs and specifications
  • If the code is designed with thoughtful consideration?
    A: Considering the not very comprehensive, is still a problem, need to improve function
  • How to code readability?
    A: compliant, high readability, explained very clear, easy to understand
  • Code is easy to maintain it?
    A: Fortunately, relatively easy to maintain
  • Each line of code execution and examine it, huh?
    A: Yes.

Design Specification

  • It is designed to comply with known design patterns or items commonly used mode?
    A: Yes.
  • There are no hard-coded or strings / numbers, etc. exist?
    A: No
  • There is no code that depends on a certain platform, whether it will affect the future of transplantation (such as Win32 to Win64)
    A: No impact
  • Developers write new code to be able to use the existing Library / SDK / Framework in functions to achieve? Whether there is a similar function in this project can call without having to re-implement all?
    A: Yes; there is
  • There are no unused code can be cleared?
    A: Finishing has been completed

Code Specification

  • ? Modify part of the code in line with the standards and style it (the detailed provisions omitted)
    Answer: meet

DETAILED code portion

  • There is no error processing? For external function call, check the return value or exception handling?
    A: There are errors of handling, and external function calls, check the return value and exception handling
  • Parameters passed with no errors, the length of the string length byte or character (may be single / double-byte), the start count is 0 or 1 starts to count?
    A: The basic error, length of the string is the length in bytes, 0 to start counting.
  • How boundary conditions are treated? How Default Switch statement is processed? Is it possible to loop an infinite loop?
    Continue to test improvements, not dead cycle
  • There is no use assertion (Assert) to ensure that the same conditions that we think really meet?
    A: There is no
  • Use of resources, is where to apply, where to release? Is it possible to cause resource leaks (memory, files, various GUI resources, database access connections, etc.)? Is it possible to optimize?
    A: When jdbc access the application, disconnect the end of the visit, will not lead to resource leaks, it is possible to optimize
  • Whether the data structure elements are used?
    Answer: No

efficacy

  • The effectiveness of the code (Performance) How? The worst case is what?
    A: The performance in general, the worst-case access is very slow
  • Code, especially if there are significant portions of the cycle can be optimized (C ++ repeatedly create a class, whether in C # StringBuilder string operation can be optimized)?
    A: There may, however, lack of capacity, can only do this
  • For system and network whether the call time out? ? How to deal with
    A: there have been no timeouts

readability

  • How to code readability? Is there enough comments?
    A: code readability general, there are comments

Testability

  • If the code needs to be updated or create a new unit test? You can also have checklists developed for specific areas (such as databases, web pages, multi-threading, etc.)
    do not need
  • According to the findings of a review of attempts to use github Fork, Clone, Push, Pull request , Merge pull request and other operations on the personal companion source project repository cooperation modification.
    fork

    pullrequest other operations


Task three: the use of two pair programming mode, combined with our teachers and students daily epidemic reporting system experience, design and development of an information system in line with the needs of epidemic prevention and control of my school, so that it has the following features:

(1) all kinds of school staff and students can gather disease information;


(2) each of the two departments responsible for epidemic prevention and control work of the department staff can view summary epidemic and provide advanced query features a combination of multi-attribute query and visualization of statistical functions;


(3) prevention and control of a designated person in charge of the school Login "Northwest Normal epidemic prevention and control statistical information" subsystem, you can browse a list of all persons reporting aggregated data, use [] advanced query data can be combined screening system to graphically display each college has students reporting and non-reporting statistics and key data statistics of the epidemic, [export] can query EXCEL file list;


(4) human-machine interface requirements GUI interface (WEB page, APP page can be);

1. Demand Analysis

The end of December 2019, China Wuhan happen novel coronavirus (2019-nCoV) infected with pneumonia epidemic in order to curb the spread of the epidemic, effectively cut off the transmission of the virus, under the guidance of the central government, government departments at all levels to take a series of prevention and control measures: since 2020, at 10:23 on January Ri Wuhan "closed city", 31 provinces and municipalities have also implemented strict control measures; provinces and cities nationwide to send medical teams to participate in rescue work and Wuhan, Hubei; deployment in the country masks, protective clothing, medicines and other urgently needed medical resources to support Wuhan; to guide and supervise enterprises with production qualification of medical supplies across the country to resume production capacity as soon as possible; directed special financial allocation of funds for disease prevention and control; Wuhan guarantee supplies from other provinces to mobilize people's daily lives. It is worth mentioning that the Chinese Internet companies played an important role in the governance of social epidemic prevention and control. Tencent, for example, about the response to the outbreak control needs to develop a dozen a product. Where the epidemic online inquiry function, to reduce the mutual cross-infection between patients with fever have an important role in patients at home through the Internet Dr. Xiang Zaixian inquiry, reduces the risk of transmission of the virus or infection; rumor smash for the public to take a rational attitude towards the epidemic the development of great significance. Wuhan travel drops also set up a special team to serve the commuter medical staff, which plays an important role in the implementation of Wuhan traffic control. In addition, the new pneumonia patients diagnosed with stroke query tool, users only need to enter their own time by public transport and trips, you can confirm whether the infection was diagnosed counterparts, ahead of self-isolation and treatment work. In epidemic prevention and control, the Chinese Internet companies not only grow in terms of social responsibility has become increasingly mature. Collection, statistics and troubleshooting information about the epidemic prevention and control mechanism for effective cooperation, our school has developed a faculty / student epidemic reporting system to report daily by the staff of the epidemic, the epidemic of students reported daily, daily epidemic secondary sector summary table, four statistical reporting epidemic prevention and control subsystems. To achieve the basic situation of our school all categories of personnel, the regions and information gathering activities and track health. Teachers and students access to the system for remote reporting of information by our university enterprise micro-channel service hall.

2. Functional Design

basic skills

  • The system can collect student epidemic valid information;
  • Students submit information to the administrator at the front end;
  • Colleges designated for logging into the system, you can view all the summary data of students reporting
  • According to head of the student's name, college, find relevant information
  • Leader by [Export] epidemic data available EXCEL file
  • Head of the epidemic can view the data statistics of the college by graphically

3. Design and Implementation

(1) the establishment of a database table are stored four teachers, students and secondary prevention and control of the Ministry of Information and Office

(2) designing the project directory and type eclipse and analysis

controller is the control layer, servlet data layer, as well as implementation layer, etc. etc., servlet class teachers and students in class, used to define their properties

(3) landing page









(4) fill in the registration



(5) prevention and control of school do view



(6) secondary sector inquiry


! (7) histogram to view [] (https://img2020.cnblogs.com/blog/1946388/202003/1946388-20200328170753845-1112737498.png)
(8) Excel Export [] (https:! //Img2020.cnblogs .com / Blog / 1946388/202 003 / 1946388-20200328170836186-62077658.png)
! [] (https://img2020.cnblogs.com/blog/1946388/202003/1946388-20200328170850489-2047271514.png)
(. 9) additional reminders function not implemented ### 4. cooperation of the two shots! [] (https://img2020.cnblogs.com/blog/1946388/202003/1946388-20200328173956036-1943402258.png)
## on this test than the last summary there are a lot of progress, the gap between expected and actual times reduced a lot, this project is more reasonable in the preliminary plan, the completion of a test function better than last, but unfortunately, not completed reminders, follow-up development will continue to update this most important is that two people pair programming, realize the true sense of the effect of 1 + 1> 2, the experimental efficiency has improved a lot, can learn from each other, greatly reducing development time. I hope we can work together to make a better work.

Guess you like

Origin www.cnblogs.com/AlexCrizs/p/12587824.html