Changeset 1079 in MondoRescue for trunk/tools/quality


Ignore:
Timestamp:
Jan 28, 2007, 5:58:18 PM (14 years ago)
Author:
Bruno Cornec
Message:

merge -r1045:1078 £SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/quality

    r900 r1079  
    3131    echo "monodrescue $s usage : "
    3232    tot=0
    33     for i in `find . -name '*.c' -o -name '*.h' |  egrep -v '\.svn|/\*|monitas' | xargs grep -r -c -w $s | egrep -v ":0$"`; do
     33    for i in `find . -name '*.c' -o -name '*.h' |  egrep -v '\.svn|/\*|monitas|mindi-busybox' | xargs grep -r -c -w $s | egrep -v ":0$"`; do
    3434            echo " === $i"
    3535            ((tot=$tot+`echo $i | cut -d: -f2`))
     
    4040echo " "
    4141echo "Qualimetry: "
    42 find . -name '*.c' -o -name '*.h' |  egrep -v '\.svn' | xargs grep -r asprintf | egrep -v '/\*' | egrep -v 'asprintf\(&' > /tmp/mondo.quality
     42find . -name '*.c' -o -name '*.h' |  egrep -v '\.svn|/\*|monitas|/\*|mindi-busybox' | xargs grep -r asprintf | egrep -v '/\*' | egrep -v 'asprintf\(&' > /tmp/mondo.quality
    4343cat /tmp/mondo.quality
    4444echo "monodrescue uses : `cat /tmp/mondo.quality | wc -l` asprintf without &"
    45 find . -name '*.c' -o -name '*.h' |  egrep -v '\.svn' | xargs grep -r getline | egrep -v '/\*' | egrep -v 'getline\(&' > /tmp/mondo.quality
     45find . -name '*.c' -o -name '*.h' |  egrep -v '\.svn|/\*|monitas|/\*|mindi-busybox' | xargs grep -r getline | egrep -v '/\*' | egrep -v 'getline\(&' > /tmp/mondo.quality
    4646cat /tmp/mondo.quality
    4747echo "monodrescue uses : `cat /tmp/mondo.quality | wc -l` getline without &"
Note: See TracChangeset for help on using the changeset viewer.