![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: 'Google' for DOORS modules Topic Summary: efficient 'find' within multiple modules Created On: 16-Feb-2006 12:33 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
First up, my apology if this has been covered elsewhere, but I cant seem to find it if that is the case.
If you are familiar with the standard search (find) function within DOORS, then you will know that to search for a particular text string within a set of modules can take an awful long time if you have many modules. As I understand it, the tool opens modules sequentially, searches for the string, then closes the modules, each time dragging the module from server to client to perform the search. ( we have a 'lot' of modules).
My users find this frustrating, and often they will manually crash the DOORS client, not quite appreciating that it is actually working and not frozen into an endless loop.
What I would like to develop is something akin to "Google" for DOORS.
I already have limited implementation that will trawl all modules overnight, and search for a fixed pattern that we use as a requirement identifier, within the object text ( no, we don't use the automatic prefix/absolute numbers, but that's another story). I then output these to a .CSV file, along with the path to the module containing that identifier. Users can then quickly search the .CSV in excel, and at least find out where the requirement resides.
Anyone have any ideas on how to develop this idea further? Ideally I would like a searchable cache of all the object text within all the modules, but cant think how to achieve this other than literally dumping all the object text. I'm more engineer than computer scientist, so don't know if there are such things as standard algorithms for caching information in this way? I'm guessing that Google isn't just one big text file containing the whole web :-)
Also would anyone be interested in making this into a collaborative project, made available for all that find it useful ?
Regards
Andrew.
------------------------- Andrew Tagg Thales Air Systems, Melbourne Australia. andrew.tagg@thalesatm.com |
|
![]() |
|
![]() |
|
The user is constrained to the client GUI for searches -- Telelogic does not have this constraint and could implement a search feature on the server. Perhaps an enhancement request should be sent to Telelogic.
|
|
![]() |
|
![]() |
|
<P>Funnily enough I've just been developing a script to do just the same sort of thing. It has options to limit the search to the current folder, include sub-folders or the entire project. I have not gone for the entire database optionĀ but it could certainly be added. It opens each module and although it doesn't cache the results, it certainly gets through a few hundred modules in less than a minute. It certainly runs faster than the Find DOORS tool but I think this is becauseĀ it's only looking in one attribute rather than all attributes within each module.
It is currently being trialed by a few engineers and you are welcome to use the code, but please bear in mind that it has had very little running but it can't do any damage as it's only opening the modules read-only. The script currently outputs the applicable object attribute text to the DXL interaction window. I'm sure as more people start to give me feedback I will make more enhancements. But this has already become an invaluble tool for traceability / V&V activities. Martin </P> ------------------------- - Martin Edited: 1-Sep-2008 at 17:34 by Martin Hunter |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
LOL.
Those pigeons still crack me up. ![]() ------------------------- pete.kowalski(at)motorola.com |
|
![]() |
|
![]() |
|
quote: what do you mean? |
|
![]() |
|
![]() |
|
first off, great script. I was looking for a script that would give me a "shall" count for a project. It appears this one doesn't, however, I'm importing the results into a new module and will do a filter to get a shall count that way for a project.
Just my 2 cents on an improvement. I don't code, so I won't even try to modify your script. Thanks Again ------------------------- Rich Mason richard_mason@drsoptronics.com |
|
![]() |
|
![]() |
|
Rich,
I've attached a script that can count the number of "shalls" (as well as "should", "must" and "will"), I found it on this forum originally, but it didn't work. It lists the details of each line containing your search term and at the bottom will tell you how many occurences appeared - it will also output the same information to a .txt file too. Regards, Simon. ------------------------- Simon Haydn BSc (Hons) ![]() Requirements Controller Marshall Aerospace (UK) |
|
![]() |
|
![]() |
|
Rich,
I had updated the script a while ago to add a counter but never thought to update the script on this forum. I've now done that. ------------------------- - Martin |
|
![]() |
|
![]() |
|
Simon and Martin, thanks a lot, exactly what I was looking for.
B/R Rich ------------------------- Rich Mason richard_mason@drsoptronics.com |
|
![]() |
|
![]() |
|
and again....just had the chief engineer come in and wanted to look for a specific requirement across 30 or so specs. used this script and handed it to him within minutes. would've taken a lot longer otherwise.
------------------------- Rich Mason richard_mason@drsoptronics.com |
|
![]() |
Telelogic DOORS
» General Discussion
»
'Google' for DOORS modules
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.