How can we find duplicate/unused code in a project?

Is there a way to find duplicate/un-used code in a project?
Are there any utilities/toolkits or anything that might facilitate in this respect?
Have a pleasant day!
Thanks for your time!

Thanks GerdW for pointing out one of my earlier post to which you had so kindly replied. But that post was about VI's that are redundant and not being used in the project (your solution was mighty useful and handy; saved me a lot of time; thanks for that), this post is about finding code being used in VI's (that are being used in the project) but contain parts (code) that is not being used in the project (like maybe they were ported from some other related project and now contains redundant code bits). My question was is there an automatic way of finding those code bits out and removing them.
Thanks for reply!

Similar Messages

  • How can i find Duplicate Rows in forms6i

    Hi,
    How can i find duplicate rows in multiple record in forms6i.
    Thanks
    Raghu.K

    Oops, sorry for misreading your question. (However the SQL I gave you above is also very handy, and worth saving.)
    Okay, this is off the top of my head and untested, but might just work. Assuming that your data block name is MYBLOCK, and that the item that you want to check for dups on is named MYNUM, create an item-level WHEN-VALIDATE-ITEM trigger with the following code.
    declare
    l_newest_record number(10) := :system.cursor_record;
    l_newest_mynum number(10) := :myblock.mynum;
    l_dup_found boolean := false;
    begin
    -- In this loop, we skip backwards through all new records to look for dups.
    while :system.cursor_record > 1 loop
    previous_record;
    if :system.record_status = 'NEW' then
    if :myblock.mynum := l_newest_mynum then
    l_dup_found := true;
    exit; -- Dup found!
    end if;
    else
    exit; -- We've gone backwards past the first new record.
    end if;
    end loop;
    -- In this loop, we return to the current record.
    while :system.cursor_record < l_newest_record loop
    next_record;
    end loop;
    if l_dup_found then
    raise duplicate_row_found; -- user-defined exception
    end if;
    end;
    The above code only checks for dups in the new form records. It assumes that a unique constraint in the database will deal with records actually committed.
    Armand

  • How can I find duplicate photos without going through all 5000  one at a time?

    How can I find duplicate photos withough going through all 5000 one by one?  I have numerous duplications and used to be able to click on Edit and Find Duplicates and could clean up all the duplicates easily.  Now that option is gone.  I still have lots to delete.

    I do backup everything using Carbonite.Please don't tell me it is bad, too :-)  Also, especially with photo files, I do have other backups of those I am concerned about. Probably not the best in the world, but a log better than many people who I know about.
    Again, I really have not seen any problems with MacKeeper.  I imagine that if people do not read and follow instructions, they could have problems. For example, it is possible to scan all your files and see them in order of size. If you start deleting things, without knowing what you're deleting, you could cause trouble. Even when the computer scans for so-called junk files, you can look at them and decide for yourself if they are truly junk. I've never seen any that were not.
    So, I will look at the complaints anyway to see them. I am open to change, although I hope I do not need to drop Mackeeper as it does things like keeping tracking of applications updates that I need. Please note that I definitely am not a MacKeeper employee or anything close. Just using it and happy with the the results.
    I did download the recommend file for finding photo dupes and ran it.  There were very few duplicates, in any case, As I said before, the MacKeeper dupe finder was very slow when I ran it over ALL my files. That was a year ago and it did find many non-text dupes.

  • My Ipad and macbookair have been stolen. How can I find the imei code of both devices considering that were all registered on icloud?

    My Ipad and macbookair have been stolen. How can I find the imei code of both devices considering that were all registered on icloud?

    Unless you have configured iCloud on the MacBook Air and made sure that Find My Mac was turned on, you can't track that.  And even if you did do that, that is not a foolproof method of tracking, as it relies on the thief connecting to the internet using the guest account on the machine and not getting in to your account and disabling Find My Mac or wiping the hard drive and installing a clean system.
    As for the iPad, similar rules apply there.  If it is a wifi-only iPad, it cannot be tracked any other way.  If it has 3G, your wireless carrier may be able to help you track it.

  • Moving adobe 9 standard from 1 machine to another. How can I find the activation code on the old machine to activate on new machine

    moving adobe 9 standard from 1 machine to another. How can I find the activation code on the old machine to activate on new machine?

    You didn't really clarify much, just repeated the same question. First of all, Adobe is a company with many products.
    Are you talking about Adobe Acrobat? If so you need to deactivate it on the old machine and then use enter the serial-number (as described) when installing it on the new machine. It will then activate itself automatically over the internet. Just keep in mind that Acrobat 9 is not compatible with Windows 8 and to make it compatible with Windows 7 you have to update it to at least version 9.2 after the installation.

  • How can i find duplicate rows in a field of a table

    hi all,
    how can i able to find duplicate values in a field of a table????
    Regards

    test@ORA92>
    test@ORA92> with x as (
      2    select 1 as p, 'a' as q from dual union all
      3    select 1 as p, 'b' as q from dual union all
      4    select 2 as p, 'c' as q from dual union all
      5    select 3 as p, 'd' as q from dual union all
      6    select 3 as p, 'e' as q from dual union all
      7    select 3 as p, 'd' as q from dual
      8  )
      9  select p, q,
    10  case row_number() over (partition by p order by q)
    11    when 1 then null
    12    else 'Duplicate value: '||p||' of column p'
    13  end as msg
    14  from x;
             P Q MSG
             1 a
             1 b Duplicate value: 1 of column p
             2 c
             3 d
             3 d Duplicate value: 3 of column p
             3 e Duplicate value: 3 of column p
    6 rows selected.
    test@ORA92>
    test@ORA92>
    test@ORA92>cheers,
    pratz

  • How can I find duplicates in Photos app?

    I have a lot of all images that I imported to my mac way back from my old iPhones into folders on my hard drive, I know that there's some duplicates in those folders. But I dragged in everything to the new Photos app to clean up all the mess and keep all my iPhone photos in the same place.
    Is there a way to find duplicated images in my library? Or any 3rd-party apps that can help me out?
    Thanks,
    Nichlas

    Not using Photos
    Duplicate Annihaliator for Photos and FatCat's PowerPhotos both will find duplicates
    LN

  • How can i find duplicates

    Is there an automated way to find duplicate photos?  My wife and I have thousands of pics and (maybe because I am ignorant) I can find any easy way to simply identify and delete duplicate photos and video clips.  HELP  Thank you.

    duplicate annihalitor
    LN

  • How can i find duplicate songs in itunes?

    Just downloaded iTunes 11.0 and can not find option to find duplicate songs.
    Where is that option now?

    MartinOfDenmark wrote:
    WE WANT STEVE BACK FROM THE DEAD!!!
    An just as many annoying innovations were done under his reign too.  Killing off all PPC software when it was supported perfectly well under Snow Leopard but abandoned to the annoyance of many with Lion.

  • My six year old set up the restrictions code on my iPad and he doesn't remember the code he used. How can I find out the code. I already tried reseting the iPad and it did not work.

    How can I retrive the passcode for Restrictions? I already tried reseting my iPad to factory settings but did not work.

    I believe there is a way to reset the settings only, but I'm not sure if that applies to restrictions. Maybe there is a way on the computer?

  • How can I find the "process code" in a Service Notification

    Hi folks,
    In the Transaction IW52 I am trying to enter the values for "Fault code" and "sub-header". Now I need to know how to find out which "process code" is my notification is assigned to. This entry is needed in the tab object data in the section additional information when pressing in the field fault code.
    Thanks for your feedback
    Kami

    Kami,
    I'm guessing that you notification type is non-standard...
    Can you post images of the issue?
    PeteA

  • My restrictions are on and I didn't turn them on.  The code is not the one I use to unlock my ipad.  How can I find out the code to turn off my restrictions and why did it turn on?

    My restrictions are turned on. I didn't turn them on.  The only code I've used on my ipad is to unlock it and that code won't work on my restrictions.  How do I turn off restrictions and prevent them being turned on again?

    The only option is to wipe the device clean and restore it to factory settings.  Hope you have a backup.
    Follow the instructions in  iOS: How to back up your data and set up your device as a new device http://support.apple.com/kb/HT4137 to restore the device to factory settings.
    Once you have setup the device as a new one, you can then sync it back with your iTunes account and all your music, apps, contacts and any other content sync'ed with iTunes will be loaded on the device. Any content that is stored only on the device and not sync'ed with iTunes, like app logins or data, will be lost during this process. Be forewarned that this is a long process and can take a couple of hours or more to complete. This can be painful, but it is necessarily so to prevent users from working around the security settings. After the restore is complete, you can setup a new Restrictions passcode. Make a note of the passcode to avoid this situation in future.
     Cheers, Tom

  • How can I find duplicates in my photo library

    I have imported old photos from discs. Some of them had duplicates on them. Is there any way to find and eliminate duplicates. I have several thousand photos and not all of them have been identified in any way (eg.date, label, etc.) that would help me.
    Thanks!

    For dealing with duplicates in iPhoto check out Duplicate Annihilator

  • How can I find duplicates within my form?

    I'm trying to find a way to track down if we get any duplicate entries in our form. I've seen the filter option but not sure I'm using it correctly as it seems I would still need to go through all the names to find the duplicates.

    Hi,
    Here's one approach that uses the COUNTIF function to help identify duplicate entries. In the screenshot below, I have created a "Count" column with an expression that counts the number of occurrences of each cell value within the Email column.
    The next screenshow shows the table content after applying the expression:
    You could then sort or filter on the Count column to identify duplicate entries.
    Regards,
    Brian

  • Have iTunes version 10 .3 but do not understand cloud in iTunes 11.03 can someone explain it and also how do you find duplicates in new version and will the new version sync with my iPod Classic which I have had for 4 years

    I have iTunes version 10.03 which I love but my iPad Apple mini has iOS 7 but I don't understand the new iTunes what is the cloud shown next to the music and how can I find duplicates can anyone help me navigate the new iTunes and will the new version sync with my iPod Classic which is 4 years old

    The main differences between iTunes 11 and earlier versions are the loss of coverflow and ability to have multiple windows open.
    In Windows, you can restore much of the look & feel of iTunes 10.7 with these shortcuts:
    ALT to temporarily display the menu bar
    CTRL+B to show or hide the menu bar
    CTRL+S to show or hide the sidebar
    CTRL+/ to show or hide the status bar (won't hide for me on Win XP)
    Click the magnifying glass top right and untick Search Entire Library to restore the old search behaviour
    Use View > Hide <Media Kind> in the cloud or Edit > Preferences > Store and untick Show iTunes in the cloud purchases to hide the cloud items. The second method eliminates the cloud status column (and may let iTunes start up more quickly)
    If you don't like having different coloured background & text in the Album (Grid) view use Edit > Preferences > General and untick Use custom colours for open albums, movies, etc.
    With iTunes 11.0.3 and later you can enable artwork in the Songs view from View > Show View Options (CTRL+J) making it more like the old Album List view
    View > Show View Options (CTRL+J) also contains options to change the sorting of grid based views
    The cloud icons give you access to stream or download any qualifying past purchases that you don't currently have downloaded to the library.
    Regarding duplicates, things haven't really changed. Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    Yes, iTunes 11 will support your iPod classic.
    tt2

Maybe you are looking for

  • How to run batch programs using SUBMIT command without any interaction need

    Hello ABAP gurus, I have created a batch program in SE38 which calls many other SE38 Programs (Reports). I have used the command SUBMIT to call the sub programs. There are about 15 sub programs that this main batch program is calling. It works fine,

  • Trouble compressing Qtime to mp4.zip

    Hello out there, Ihave a Qtime movie 16.3MB and need to compress for email. I Control-clickd the file and selected "create archive of..." and created the mp4.zip file. The problem is the file did not compress. It remains at 16.3MB which exceeds the 1

  • 70" Aquos LED, Serious motion-blu​r problems. Help

    I have a LC70LE732U 70" Sharp Aquos LED HDTV, and I can't help but notice the serious motion-blur. When watching fast-paced movement (such as a baseball soaring through the air), the blur/lag is incredible. Is there any specific reason as to why this

  • GB Update 6.0.4 won't install

    I am running Garageband '11 6.0.2 on my 2011 13" MBP. I downloaded the 6.0.4 update from the Apple website but when I try to install it it pops up an alert that says Garageband 6.0 or later is required to install this update. Anybody know what the he

  • Parameters/exceptions of inherited methods or events cannot be changed

    Hi All, I want to add parameter in method BBP_MAP_AFTER_BAPI. but i got message "Parameters/exceptions of inherited methods or events cannot be changed". Could any one help me with this problem ? Thanks. Budituta