Skip to content

moosetechnology/Famix-CallGraphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

154 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Famix-CallGraphs

The goal of this project is to provide call graph builders for Famix models.

For now we only support the CHA call graph algorithm for Java language, but this is planed to evolve.

Installation

To install the project in your Pharo image execute:

    Metacello new
    	githubUser: 'moosetechnology' project: 'Famix-CallGraphs' commitish: 'main' path: 'src';
    	baseline: 'FamixCallGraphs';
    	load

To add it to your baseline:

    spec
    	baseline: 'FamixCallGraphs'
    	with: [ spec repository: 'github://moosetechnology/Famix-CallGraphs:main/src' ]

Documentation

Quick Start

You can launch a CHA call graph building this way:

(FamixJavaCHABuilder entryPoints: (model allMethods select: [ :method | method name = 'main' ])) build

Or, using the moose name of the entity:

(FamixJavaCHABuilder entryPoint: (tagcollections31 entityNamed: #'org.apache.commons.collections.map.HashedMap.readObject(ObjectInputStream)')) build.

Some caches are created during the building. If you wish to save space, you can flush them executing:

	model resetCallGraphCaches

More Documentation

You can find more documentation here: documentation

About

Call graph builders for Famix models

Resources

License

Stars

Watchers

Forks

Contributors