Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION: Provide suitable Summary Measures (for example, Average/mean, Median, Standard Deviation etc.) for a) #Instructions b) CyclomaticComplexity c) #LocalVariables that provide an accurate, statistically relevant

QUESTION:

Provide suitable Summary Measures (for example, Average/mean, Median, Standard Deviation etc.) for

a) #Instructions

b) CyclomaticComplexity

c) #LocalVariables

that provide an accurate, statistically relevant summary of the distribution of the corresponding metric.

*NOTES: Please justify and explain detail the choice of summary measures and list the corresponding values.

#TABLE

The table given below lists 6 metrics for each of the 20 methods of a Java class named 'Directory'.

image text in transcribed
ClassName MethodName Visibility ByteSize #Instructions CyclomaticComplexity #Parameters #LocalVariables jdf/tools/io/Directory public 48 27 2 3 jdf/tools/io/Directory public 27 15 2 jdf/tools/io/Directory canRead public 8 4 1 jdf/tools/io/Directory canWrite public 8 4 P jdf/tools/io/Directory exists public 8 4 jdf/tools/io/Directory filter public 99 51 jdf/tools/io/Directory getAbsolutePath public 8 jdf/tools/io/Directory getFilter private 14 10 jdf/tools/io/Directory getName public 5 jdf/tools/io/Directory list public 8 HONNAHHHOHOOHOHOOOPH jdf/tools/io/Directory list public 9 jdf/tools/io/Directory list Files public 8 jdf/tools/io/Directory listFiles public 9 jdf/tools/io/Directory listFiles public 9 jdf/tools/io/Directory list Files public 10 jdf/tools/io/Directory listFiles public 144 74 jdf/tools/io/Directory listFiles public 82 41 jdf/tools/io/Directory listFiles public 11 7 jdf/tools/io/Directory mkdir public 8 4 jdf/tools/io/Directory printFiles private 28 16

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Measure Theory And Integration

Authors: M M Rao, MM Rao

2nd Edition

1351991485, 9781351991483

More Books

Students also viewed these Mathematics questions

Question

2. Develop a good and lasting relationship

Answered: 1 week ago

Question

1. Avoid conflicts in the relationship

Answered: 1 week ago