Book a Demo

Author Topic: Related functional and non functional requirements  (Read 5657 times)

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Related functional and non functional requirements
« on: July 29, 2008, 01:04:54 am »
Hi all

I am wondering if I should show a relationship between some of my non functional requirements and my functional requirements; and if so what sort of relationship it is.

For example I have a functional requirement that reads -

"The system shall make a list of the last 10 occasions when power to the machine was lost available to a technical user"

I have written a use case and used a realizes relationship showing that the use case realizes the requirement.

I have a non functional requirement that states

"The system shall log when a power loss is detected. The system shall store the time and date for each power loss. There shall be a maximum of 10 power losses stored"

There is obviously a link between the two - how do I show this ?

Graham

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Related functional and non functional requirem
« Reply #1 on: July 29, 2008, 01:22:59 am »
What is the "obvious" link?
No, you can't have it!

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Related functional and non functional requirem
« Reply #2 on: July 29, 2008, 01:25:19 am »
In order for the system to fufill the functional req it must implement the non functional requirement.

The system has to store the data in oreder for the user to view it

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Related functional and non functional requirem
« Reply #3 on: July 29, 2008, 01:32:30 am »
My point is that, in this case, if the connection is glaringly obvious you don't need to point it out. If the connection is difficult to express (i.e. so trivial that you cannot word it meaningfully) then there's no distinction between the two 'requirements' at all. So...

I don't think you'd create a requirement or use case just to store data.

If there is a need for the system keeps a specific record of session failures fine, but think this through. It seems that you've only got one requirement: the system must track recent session failures and provide a list of these for the user. This is a single requirement. Write it as appropriate.

You might have a (very detailed) use case to show developers that users can access this data and how you expect this to work, but remember that this is a pretty limited (i.e. low-level) scenario. If there's nothing else to add I think you could just write the whole thing into a single requirement statement.

Call it functional or non functional as you wish, perhaps based on the 'voice' you prefer to write it in; just pick one.
« Last Edit: July 29, 2008, 01:34:30 am by Midnight »
No, you can't have it!

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Related functional and non functional requirem
« Reply #4 on: July 29, 2008, 01:47:45 am »
Thanks

What I think I'll do is have one combined requirement and one use case to cover the high level user interaction with the system

Does this sound about right?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Related functional and non functional requirem
« Reply #5 on: July 29, 2008, 03:42:38 am »
Sure. Just keep in mind that it's a pretty simple use case from the sounds of things. [Open a menu; observe it.] You might want to just put this in the requirement itself.

Exception: If you are describing all situations where a user interacts with the system via the menu then you might want to include this in that set of use cases, even if it is trivial.
No, you can't have it!