201771010101- Pema Tsering third experiment twinning project - "Northwest Normal epidemic prevention and control information system" project report

Third experiment twinning project - "Northwest Normal epidemic prevention and control information system"

Twinning Project Summary link project content
Course class blog link: https://edu.cnblogs.com/campus/xbsf/nwnu2020SE
The operational requirements links: https://www.cnblogs.com/nwnu-daizh/p/12521474.html
Other job knot link https://www.cnblogs.com/qiongji/p/12575001.html
The Github repository link address: https://github.com/bauahd1/-3
My course learning objectives: They (1) experience in software development cooperation, practice pair programming. (2) method of operation control Github collaborative development programs.

Experimental content and procedures:

* Task 1:

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;

concept:

Code style specification:

: Code norms remain concise style, to make the code easier to read and better understand and maintain the program, a large part of the problem is the format of the code, because the code formatting issues appear to bear on the project and so many debugging problems. Program spaces, capitalization, highlighting read comments obtained, and simple.

Code design specifications:

: None specification code design problem is the format of the program, as well as the relationship between the programming module and module design patterns and programming
the specific content using the language associated with the operator.

Code review:

: Within the normative framework code has no right to solve the problem, self-review, peer review, the review team like to see the error code and algorithms, to identify the team does not meet code specifications and other places.

Pair programming:

: Pair programming process to help each other, side by side, equally, the development process, analyze together, designing together, etc.

* Task 2

Twenty-two freedom twinning, to knot the other side "experiment two software engineering personal projects," the results of the project evaluation, specific requirements are as follows:
(1) the project Bowen job to read and comment , comment highlights include: Bowen structure, blog content, blog structure and PSP in "the object of the" relationship column, the PSP "program total time required to complete the" Research and differentiated analysis and reason, "the actual completion time of need," two of data, will be released over the comment content to a blog comments section .
(2) cloning colorectal 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.
(3) based on the results of the review to try to source personal companion project to cooperate warehouse use github modification of Fork, Clone, Push, Pull request , Merge pull request other operations.

* Comments Screenshot:


* Experiment two shots chat part:


* Task 3

Using 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) can collect various types of school staff and students epidemic information;
(2) each of the secondary sector epidemic prevention and control person in charge 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 school Leader Login "Northwest Normal epidemic prevention and control statistical information" subsystem, you can browse a list of all persons reporting aggregated data, use [] advanced query may be a combination of data screening system to graphically display the college students have been reporting and non-reporting statistics and key data statistics of the epidemic, can [export] query list EXCEL file;
(4) human-machine interface requirements GUI interface (WEB page, APP page can be);
(5) additional points function: Timing fill remind

1. Requirements Analysis:


. Using 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) can collect various types of school staff and students epidemic 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 school Leader 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 the college students have been reporting and non-reporting statistics and key data statistics of the epidemic, [export] can query EXCEL file list;
(4) human-machine interface requirements WEB GUI interface page, APP page can be);
(5) additional points function: Timing fill remind

2. Software Design Description:


* Database attempt part part:


* Attempt to export Excel table to add software components:

