Git Product home page Git Product logo

classanalyzer's People

Contributors

valb3r avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

xfyecn akingde

classanalyzer's Issues

UsesClassName relationship

New relationship (UsesClassName) to describe that method body references things like String.class (to handle cases Object value = ctx.get(String.class) - probably value is String)

Enum unseen static ctor

Within enum static new operators (create operations) are not resolved - not seen call relationship [enum/static calls]

Trace possible classes passage as arguments

When method is called with possibly known class (PossiblyCalledAsSuper) class which is different from argument type (is i.e. super) called method should be reparsed to add extra relations to this precise class (call relationship should go not only to super but to this class as well - new relationship PossiblyDeducedCall. Triggered only when ctx is in prescribed class name list -PCtxClasses)

Deducer - 'inside method call' is done with deduced argument

When method is called with known class which is different from argument type (is i.e. super) called method should be reparsed to add extra relations to this precise class (call relationship should go not only to super but to this class as well - new relationship DeducedCall)

Possibly called as (Context extraction)

Trace operations on object produced by method body calls consuming UsesClassName relation and if returned object is super class of UsesClassName then save as additional calls to UsesClassName with relationship PossiblyCalledAsSuper (treat returned object as subclass - Object value = ctx.get(String.class) -> deduced value is String because get returns super class of String. Triggered only when ctx is in prescribed class name list -PCtxClasses)

Trace real class

Trace cases String s; Object a = (Object) s; and add extra Call relationships assuming a is String

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.