Playground
See how FTA analyzes an individual piece of TypeScript code by entering it below.
Input
Output
- FTA Score: (Lower is better)
| Item | Result |
|---|---|
| Num. lines | |
| Cyclomatic Complexity | |
| Halstead | |
| Unique / Total Operators | () |
| Unique / Total Operands | () |
| Length | |
| Vocab Size | |
| Volume | |
| Difficulty | |
| Effort | |
| Time | |
| Bugs | |
💡
Lower scores for individual files are achieved by:
- Keeping the number of logical paths to a minimum
- Reducing the number of entities or operations in the code
- Avoiding single files that contain 1000s of lines
Last updated on