3. software and core function code shows:


       public void writeFile()

		{
			try
			{

			w_file = new FileWriter("F:\\学生信息.txt");
			buf_writer = new BufferedWriter(w_file);
			String t=" ";
			String number = textField .getText();//读入学号
			buf_writer.write(number,0,number.length());
			buf_writer.write(t,0,t.length());
				
			String name = textField_1.getText();//读入姓名
			buf_writer.write(name,0,name.length());
			buf_writer.write(t,0,t.length());
				
			buf_writer.write(sex,0,sex.length());//读入性别
			buf_writer.write(t,0,t.length());
				
				
			String cell1= textField_6 .getText();//读入班级
			buf_writer.write(cell1,0,cell1.length());
			buf_writer.write(t,0,t.length());
				
			String cell11= textField_7 .getText();//读入班级
			buf_writer.write(cell11,0,cell11.length());
				buf_writer.write(t,0,t.length());
				
				String nom = textField_2 .getText();
				buf_writer.write(nom,0,nom.length());
				buf_writer.write(t,0,t.length());
				
				String clas= textField_3 .getText();
				buf_writer.write(clas,0,clas.length());
				buf_writer.write(t,0,t.length());
				
				String clasS= textField_4 .getText();
				buf_writer.write(clasS,0,clasS.length());
				buf_writer.write(t,0,t.length());
				
				String cell= textField_5 .getText();
				buf_writer.write(cell,0,cell.length());
				buf_writer.write(t,0,t.length());
				
				
				buf_writer.flush();
				JOptionPane.showMessageDialog(null, "保存成功");
				
			}
			catch(IOException ew)
			{
				System.out.print(ew);
			}
		}
		
	});
	btnNewButton.setBounds(531, 371, 123, 29);
	frame.getContentPane().add(btnNewButton);
	
	JLabel lblNewLabel_1 = new JLabel("姓名:");
	lblNewLabel_1.setFont(new Font("宋体", Font.PLAIN, 24));
	lblNewLabel_1.setBounds(29, 153, 81, 21);
	frame.getContentPane().add(lblNewLabel_1);
	
	textField_1 = new JTextField();
	textField_1.setBounds(102, 152, 167, 27);
	frame.getContentPane().add(textField_1);
	textField_1.setColumns(10);
	
	JLabel label_1 = new JLabel("性别:");
	label_1.setFont(new Font("宋体", Font.PLAIN, 24));
	label_1.setBounds(29, 199, 81, 21);
	frame.getContentPane().add(label_1);
	
	JComboBox comboBox = new JComboBox();
	 
	comboBox.setModel(new DefaultComboBoxModel(new String[] {"男", "女"}));
	comboBox.setBounds(102, 198, 167, 27);
	comboBox.addItemListener(this);
	frame.getContentPane().add(comboBox);
	
	JLabel label_2 = new JLabel("所在省:");
	label_2.setFont(new Font("宋体", Font.PLAIN, 24));
	label_2.setBounds(393, 107, 113, 21);
	frame.getContentPane().add(label_2);
	
	JLabel label_3 = new JLabel("所在市");
	label_3.setFont(new Font("宋体", Font.PLAIN, 24));
	label_3.setBounds(393, 155, 81, 21);
	frame.getContentPane().add(label_3);
	

	JLabel label_4 = new JLabel("所在区");
	label_4.setFont(new Font("宋体", Font.PLAIN, 24));
	label_4.setBounds(393, 200, 81, 21);
	frame.getContentPane().add(label_4);
	
	JLabel label_5 = new JLabel("备注:");
	label_5.setFont(new Font("宋体", Font.PLAIN, 24));
	label_5.setBounds(393, 268	, 81, 21);
	frame.getContentPane().add(label_5);
	
	JLabel lblNewLabel_6 = new JLabel("班级:");
	lblNewLabel_6.setFont(new Font("宋体", Font.PLAIN, 24));
	lblNewLabel_6.setBounds(29,243, 81, 21);
	frame.getContentPane().add(lblNewLabel_6);
	
	JLabel lblNewLabel_7 = new JLabel("学院:");
	lblNewLabel_7.setFont(new Font("宋体", Font.PLAIN, 24));
	lblNewLabel_7.setBounds(29,293, 81, 21);
	frame.getContentPane().add(lblNewLabel_7);
	
	textField_2 = new JTextField();
	textField_2.setBounds(521, 107, 147, 27);
	frame.getContentPane().add(textField_2);
	textField_2.setColumns(10);
	
	textField_3 = new JTextField();
	textField_3.setBounds(521, 152, 147, 27);
	frame.getContentPane().add(textField_3);
	textField_3.setColumns(10);
	
	textField_4 = new JTextField();
	textField_4.setBounds(521, 200, 147, 27);
	frame.getContentPane().add(textField_4);
	textField_4.setColumns(10);
	
	textField_5 = new JTextField();
	textField_5.setBounds(521, 258, 147, 100);
	frame.getContentPane().add(textField_5);
	textField_5.setColumns(10);
	
	textField_6 = new JTextField();
	textField_6.setBounds(102, 242, 167, 27);
	frame.getContentPane().add(textField_6);
	textField_6.setColumns(10);
	
	
	textField_7 = new JTextField();
	textField_7.setBounds(102, 292, 167, 27);
	frame.getContentPane().add(textField_7);
	textField_7.setColumns(10);
	
	
	JButton button = new JButton("\u53D6\u6D88");
	button.setBounds(86, 371, 123, 29);
	frame.getContentPane().add(button);
}

4. The program runs:


* 4.1 login screen shots:


* 4.2 user name or password login screen displays an error:


* 4.3 successful login screen displays:


* 4.4 teachers and students in different administrator login:


* 4.5 Simple epidemic table after completing successfully saved written in a text document:


* 4.6 text document path:


* 4.7 Text Document Content:


* 4.8 student's name and student number of small systems related to:


* Students add 4.9:


* 4.10 with a Student ID check Name:


* 4.11 by name search school, no student found:


* 4.12 with a Student ID Sort:


* 4.13 times and school attendance numbers:


* 4.14 import content into an Excel table:


* 4.15Excel path table:


* 4.16Excel table of contents:


* Content 4.17 Add:


5. GitHub repository:



* Bauahd and bauahd1:


* 1 showing bauahd:

*bauahd中的显示图2(bauahd中显示的beuahd1-3是本次实验三的仓库):

*bauahd1中的仓库显示(-3是实验三仓库)1:

6.结对作业的PSP:


psp2.1 任务内容 计划共完成需要的时间(min) 实际完成需要的时间(min)
Planning 计划 10 30
Estimate 估计这个任务需要多少时间,并规划大致工作步骤 430 580
Development 开发 420 540
Analysis 需求分析(包括新技术) 10 20
Desig Spec 生成设计文档 20 40
Desgin Review 设计复审 30 40
Coding Standard 代码规范 30 50
Desgin 具体设计 10 25
Coding 具体编码 240 360
Code Review 代码复审 60 180
Test 测试 15 20
Reporting 报告 60 80
Test Report 测试报告 6 30
Size Measurement 计算工作量 6 15
Postmortem&Process lmprovement Plan 事后总结并提出改进计划 10

7.实验总结:


项目中很难得到1+1>2的效果,在这次结对项目中很难再一起讨论代码部分的内容,但在GitHub等结对仓库建立过程中一起查找资料,一起沟通等来解决。这次项目由于代码方面比较薄弱,进行的不太好有点遗憾。

Guess you like

Origin www.cnblogs.com/baimaciren/p/12573488.html