In this paper, the method of power-law distribution was used to study the results of object-oriented software metrics, and the long tailed distribution in different levels of software metrics was discussed. Based on four large Java open source projects, three major metrics affecting software quality were measured, such as class code length, class attribute number, and class method number. First, we utilized the measurements to fit the power-law distribution, and the maximum likelihood estimation method was used to estimate the shape parameter of the fitted power-law distribution. Then the hypo...