Detecting hard-coded strings in source code
US10929277B2 · kind B2 · utility
Inventors
Key dates
| Filing date | Aug 2, 2019 |
| Grant date | Feb 23, 2021 |
| Priority date | — |
| Expiry date | Aug 2, 2039 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F16/951
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Methods and systems for detecting hard-coded strings in source code are described herein. According to an aspect of an example method, a first list of strings may be generated via a processor. The first list of strings may include strings that are embedded in source code of an application. A second list of strings may be generated. The second list of strings may include strings that are rendered via a user interface of the application. Each string of the first list of strings may be compared against the strings of the second list of strings. Based on the comparison, a filtered list of strings may be generated by removing, from the first of strings, at least one string that does not have a match in the second list of strings. By this method, the software development process, and especially updating, maintaining, and localizing code, may become more efficient and cost-effective.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.