Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(attributes): Detect differences in class attributes
pyff is now able to detect and compare attributes used in methods. Attribute is considered to be any name that is used as an attribute of 'self' and is assigned into in some method. To accomodate this, `ClassSummary` was changed to track methods and attributes as sets of names (previously, only counts were tracked for methods). This also made possible to simplify the `kitchensink.hl()` method, because it no longer needs to handle integer arguments.
- Loading branch information
1 parent
7b8882c
commit 795925f
Showing
5 changed files
with
191 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.