facebookresearch / fbpcs
Features of Interest

Aspects in the source code identified through RegEx patterns.

Intro
  • Features of interest are any aspects of a software system that can be identified through patterns in code.
  • Features of interest provide you with a way to focus your attention on relevant parts of the codebase.
  • Typical examples include, security, TODOs, logging.
  • A feature of interest may be present in multiple files. Any source code file may be in zero or multiple features of interest.
Overview

GENERAL

TODOs
5,535 LOC (25%) 41 files | found text | found text per file
1 GENERAL Concerns
  • The "general" group contains 2 concerns.
    • TODOs
    • Unclassified
general
1.1 TODOs
  • The following criteria are used to filter files:
    • files with any line of content like ".*(TODO|FIXME)( |:| ).*".
  • 41 files match defined criteria (5,535 lines of code, 25.6% vs. main code):
    • 21 *.py files (2,641 lines of code)
    • 11 *.cpp files (1,427 lines of code)
    • 3 *.hpp files (1,043 lines of code)
    • 5 *.h files (374 lines of code)
    • 1 *.yml files (50 lines of code)
  • 76 lines match the content pattern.
details...