Assignment4
docx
keyboard_arrow_up
School
Arizona State University *
*We aren’t endorsed by this school
Course
515
Subject
Mechanical Engineering
Date
Feb 20, 2024
Type
docx
Pages
1
Uploaded by MasterBoar4135
SER515 Foundations of Software Engineering
Assignment 4
Advanced SE Module
The various files (Word docs and zipfiles) asked for by each Part should be combined into one zipfile named ser515_<asurite>_Assign4.zip (no 7zip or other formats please). I would like to remind you of the importance of following instructions and submitting on time. Do not “forget” items; do not leave yourself enough time – don’t give away points!
PART I: Dependencies and Build Tools (30 points)
1.
JDepend
is a tool that calculates Uncle Bob’s metrics for code dependencies. You can find a straightforward definition of these metrics in the tools docs directory or on this Wikipedia page
(or in a lot of other blogs). Note that it talks about Afferent and Efferent coupling, the Abstraction and Instability concepts, and the derived metric Distance for comparing the Abstraction versus Instability. JDepend will calculate all of these these for you. With JDepend do the following:
a.
Run JDepend on the Spring PetClinic project we used for the ICA on November 16
th
. You can do this at the command-
line and generate the XML report by following the instructions that come with the library in the docs directory. Save the report as ser515_a4_part1_ASURITE.xml.
b.
Identify the Java package with the best
performance and the package with the worst
performance. In your Word doc under Part 1 task 1, identify these and explain why they are best and worst respectively.
2.
Write a Maven or Gradle plugin (your choice) that calculates the Abstraction coupling metric
for Java code. Yes JDepend does this for you (you may use JDepend as your test oracle for your unit tests), but I want you to write your own and only for this measure. Note that calculating the measure is a straightforward algorithm, and I am only asking you to do it for the .java files in a single given directory (in Java by convention source code files are put in a subdirectory structure that matches the package structure, just like javac does for compiled .class files). a.
The choice of Maven versus Gradle plugin is up to you, but keep in mind Maven has a Java API while gradle plugins are written in Groovy or Kotlin.
b.
Create a zipfile of your plugin complete with what goes in a pom.xml or build.gradle. You should have a readme.[md|
txt] for this task in the root folder of this submission that tells everything we need to know about building and using the
plugin.
c.
Create a zipfile from the root of the source folder named ser515_a4_part1_plugin_ASURITE.zip
Part II: AI and SE (20 points)
Ask ChatGPT to create a JUnit test for the SimpleSquareRootFunction.java code we used for our JUnit ICA by typing in the query “Create a Junit test for the code:” + paste the contents of SimpleSquareRootFunction.java
1.
Save the output to your Word file (screenshot(s)) under Part II.
2.
Answer in your Word file: Did ChatGPT generate valid unit tests? Did it generate complete tests?
3.
Try additional queries to try and get better results from ChatGPT. In your Word doc list the various queries you tried and give the results (screenshots again) only for the best result
. You need to try a minimum of 2 additional queries, and you should achieve better results than the initial query in your best result. Explain why the results are better.
4.
In your Word doc, write about 250-350 words on the impact ChatGPT is most likely
to have on software engineering, and describe one benefit and one negative consequence of this technology (GenerativeAI) on the future of SE. (For reference, Part 1 is 326 words. Please do keep your answer in the specified range.
Part III: Advanced SE Topic (20 points)
In addition to AI, in this module we are covering a mishmash of advanced SE topics very quickly. I have listed readings from your textbook, mostly introductory and small selected sections from chapters 9 to 13. Pick any ONE of these topics from this reading list that most interests you and you feel is very important. Answer the following:
1.
Find the corresponding section in the SWEBoK for the topic. Compare and contrast what Sommerville says in the specified sections and what the SWEBoK says (are they in agreement or are their significant differences – be specific)
2.
Why does the topic interest you? 3.
Why is it important now, and why will it be important in the future?
4.
Discuss how this topic has changed over time – from pre-agile to present-day dominance of agile/lean/devops. I am looking for a) what agile says, if anything, about the topic (give references if needed), b) how significant the change is (positive or negative), and c) does the concept change in practice (how it is done and integrated into the process).
I do not have a specific word count limit for Part III, but I would think you could complete it in about 500 words, which is about ½ a page. If you need more space that is OK but don’t go more than a page.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Related Questions
You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture
fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates
implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial
weight bearing activities.
Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to
verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into
solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending
test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the
yield stress for the Ti-6Al-4V…
arrow_forward
Hartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectors
arrow_forward
I need help solving this problem.
arrow_forward
Identify the lines
arrow_forward
arrow_forward
Oh no! Our expert couldn't answer your question.
Don't worry! We won't leave you hanging. Plus, we're giving you back one question for the inconvenience.
Here's what the expert had to say:
Hi and thanks for your question! Unfortunately we cannot answer this particular question due to its complexity. We've credited a question back to your account. Apologies for the inconvenience.
Ask Your Question Again
5 of 10 questions left
until 8/10/20
Question
Asked Jul 13, 2020
1 views
An air conditioning unit uses Freon (R-22) to adapt an office room at temperature 25 oC in the summer, if the temperature of the evaporator is 16 oC and of the condenser is 48 oC. The reciprocating compressor is single acting, number of cylinders are 2, the volumetric efficiency is 0.9, number of revolutions are 900 r.p.m. and L\D= 1.25. If the compressor consumes a power of 3 kW and its mechanical efficiency is 0.9. Find the following:
(A) Flow rate of the refrigerant per…
arrow_forward
HW_5_01P.pdf
PDF
File | C:/Users/Esther/Downloads/HW_5_01P.pdf
2 Would you like to set Microsoft Edge as your default browser?
Set as default
To be most productive with Microsoft Edge, finish setting up your
Complete setup
Maybe later
browser.
(D Page view A Read aloud V Draw
7 Highlight
2
of 3
Erase
5. Two cables are tied to the 2.0 kg ball shown below. The ball revolves in a horizontal
circle at constant speed. (Hint: You will need to use some geometry and properties of
triangles and their angles!)
60°
1.0 m
60°
© 2013 Pearson Education, Inc.
(a) For what speed is the tension the same in both cables?
(b) What is the tension?
2.
2:04 PM
O Type here to search
C A
2/9/2021
(8)
arrow_forward
Which of the follow statement(s) correctly completes the following sentence fragment?
The setup() function in an Arduino sketch ...
(There may be more than one correct answer)
a) is executed only once after a new sketch is uploaded to the Arduino board, or the Arduino
board is reset (user presses "reset" button).
b) can be replaced by a user-defined function like "my_setup()"
c) must always start by making a serial connection to the host computer with Serial.begin().
d) is executed only once when an Arduino board that has been disconnected from the USB
cable is reconnected to that cable. (Assume that the other end of the USB cable is connected
to a computer)
arrow_forward
I want to answer all the questions by handwriting.
arrow_forward
Don't copy paste someone else answer if I get to know I'll report and downvote too do on your own and only handwritten with proper steps not that handwritten only
arrow_forward
You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:
arrow_forward
4. Documents business requirements use-case narratives.for only one process
note: please i want Documents like this in pic
arrow_forward
I want the answer of part c
arrow_forward
In a hypothetical scenario respond to the following email to reasuure the owner and in an informative and professional way.
Dear Project Manager-
I am so excited to have broken ground on the new mixed use space. As I watch the underground utilities such as water, storm drain, and sewer get installed I find myself worrying about failures. What steps are you taking to ensure those systems will not have to be dug up and repaired later in the construction process? We cannot afford a delay of any kind. Could you please explain how you plan to prevent any delays and ensure that the systems are functional and leak free.
The other concern that has come up that I would like to address now is the comfort of the office staff. Our current building is not comfortable. I am wondering why. We have the temperature appropriately set and it is easily maintained, but people still complain. What can we do to ensure they will be comfortable in the new building? A few months ago I asked one of our…
arrow_forward
Make a simulink program turning on the LED on the board for 10sec. Can you write down the steps to create the simulink program because it is my first time using it.
arrow_forward
I drew it but I don't know where I have to connect it. Where do I put dashed lines (if needed) where are the solid lines? Did I do it right?
arrow_forward
Draw it on the graph provided please!
arrow_forward
solve this please on ANSYS and give me screenshots how you did it, please
arrow_forward
Can someone please help to solve all of the following problem showing all work and include a load chart. Thank you!
arrow_forward
I need to adapt a real-life system to this assignment. It doesn't need to be a very complicated system.
I am a senior mechanical engineering student. I need help with my mechanical theory homework
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
Related Questions
- You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial weight bearing activities. Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the yield stress for the Ti-6Al-4V…arrow_forwardHartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectorsarrow_forwardI need help solving this problem.arrow_forward
- Identify the linesarrow_forwardarrow_forward Oh no! Our expert couldn't answer your question. Don't worry! We won't leave you hanging. Plus, we're giving you back one question for the inconvenience. Here's what the expert had to say: Hi and thanks for your question! Unfortunately we cannot answer this particular question due to its complexity. We've credited a question back to your account. Apologies for the inconvenience. Ask Your Question Again 5 of 10 questions left until 8/10/20 Question Asked Jul 13, 2020 1 views An air conditioning unit uses Freon (R-22) to adapt an office room at temperature 25 oC in the summer, if the temperature of the evaporator is 16 oC and of the condenser is 48 oC. The reciprocating compressor is single acting, number of cylinders are 2, the volumetric efficiency is 0.9, number of revolutions are 900 r.p.m. and L\D= 1.25. If the compressor consumes a power of 3 kW and its mechanical efficiency is 0.9. Find the following: (A) Flow rate of the refrigerant per…arrow_forwardHW_5_01P.pdf PDF File | C:/Users/Esther/Downloads/HW_5_01P.pdf 2 Would you like to set Microsoft Edge as your default browser? Set as default To be most productive with Microsoft Edge, finish setting up your Complete setup Maybe later browser. (D Page view A Read aloud V Draw 7 Highlight 2 of 3 Erase 5. Two cables are tied to the 2.0 kg ball shown below. The ball revolves in a horizontal circle at constant speed. (Hint: You will need to use some geometry and properties of triangles and their angles!) 60° 1.0 m 60° © 2013 Pearson Education, Inc. (a) For what speed is the tension the same in both cables? (b) What is the tension? 2. 2:04 PM O Type here to search C A 2/9/2021 (8)arrow_forward
- Which of the follow statement(s) correctly completes the following sentence fragment? The setup() function in an Arduino sketch ... (There may be more than one correct answer) a) is executed only once after a new sketch is uploaded to the Arduino board, or the Arduino board is reset (user presses "reset" button). b) can be replaced by a user-defined function like "my_setup()" c) must always start by making a serial connection to the host computer with Serial.begin(). d) is executed only once when an Arduino board that has been disconnected from the USB cable is reconnected to that cable. (Assume that the other end of the USB cable is connected to a computer)arrow_forwardI want to answer all the questions by handwriting.arrow_forwardDon't copy paste someone else answer if I get to know I'll report and downvote too do on your own and only handwritten with proper steps not that handwritten onlyarrow_forward
- You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:arrow_forward4. Documents business requirements use-case narratives.for only one process note: please i want Documents like this in picarrow_forwardI want the answer of part carrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning