\begin{figure}
\begin{ccode}
function defectsRemovedRatio(table, auto,review,tool) \{
  return (1 - drf(table,"automated_analysis")) *
         (1 - drf(table,"peer_reviews")) *
         (1 - drf(table,"execution_testing_and_tools")) 
\}

function drf(table,x ) \{    
  # return x's value in table from \fig{drf} 
\}

\end{ccode}
\caption{COQUALMO: ratio of defects removed}\label{fig:rdefects}
\end{figure}