20165222 Experiment 3 Agile Development and XP Practice

 

 

 

Experiment content:

 

1. XP Basics

2.XP core practice

3. Related tools

 

 

Second, the specific experimental content

 

(1) Code specification formatting

Summary: I feel that the Code->Reformate Code code reformatting is the best, and I have clicked on the others, including adding text descriptions and wrapping lines, but I feel that it is not very easy to use except for the arrangement format.

Require:

Refer to http://www.cnblogs.com/rocedu/p/6371315.html#SECCODESTANDARD to install the alibaba plug-in to solve the specification problem in the code.

Use the tool (Code->Reformate Code) in IDEA to reformat the following code, and then study the Code menu to find a function that makes you feel the best. Submit a screenshot and add your student ID watermark.

content:

(two)

Require:

Add your learning partner to your own project on the code cloud. After confirming that the partner's project is added to your own, download the Complex code of partner experiment 2, add no less than three JUnit unit test cases, and git add .; git after the test is successful

commit -m "Add content to your student number"; git push;

Submit a screenshot of the partner project git log, including the above git commit information, and add your own student number watermark information.

content:

(three)

 

Require:

Complete the refactoring exercises, download your partner's code, perform at least three refactorings, submit a screenshot of the refactored code, and add your own student ID watermark. Submit your partner's code cloud project link.

 

content:

This was supposed to be Example 8-16 in his code book. Then I refactored the name to be the English word for the calendar. Then encapsulate the variables in the three classes. Finally, use Extract Method to refactor to turn a complex code into

gerset。

 

(Four)

Requirements: Refer to http://www.cnblogs.com/rocedu/p/6683948.html to complete the learning of Java cryptography related content in pairs, combined with refactoring, git, and code standards.

content:

Our group designed the bm algorithm. Although the bm algorithm requires a sequence of 0 and 1 to be input, our group can form a sequence of 0 and 1 by modulating the input number to 2. So even if I enter my student number, the sequence formed after all mod2 of 20165222

Column 00101000 has the same status.

Code cloud link https://gitee.com/BESTI-IS-JAVA-2018/20165222lixu. Because we are in a team, open the link to see the two of us.

 

Experiment time

 Experimental procedure time consuming   percentage
 topic analysis  20  16.6
 idea design  15  12.5
 Code  60  50.0
 debug test  15  12.5
 Experimental summary  10  8.33

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325383782&siteId=291194637