Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

Brunel - Computer Science - CS3003 Software Engineering (Pass)

Rating
-
Sold
1
Pages
8
Uploaded on
28-02-2022
Written in
2020/2021

CS3003 Software Engineering Coursework for Brunel University - Pass or fail (Passed) 2021

Institution
Module

Content preview

CS3003 Software Engineering
Threshold Coursework 2020




Word Count: 1980

,Contents
Section 1: Metrics ................................................................................................................................... 2
Section 2: Analysis and Discussion of results .......................................................................................... 3
Section 3: References.............................................................................................................................. 7




1

, Section 1: Metrics


When designing software, there are several factors and measures that are put in place to ensure
high quality and standards are met. This is due to the benefits of developing quality software such as
the contributions made towards maintainability. Producing quality software will reduce the costs of
maintenance as well as reduce the likelihood of errors occurring. The implications of poorly designed
software may result in the functionality of the software not working as intended, due to code smells
and overly complex code resulting in errors or bugs. Software metrics are used to measure whether
software has met the target of being of high quality. With software metrics, we are able to establish
guidelines to understand what needs to be done and how - as well as encouraging improvements to
achieve quality targets.

The metrics that will be used to evaluate the Ant system will firstly be calculating the lines of code
(LOC). This metric measures the lines of source code, which is used to estimate the size of the
project. This is important for estimations such as costs of the project; as the lines of code increases,
as does the cost. Using LOC is an easy measure to calculate the size of the project and based on the
result of the metric, resources can be allocated to clean and improve the code. The larger a code
base gets the more difficult to maintain and therefore more bug prone. (Sathanandam, A et. al 2017)

Using more than one means of measurement to evaluate the complexity is integral during the
analysis of this software. The metric weighted methods per class (WMC) measures the number of
methods in a class, and as the number of methods increase within a class, the level of reusability of
the class decreases. (Virtual Machinery - Sidebar 3 - WMC, CBO, RFC, LCOM, DIT, NOC - 'The
Chidamber and Kemerer Metrics', 2000) This metric is important as this measurement will provide
an insight to existing code smells within the software such as large classes and therefore solutions
can be put in place to resolve this and improve the quality of the software, overall reducing the
likelihood of errors.

The cyclomatic complexity is used to measure the complexity of a module through the calculation of
decisions or independent paths taken in the software. The average cyclomatic complexity (AVGCC) is
the average of this direct measure of the independent paths. This is important as the more decisions
made within a program, the more complex it becomes and therefore become more prone to bugs.
Additionally, the larger the AVGCC measurement, the more difficult testing becomes for the system.

Lastly, the fan-out metric will be used throughout the analysis of the Ant system. This is due to the
fan-out metric presenting the number of classes, that each class in the system calls. This is important
as it is a direct measure of the number of classes each class depends on. Therefore, numerically
showcasing the coupling and potential volume of errors being caused from any changes made within
these used classes - due to the dependencies. The larger the fan-out figure the bigger the impact on
the system, if any changes occur, and therefore the increased likelihood of bugs in the system.




2

Written for

Institution
Study
Module

Document information

Uploaded on
February 28, 2022
Number of pages
8
Written in
2020/2021
Type
OTHER
Person
Unknown

Subjects

$19.69
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
cslbrunel Brunel University
Follow You need to be logged in order to follow users or courses
Sold
63
Member since
4 year
Number of followers
34
Documents
29
Last sold
7 months ago
Brunel Computer Science (1st Class Honours)

I achieved a First Class Honours degree in Computer Science from Brunel University - I will be uploading some of my work. Please do not purchase any documents looking for the solution to your assignments or deliverables. No refunds / exchanges.

5.0

2 reviews

5
2
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions