---------------------------------------------------------------------
| 636 | |
| 637 | // --------------------------------------------------------------------- |
| 638 | static bool |
| 639 | MoreTypesProbability(void) |
| 640 | { |
| 641 | // Always have at least 10 types in the program. |
| 642 | if (AllTypes.size() < 10) |
| 643 | return true; |
| 644 | // by default 50% probability for each additional struct or union type. |
| 645 | return rnd_flipcoin(MoreStructUnionTypeProb); |
| 646 | } |
| 647 | |
| 648 | // --------------------------------------------------------------------- |
| 649 | eSimpleType |
no test coverage detected