Patent Document ID: 9436446
Application ID: 14941791

Base Claim:
1. A method for automating calculation of a comprehensibility score for a software program, the method comprising: matching, by an analytics engine on a computer, tokens of the software program with a language dictionary, a domain specific vocabulary, and a language grammar, wherein the tokens are non-terminal symbols and comprise class names, method names, and variable names; matching, by the analytics engine, a compound word with different matching words of the language dictionary, in response to determining that the compound word is used in a token; calculating, by the analytics engine, a weighted average derived from various categories of the non-terminal symbols used in the software program; determining, by the analytics engine, a comprehensibility score for the software program, based on the weighted average derived from the various categories of the non-terminal symbols used in the software program; and providing, by the analytics engine, the comprehensibility score to a reviewer evaluating the software program.

---

Claim 2:
2. The method of claim 1 , further comprising: calculating, by the analytics engine, a percentage of a total number of matching tokens over a total number of the tokens in the software program so as to determine the comprehensibility score.