answersLogoWhite

0


Best Answer

Unit test can be done within a single module

Cohesion of a single module/component is the degree to which its responsibilities form a meaningful unit; higher cohesion is better.

Someone had vague reference to decomposability here. Clarification?

How about: 'Cohesion is inversely proportional to the number of responsibilities a module/component has.'

Coupling between modules/components is their degree of mutual interdependence; lower coupling is better.

size: number of connections between routines

intimacy: the directness of the connection between routines

visibility: the prominence of the connection between routines

flexibility: the ease of changing the connections between routines

A first-order principle of software architecture is to increase cohesion and reduce coupling.

so having coupling in program is not correct

reduce coupling in your program it will favor Unit testing

· 3 years ago

Unit test can be done within a single module

Cohesion of a single module/component is the degree to which its responsibilities form a meaningful unit; higher cohesion is better.

Someone had vague reference to decomposability here. Clarification?

How about: 'Cohesion is inversely proportional to the number of responsibilities a module/component has.'

Coupling between modules/components is their degree of mutual interdependence; lower coupling is better.

size: number of connections between routines

intimacy: the directness of the connection between routines

visibility: the prominence of the connection between routines

flexibility: the ease of changing the connections between routines

A first-order principle of software architecture is to increase cohesion and reduce coupling.

so having coupling in program is not correct

reduce coupling in your program it will favors Unit testing

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is a highly coupled module difficult to unit test?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Electrical Engineering

Why is highly coupled module difficult to unit test?

Unit test can be done within a single module Cohesion of a single module/component is the degree to which its responsibilities form a meaningful unit; higher cohesion is better. Someone had vague reference to decomposability here. Clarification? How about: 'Cohesion is inversely proportional to the number of responsibilities a module/component has.' Coupling between modules/components is their degree of mutual interdependence; lower coupling is better. size: number of connections between routines intimacy: the directness of the connection between routines visibility: the prominence of the connection between routines flexibility: the ease of changing the connections between routines A first-order principle of software architecture is to increase cohesion and reduce coupling. so having coupling in program is not correct reduce coupling in your program it will favour Unit testing......


Is an ekg technician practice test hard?

its a difficult test to pass if you do not study first like most test you need to have proper knowledge of the test being taken but also a good paying job.


How test resistances?

we can measure the resistance if we know the voltage and current passing through a line (V=IR)AnswerYou can measure its approximate resistance using an ohmmeter, but ohmmeters aren't particularly accurate. A better way would be to use a Wheatstone Bridge, which is highly accurate.


What are precommissioning tests of transformers?

magnetising current test, magnetising balance test, s.c test, vector group test, winding resistance test, ratio test


What is pressure test for transformmer and how to test?

On installed transformer a test is performed to check weather it has any oil leakage or not, the test is called pressure test, more precisely pressure leakage test.

Related questions

Why is a highly coupled module difficult to unit-test?

Unit test can be done within a single module Cohesion of a single module/component is the degree


How do you test a control module?

How do I test body control module and is it hard to do..


How do you test a body control module?

How do I test body control module and is it hard to do..


Why is highly coupled module difficult to unit test?

Unit test can be done within a single module Cohesion of a single module/component is the degree to which its responsibilities form a meaningful unit; higher cohesion is better. Someone had vague reference to decomposability here. Clarification? How about: 'Cohesion is inversely proportional to the number of responsibilities a module/component has.' Coupling between modules/components is their degree of mutual interdependence; lower coupling is better. size: number of connections between routines intimacy: the directness of the connection between routines visibility: the prominence of the connection between routines flexibility: the ease of changing the connections between routines A first-order principle of software architecture is to increase cohesion and reduce coupling. so having coupling in program is not correct reduce coupling in your program it will favour Unit testing......


Why would a 2003 Ford Ranger 2.3 have an engine miss after replacing plugs wire and coil?

it could be that the timing is a little off check the timing with a timing light, it could also be the ignition module which is very difficult to test on your own you can take the module to advance auto parts and they can test it for you!


Will the module test good after it has cooled off?

It depends on which module you are talking about. But yes, I've had them test good cool and bad hot.


How can you test the ignition modual?

ignition module on what?


What is a stub?

Stus are nothing but the replacement for the modules which are subordinate to module under test. These dummy modules use subordinate module's interface & do some data manipulation, Print the verification & Return control to the module under test. e.g Suppose I have 3 modules viz, module1,module2 & module3 & I have to test module 2. Module 2 is ready but module3 is not ready so we will create a dummy module for module3 which is called as stub. Also we can say that Stub's are nothing but the called functions. These are also called as test harness tools.


How do you test the ignition module on a 91 merc capri. Auto Zone and Napa could not test.?

Answer testing ignition modulenot all part stores have the ability to test ignition modules,a sure sign would be discoloration of the module or if the outside of the module has a softness to it if neither is apparent you could go to advance auto stores and they do have a peice of equipment to test your module, I used to work at a advance auto parts store


What is a computer stub?

Stus are nothing but the replacement for the modules which are subordinate to module under test. These dummy modules use subordinate module's interface & do some data manipulation, Print the verification & Return control to the module under test. e.g Suppose I have 3 modules viz, module1,module2 & module3 & I have to test module 2. Module 2 is ready but module3 is not ready so we will create a dummy module for module3 which is called as stub. Also we can say that Stub's are nothing but the called functions. These are also called as test harness tools.


Exploring creation with biology module 6 test answers?

This cannot be answered. In order to answer this you will have to stay the book about biology module.


How do you test blower control module on 1997 corvette?

You need to disconnect it from the circuit before you test it for resistance.