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
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
I want the answer of part c
arrow_forward
I want you to draw HGL& EGL
For the first picture using the same method on the second picture
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
Can you help me with this problem?
P1 is where the blue dot is
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
The first photo is the question, where the 2nd shows some problem solving strategies
arrow_forward
Can you write me a program manuscript using geometric definition on FAPT language.
The starting point is P1 and starts where the blue dot is. P1 = 0,0
arrow_forward
+ → CO
A student.masteryconnect.com/?iv%3D_n5SY3Pv5S17e01Piby
Gr 8 Sci Bench 1 GradeCam Rutherford TN 2021
AHMAD, ASHNA
D0
3 of 35
A student develops a model of an electric motor using two pins, a wire coil,
coil continues to spin with a certain speed.
wire coil
pins
magnet
tape
battery
How can the student increase the speed of the electric motor?
O by using wider pins
O by using thinner pins
O by using less wire in the clil
O by using more wire in the coil
e Type here to search
近
arrow_forward
The Weather Monitor. Your South American expedition splits into two groups: one that stays at home base, and yours that goes off to
set up a sensor that will monitor precipitation, temperature, and sunlight through the upcoming winter. The sensor must link up to a
central communications system at base camp that simultaneously uploads the data from numerous sensors to a satellite. In order to
set up and calibrate the sensor, you will have to communicate with base camp to give them specific location information.
Unfortunately, the group's communication and navigation equipment has dwindled to walkie-talkies and a compass due to a river-raft
mishap, which means your group must not exceed the range of the walkie-talkies (3.0 miles). However, you do have a laser rangefinder
to help you measure distances as you navigate with the compass. After a few hours of hiking, you find the perfect plateau on which to
mount the sensor. You have carefully mapped your path from base camp around lakes and…
arrow_forward
Every time I use this code the two lies come up but they keep on showing up separately. I need one line on top of the other or make it look like one line just like it’s shown on the picture I need the two line together and make it one line. If you can please make the lines less curved make it look line the line on the picture.
With what I’m asking from you please fix it using this code using MATLAB and send back the code.
% Sample data for Diesel and Petrol cars
carPosition = linspace(1, 60, 50); % Assumed positions of cars
% Fix the random seed for reproducibility
rng(45);
% Assumed positions of cars
CO2Diesel = 25 + 5*cos(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Diesel
CO2Petrol = 20 + 5*sin(carPosition/60*2*pi) + randn(1, 50)*5; % Random data for Petrol
% Fit polynomial curves
pDiesel = polyfit(carPosition, CO2Diesel, 3);
pPetrol = polyfit(carPosition, CO2Petrol, 3);
% Generate points for best fit lines
fitDiesel = polyval(pDiesel, carPosition);
fitPetrol =…
arrow_forward
I asked for problems 6 and 7 to be answered, but I did not get a properly structured answered as the example shows on problem number 1. Here is the link to the questions I already had answered, could you please rewrite the answer so its properly answered as the example shows (Problem 1)?
https://www.bartleby.com/questions-and-answers/it-vivch-print-reading-for-industry-228-class-date-name-review-activity-112-for-each-local-note-or-c/cadc3f7b-2c2f-4471-842b-5a84bf505857
arrow_forward
Don't use chatgpt will upvote
arrow_forward
Please do not rely too much on chatgpt, because its answer may be wrong. Please consider it carefully and give your own answer. You can borrow ideas from gpt, but please do not believe its answer.Very very grateful!
Please do not copy other's work,i will be very very grateful!!
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
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_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_forwardI want the answer of part carrow_forwardI want you to draw HGL& EGL For the first picture using the same method on the second picturearrow_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_forwardCan you help me with this problem? P1 is where the blue dot isarrow_forwardsolve this please on ANSYS and give me screenshots how you did it, pleasearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY