| Conditions | 6 |
| Total Lines | 23 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 6 | ||
| Bugs | 0 | Features | 0 |
| 1 | #!/usr/bin/python |
||
| 16 | @profile |
||
| 17 | def fact(n): |
||
| 18 | result = 1 |
||
| 19 | for i in xrange(2, n // 4): |
||
| 20 | result *= i |
||
| 21 | result = 1 |
||
| 22 | # This is a comment |
||
| 23 | for i in xrange(2, n // 16): |
||
| 24 | result *= i |
||
| 25 | result = 1 |
||
| 26 | |||
| 27 | if False: |
||
| 28 | # This won't be run |
||
| 29 | raise RuntimeError("What are you doing here ???") |
||
| 30 | |||
| 31 | for i in xrange(2, n + 1): |
||
| 32 | result *= i |
||
| 33 | return result |
||
| 34 | # This is after the end of the function. |
||
| 35 | |||
| 36 | if False: |
||
| 37 | # This won't be run |
||
| 38 | raise RuntimeError("It's getting bad.") |
||
| 39 | |||
| 54 |