Ga 14 15

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Software Engineering Laboratory (UGCA1924) Gaurav: 2202001

Practical – 14: Find Maintainability Index and Reusability


Index of above-mentioned problem.

Problem 1: Slow website loading times


Maintainability Index: Suppose the code changes made to optimize the
website's loading times had a complexity score of 70, a code duplication score of 90,
a code documentation score of 80, and a code structure score of 75. Using the
formula provided by SonarQube, the Maintainability Index would be calculated as
follows:
MI = (171 - 5.2 * ln(V) + 0.23 * (70) - 16.2 * ln(90) + 50 * sin(sqrt(2.4
* 80)) + 1.5 * 75) * 100 / 171
MI = 72.45
Reusability Index: To calculate the Reusability Index, we would need to analyze
the code changes made and determine how reusable they are. If the code changes
included creating reusable functions or components that could be used elsewhere in
the website, this would increase the Reusability Index.
Problem 2: Email not working
Maintainability Index: Suppose the code changes made to fix the email issue
had a complexity score of 60, a code duplication score of 80, a code documentation
score of 70, and a code structure score of 65. Using the same formula as before, the
Maintainability Index would be calculated as follows:
MI = (171 - 5.2 * ln(V) + 0.23 * (60) - 16.2 * ln(80) + 50 * sin(sqrt(2.4
* 70)) + 1.5 * 65) * 100 / 171
MI = 67.38
Reusability Index: To calculate the Reusability Index, we would need to analyse
the code changes made and determine how reusable they are. If the code changes
included creating reusable functions or components that could be used elsewhere in
the website, this would increase the Reusability Index. Software Engineering Laboratory
(UGCA1924) Deepansh: 2201992
Software Engineering Laboratory (UGCA1924) Gaurav: 2202001

Practical – 15: Using any Case Tool find number of


statements, depth and complexity of the prototype.

Use of CASE tools accelerates the development of project to produce desired


Practical – 14: Find Maintainability Index and Reusability
Index of above-mentioned problem.
Problem 1: Slow website loading times
Maintainability Index: Suppose the code changes made to optimize the
website's loading times had a complexity score of 70, a code duplication score of 90,
a code documentation score of 80, and a code structure score of 75. Using the
formula provided by SonarQube, the Maintainability Index would be calculated as
follows:
MI = (171 - 5.2 * ln(V) + 0.23 * (70) - 16.2 * ln(90) + 50 * sin(sqrt(2.4
* 80)) + 1.5 * 75) * 100 / 171
MI = 72.45
Reusability Index: To calculate the Reusability Index, we would need to analyze
the code changes made and determine how reusable they are. If the code changes
included creating reusable functions or components that could be used elsewhere in
the website, this would increase the Reusability Index.
Problem 2: Email not working
Maintainability Index: Suppose the code changes made to fix the email issue
had a complexity score of 60, a code duplication score of 80, a code documentation
score of 70, and a code structure score of 65. Using the same formula as before, the
Maintainability Index would be calculated as follows:
MI = (171 - 5.2 * ln(V) + 0.23 * (60) - 16.2 * ln(80) + 50 * sin(sqrt(2.4
* 70)) + 1.5 * 65) * 100 / 171
MI = 67.38
Reusability Index: To calculate the Reusability Index, we would need to analyse
the code changes made and determine how reusable they are. If the code changes
included creating reusable functions or components that could be used elsewhere in
the website, this would increase the Reusability Index. Software Engineering Laboratory (UGCA1924) Deepansh:
2201992

Practical – 15: Using any Case Tool find number of


statements, depth and complexity of the prototype.
Use of CASE tools accelerates the development of project to produce desired result
and helps to uncover flaws before moving ahead with next stage in software
development.
Requirements of a prototyping CASE tool:
Software Engineering Laboratory (UGCA1924) Gaurav: 2202001

Prototyping is beneficial to know the necessities of complicated package product, to


demonstrate an idea, to plug new concepts, and so on. The vital options of a
prototyping CASE tool are as follows:
Define user interaction
Define the system management flow
Store and retrieve knowledge needed by the system
Incorporate some processing logic
Features of a good prototyping CASE tool:
There are many complete prototyping tools. however, a tool that integrates with the
information wordbook will create use of the entries within the data dictionary,
facilitate in populating the information wordbook and make sure the consistency
between the planning data and also the paradigm. a decent prototyping tool ought to
support the subsequent features:
Since one among the most uses of a prototyping CASE tool is graphical program
(GUI) development, prototyping CASE tool ought to support the user to make an
interface employing a graphics editor.
The user ought to be allowed to outline all knowledge entry forms, menus
and controls.
It ought to integrate with the information wordbook of CASE surroundings.
If doable, it ought to be able to integrate with external user outlined modules
written in C or some in style high-level programming languages.
The user ought to be able to outline the sequence of states through that a
created paradigm will run. The user ought to even be allowed to manage the
running of the paradigm.
The run time system of paradigm ought to support mock runs of the
particular system and management of the input and output knowledge.
result
and helps to uncover flaws before moving ahead with next stage in software
development.
Requirements of a prototyping CASE tool:
Prototyping is beneficial to know the necessities of complicated package product,
to
demonstrate an idea, to plug new concepts, and so on. The vital options of a
prototyping CASE tool are as follows:
Define user interaction
Define the system management flow
Store and retrieve knowledge needed by the system
Incorporate some processing logic
Features of a good prototyping CASE tool:
There are many complete prototyping tools. however, a tool that integrates with
the
information wordbook will create use of the entries within the data dictionary,
facilitate in populating the information wordbook and make sure the consistency
between the planning data and also the paradigm. a decent prototyping tool ought
to
support the subsequent features:
Since one among the most uses of a prototyping CASE tool is graphical program
Software Engineering Laboratory (UGCA1924) Gaurav: 2202001

(GUI) development, prototyping CASE tool ought to support the user to make an
interface employing a graphics editor.
The user ought to be allowed to outline all knowledge entry forms, menus
and controls.
It ought to integrate with the information wordbook of CASE surroundings.
If doable, it ought to be able to integrate with external user outlined modules
written in C or some in style high-level programming languages.
The user ought to be able to outline the sequence of states through that a
created paradigm will run. The user ought to even be allowed to manage the
running of the paradigm.
The run time system of paradigm ought to support mock runs of the
particular system and management of the input and output knowledge.

You might also like