1. A method of determining a metric of software code, the method comprising: generating, using a computer system, a flow graph for software code, the flow graph including a plurality of flow graph nodes, the plurality of flow graph nodes including an entry point node, a termination point node, and a metric node, the metric node including a metric object of the software code; generating a contracted flow graph based on the flow graph that includes a plurality of contracted flow graph nodes, at least one of the contracted flow graph nodes representing a clustered subset of the flow graph nodes; determining a through path count within the contracted flow graph based on the contracted flow graph nodes between a first contracted flow graph node that includes the entry point node and a second contracted flow graph node that includes the termination point node by counting a number of different execution paths in the contracted flow graph between the first and second contracted flow graph nodes; and determining a metric entry path count within the contracted flow graph based on the contracted flow graph nodes between the first contracted flow graph node and a third contracted flow graph node that includes the metric node by counting a number of different execution paths in the contracted flow graph between the first and third contracted flow graph nodes.