All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
getStatistics.sh File Reference

Go to the source code of this file.

Functions

function usage ()
 
esac done shift ((OPTIND-1)) if[-z"$
 

Variables

while getopts h
 
 exit
 
type =$OPTARG
 
*echo ERROR
 
 usage
 
then for REP in {directory_list}
 
do listm
 
do cd
 
then if [[`type cloc`]]
 
then echo lines of code
excluding fcl files and
anything in the ups directory
cloc exclude 
dir
 

Function Documentation

esac done shift ( (OPTIND-1)  )

Definition at line 18 of file getStatistics.sh.

function usage ( )

Definition at line 4 of file getStatistics.sh.

4  {
5  echo "$(basename $0) [-h] -t <modules|authors|code|this_year> <directory list>"
6  echo " search the listed directories for information"
7 }

Variable Documentation

do cd
Initial value:
{REP}
lista=`git log --all --format='"%cN"' | sort -u`
author_list=`echo ${author_list} ${lista}`
cd ${thisdir}
echo "${lista}"
done
elif [ "${type}" = "code" ]
static std::string format(PyObject *obj, unsigned int pos, unsigned int indent, unsigned int maxlen, unsigned int depth)
Definition: fclmodule.cxx:374
then source cvmfs dune opensciencegrid org products dune setup_dune sh exit elif[-f/grid/fermiapp/products/dune/setup_dune_fermiapp.sh]
do cd

Definition at line 62 of file getStatistics.sh.

then echo lines of code excluding fcl files and anything in the ups directory cloc exclude dir
Initial value:
=ups ${directory_list}
else
echo "ERROR: cannot find the cloc utilitiy"
exit 1
elif [ "${type}" = "this_year" ]
then source cvmfs dune opensciencegrid org products dune setup_dune sh exit elif[-f/grid/fermiapp/products/dune/setup_dune_fermiapp.sh]
then shift fi

Definition at line 72 of file getStatistics.sh.

then echo ERROR

Definition at line 14 of file getStatistics.sh.

exit

Definition at line 13 of file getStatistics.sh.

Definition at line 13 of file getStatistics.sh.

then if[[`type cloc`]]

Definition at line 70 of file getStatistics.sh.

then for REP in {directory_list}

Definition at line 53 of file getStatistics.sh.

do listm
Initial value:
=`find ${REP} -name "*_*.cc" | grep -v test`
module_list=`echo ${module_list} ${listm}`
done
num_mod=`echo ${module_list} | wc -w`
echo "found ${num_mod} modules"
elif [ "${type}" = "authors" ]
then source cvmfs dune opensciencegrid org products dune setup_dune sh exit elif[-f/grid/fermiapp/products/dune/setup_dune_fermiapp.sh]
do listm
then echo fcl name
BEGIN_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree showermakertwo END_PROLOG hitmakerfive clustermakerfour pfparticlemakerthree sequence::inline_paths sequence::inline_paths sequence::inline_paths showermakers test

Definition at line 54 of file getStatistics.sh.

t type =$OPTARG

Definition at line 14 of file getStatistics.sh.

usage

Definition at line 15 of file getStatistics.sh.