exiguus/FTA Action
FTA (Fast TypeScript Analyzer) captures static info about TypeScript code, revealing complexity and maintainability concerns.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| project_path | Path to the project to analyze | no | src/ |
| config_path | Path to config file | no | — |
| output_path | Path to output file | no | output.json |
| format | Output format (default: table) [default: table] [possible values: table, csv, json] | no | table |
| json | Output as JSON | no | false |
| output_limit | Maximum number of files to include in the table output (only applies when using table output) (default: 5000) | no | 5000 |
| score_cap | Maximum FTA score which will cause FTA to throw (default: 1000) | no | 1000 |
| include_comments | Whether to include code comments when analysing (default: false) [possible values: true, false] | no | false |
| exclude_under | Minimum number of lines of code for files to be included in output (default: 6) | no | 6 |
| exclude_directories | List of directory paths separated by comma. Representing directories to exclude from the analysis. Files within any of these directories will be ignored. Paths can be specified as relative to the project root. The defaults are always used; any supplied values are added to the exclusions list. | no | /dist, /bin, /build |
| exclude_filenames | List of glob patterns separated by comma. Representing filenames to exclude from the analysis. Files matching any of these patterns will be ignored. Globs can include wildcards and brace expansions. The defaults are always used; any supplied values are added to the exclusions list. Exclusions will override extensions. | no | .d.ts, .min.js, .bundle.js |
| extensions | List of file extensions separated by comma. Identify files that should be analyzed. JavaScript files are also accepted. The defaults are always used; any supplied values are added to the inclusions list. | no | .js, .jsx, .ts, .tsx |
Outputs
| name | description |
|---|---|
| summary | Summary of the analysis in table format (also shown in the logs) |
| details | Details of the analysis in the passed format (also written to the output file) |