Browse Source

Add Jinja shotness img

Vadim Markovtsev 7 years ago
parent
commit
265962999b
2 changed files with 5 additions and 2 deletions
  1. 5 2
      README.md
  2. BIN
      doc/jinja.png

+ 5 - 2
README.md

@@ -197,7 +197,7 @@ can be visualized with t-SNE implemented in TF Projector.
 
 
 Thanks to Babelfish, hercules is able to measure how many times each structural unit has been modified.
 Thanks to Babelfish, hercules is able to measure how many times each structural unit has been modified.
 By default, it looks at functions; refer to [UAST XPath](https://doc.bblf.sh/user/uast-querying.html)
 By default, it looks at functions; refer to [UAST XPath](https://doc.bblf.sh/user/uast-querying.html)
-manual to set an other query. **Beta**
+manual to set an other query.
 
 
 ```
 ```
 hercules --shotness [--shotness-xpath-*]
 hercules --shotness [--shotness-xpath-*]
@@ -206,10 +206,13 @@ python3 labours.py -m shotness
 
 
 Couples analysis automatically loads "shotness" data if available.
 Couples analysis automatically loads "shotness" data if available.
 
 
+![Jinja2 functions grouped by structural hotness](doc/jinja.png)
+<p align="center"><code>hercules --shotness --pb https://github.com/pallets/jinja | python3 labours.py -m couples -f pb</code></p>
+
 #### Everything in a single pass
 #### Everything in a single pass
 
 
 ```
 ```
-hercules --burndown --burndown-files --burndown-people --couples [-people-dict=/path/to/identities]
+hercules --burndown --burndown-files --burndown-people --couples --shotness [-people-dict=/path/to/identities]
 python3 labours.py -m all
 python3 labours.py -m all
 ```
 ```
 
 

BIN
doc/jinja.png