Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

Features

pad edited this page Oct 8, 2010 · 44 revisions
  • lexer/parser, generating a Concrete Syntax Tree with attached comments, space, and preprocessor directives information easily accessible. It makes the CST/AST source-to-source transformation friendly. It also helps when displaying code in pfff_visual.
  • visitor, usually autogenerated using ocamltarzan
  • Concrete syntax tree pretty printer, also autogenerated
  • unparser
  • basic source-to-source transformation (parse, annotate tokens and their 'transfo' field, unparse)
  • control flow graph
  • SEMI data flow
  • SEMI simplified AST a la CIL
  • emacs TAGS file generator
  • function callgraph
  • def/use of entities (functions, classes, methods, fields)
  • methods callgraph (handling self/parent, and ambiguities because of imprecise analysis)
  • TODO class analysis (requires dataflow in general)
  • TODO type inference (requires simplified IL and dataflow)
  • include analysis (can require to define an environment containing global settings to a project)
  • builtins analysis
  • TODO interprocedural bottom-up analysis
  • TODO summary-based interprocedural analysis
  • TODO context sensitive interprocedural analysis
  • persistent storage (using berkeley DB or just single marshalled file)
  • deadcode
  • code_rank (useful to understand the core functions of a project, but not better than the simple number_of_callers when want to undetstand the important functions in a API; so complementary)
  • cyclomatic complexity
  • TODO dead statements
  • TODO tainted analysis (hard, requires interprocedural analysis)
  • static test coverage (can be complentary to dynamic test coverage by showing which functions are not directly tested)
  • test_rank
  • tracing/profling
  • test coverage (requires tracing)
  • underministic bug finder (using trace and diff)
  • unused variable
  • use of undefined variable
  • undefined entity (function, class, constant)
  • undefined field/method (requires class analysis)
  • builtins integration
  • PLEAC
  • code<->test navigation
  • expression matcher
  • metavariables
  • '...'
  • linear patterns
  • metavariables printing
  • code overview (treemap + thumbnails) "google maps on source code" where can see when permit both the macro and micro organization of a project

    • architecture/category of a file using color scheme
    • label with different size and alpha value
    • thumbnail source view
    • summary of important entities of a file in the thumbnail source view
    • TODO anamorphic representation using importance of a file instead of size of file where importance can be number of callers/users or code_rank like metric
  • code search and navigation

    • entity search, with completion (with integration for builtins too)
    • file/dir search
    • code navigation, directory/file navigation
    • multi-dir navigation
    • code<->covering_test integration
    • code<->PLEAC integration
    • TOREPUT minimap
    • TODO smooth zoom (a la google maps)
    • TODO callers/callees navigation
  • visual grep

    • micro-level visual grep
    • TODO macro-level visual grep
    • TODO sgrep integration
  • editor integration with line-precision file opening

    • emacs
    • TODO: other
  • source highlighting

    • token-based source highlighting
    • identifier highlighting; usually requires parsing to disambiguate the multiple uses of identifiers in a program (for class, function, parameter, locals)
    • local/global/parameter highlighting
    • semantic highlighting, visual feedback on importance of entities (anamorphic entities)
  • visual feedback on bad smell

    • dangerous functions
    • dangerous patterns
    • use of globals
    • function calls with variable passed by ref
    • TODO dead code
    • TODO test coverage
    • TODO test_rank
  • integration with version control system
  • SEMI integration with documentation (e.g. document builtins)
  • TODO integration with mailing list
  • preprocessor
  • closure by source-to-source transformation

Clone this wiki locally