Based on the sampling and grading theory of raw silk test, this paper studied the grading theory method of thick and thin defects of the raw silk in the electronic testing. By means of analyzing the data obtained from the raw silk electronic detector, the fact that the thick and thin defects of the raw silk appropriately take negative binomial distribution in the electronic testing has been confirmed. Under such circumstance, the distribution of the average of the sampling samples of the thick and thin defects was given, and fitting on the relationship between the mean and variance of the thick and thin defects were carried out by introducing Taylor’s power law equation, thus the right grading rate and probability of the difference between two spot tests about the thick and thin defects of the raw silk in the electronic testing was deduced. Moreover, the conclusion of the theoretical analysis was confirmed by simulation tests. The results might provide a basis for establishing the grading standards of the thick and thin defects in the electronic testing for raw silk.