In any case, I could not count lines of code. Even looking for outliers is throughthrought with dangers.
A few years back, when I remember the quality manager coming to me withwas a big grin on his facesoftware engineer. He had just gotSome one introduced a new codesoftware metrics analysertool. He had run the code for a large medical pump projectIt measured Mccabe complexity (that I was working onvarious complexities of the code), through it. It showed that one of my modules hadwas a very, verygood tool, and very high value for couplinguseful. Much, much higher than any other moduleYou could find parts of the code that were un-usual. I asked to seeOften you could find bugs by examining these parts of the data, it showed near zero for every other metriccode. I smiled and looked across
One day the head of QA came to me, screaming. He was waving a bit of paper with the nameresults of the tests. It showed that a module, itthat I had written had a complexity for class dependency that was ……… something_factoryoff the chart. YesI pointed out that all the other complexity metrics were close to zero. He screamed, "but what about this one". I pointed out, that this class was a factory, it was this modulesits job to own this complexity, because it would be worse to have allit spread about. I said "if it was spread about, then the couplingmetrics would not find it, so other module could have none..." he interrupted "then spread it about". I continued "... but then the code would be much more complex." -- He looked back at me blackly.
We stopped using the quality manager, withtool shortly after that. A shame. It was a smilegood tool. But heIt helped us find bugs. However it did not understand why I was smilingtell us where the bugs were. It took several meetings with my boss and human resourcestold us what the probably bug density is, if you knew how to finally get him offread it.
So yes lines of our backscode can be useful, but only as a statistical tool.