Patents
US 9,727,318 B2#27371110 Most CitedActiveUnited States (USPTO)Utility

Techniques to identify and purge unused code

4Forward Citations (#27371110 Global)
0.4/yrCitation Velocity (#18563622 Global)
1.01Citation PageRank (#40901453 Global)
28Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An apparatus to identify and purge unused code may comprise a processor circuit on a device and a storage component configured to store a codebase including one or more portions of programming code. The apparatus may further comprise a sampling component, a profiling component, and a purge component. The sampling component may sample the codebase and generate one or more leads identifying portions of programming code from the codebase determined to be unused during a sampling period. The profiling component may receive the one or more leads and profile programming code identified therein during a profiling period and to identify portions of programming code determined to be unused during the profiling period. The purge component may receive identification of the portions of programming code determined to be unused during the profiling period and initiate a purging process thereon. Other embodiments are described and claimed.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: a processor circuit on a device; a storage component configured to store a codebase including one or more portions of programming code; a sampling component operative on the processor circuit to monitor program behavior during a sampling period of program activity to identify portions of programming code from the codebase determined to be unused during the sampling period; a profiling component operative on the processor circuit to determine a subset of the identified portions of programming code that is unused during a profiling period; and a purge component operative

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (28)

PatentTitleYearCitations
US 6,247,175 B1Method and apparatus for identifying and removing unused software procedures200163
US 2003182652 A1Software building and deployment system and method—199
US 6,671,876 B1Monitoring of software operation for improving computer program performance200344
US 2004102185 A1Mobile communication terminal, detection condition distribution server and detected mail notification receiving server—8
US 2004128660 A1Efficient dead code elimination—30
US 2005210452 A1Method and apparatus for providing hardware assistance for code coverage—45
US 2006271596 A1File access management system—45
US 2007033659 A1Adaptive evolutionary computer software products—47
US 2007226700 A1Dynamic incremental compiler and method—32
WO 2007/128974 A1Dead functions elimination in dynamic linked libraries for code size reduction of operating systems in embedded systems—2
US 7,299,319 B2Method and apparatus for providing hardware assistance for code coverage200716
US 7,353,503 B2Efficient dead code elimination200820
WO 2008/112174 A1Optimized code generation through elimination of unused virtual functions—1
US 2009036163 A1Contact expiration management—102
US 7,596,601 B2Mobile communication terminal, detection condition distribution server and detected mail notification receiving server20092
US 2010005457 A1Method of reducing logging code in a computing system—10
US 8,126,856 B2File access management system20127
US 2012215819 A1Tool for removing inactive objects—3
US 2012222020 A1Limiting execution of software programs—6
US 2013055278 A1Efficient management of computer resources—13
US 2013080997 A1System and Method for Tracking and Notifying Related Software, Modules, and Configuration Files During Software Development and Maintenance—34
US 8,490,054 B2Software and related software tracking during software modification201311
US 2013191610 A1Data staging area—18
US 8,516,022 B1Automatically committing files to be write-once-read-many in a file system201323
US 8,543,907 B1Context-sensitive optimization level selection201353
US 2014181443 A1Archiving using data obtained during backup of primary storage—51

Non-Patent Literature (5)

  • Cleanscape C++lint User's Guide Version 3.1, Cleanscape software international, 2010, 45 pages, [retrieved on Jul. 2, 2015], Retrieved from the Internet: <URL:https://stellar.cleanscape.net/docs-lib/cpplint-guide.pdf>.
  • Cleanscape C++lint User's Guide Version 3.1, Cleanscape software international, 2010, 45 pages, [retrieved on Jul. 2, 2015], Retrieved from the Internet: <URL:https://stellar.cleanscape.net/docs—lib/cpplint—guide.pdf>.
  • Eder, S., et al., How much does unused code matter for maintenance?, 34th International Conference on Software Engineering (ICSE), Jun. 2-9, 2012, pp. 1102-1111, [retrieved on Mar. 25, 2017], Retrieved from the Internet: <URL:http://ieeexplore.ieee.org/>.
  • UCDetector: Unnecessary Code Detector, Apr. 5, 2012, 4 pages, [retrieved on Mar. 25, 2017], Retrieved from the Internet: <URL:http://web.archive.org/web/20120405010419/http://www.ucdetector.org>.
  • Wikipedia-"Dead Code Elimination", retrieved Oct. 31, 2013 from <http://en.wikipedia.org/wiki/Dead-code-elimination>, 3 pages, author unknown.