(state: KnowledgeState, subject: string)
| 564 | * means nothing to a reader who does not know there is an analyzer. |
| 565 | */ |
| 566 | export function plainAbsence(state: KnowledgeState, subject: string): string { |
| 567 | switch (state) { |
| 568 | case 'notIndexed': |
| 569 | return `${subject} is unknown: CBM Lens has not read this file yet.`; |
| 570 | case 'unsupported': |
| 571 | return `${subject} is unknown: CBM Lens cannot see this for this language.`; |
| 572 | case 'inferred': |
| 573 | return `${subject} was worked out from what calls it, not read from the code itself.`; |
| 574 | case 'unknown': |
| 575 | return `${subject} is unknown: nothing answered when CBM Lens asked.`; |
| 576 | case 'ambiguous': |
| 577 | case 'known': |
| 578 | return ''; |
| 579 | } |
| 580 | } |
| 581 | |
| 582 | // --------------------------------------------------------------------------- |
| 583 | // The guided depth |
no outgoing calls
no test coverage detected