• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SAP / ui5-linter / 12912429004

22 Jan 2025 04:15PM UTC coverage: 85.191% (+0.2%) from 84.954%
12912429004

push

github

web-flow
fix: Improve overall code detection (#489)

This change improves the overall code detection by refactoring the
SourceFileLinter class to make use of utility functions that increase
the coverage of AST node types that may appear and have not been checked
so far. This mainly includes TemplateLiterals by using
`isStringLiteralLike` instead of `isStringLiteral`.

In addition, the usage of `getText` has been replaced by actual node
checks and access to the actual properties (e.g. `text`). This makes
handling of quotes obsolete and is safer as whitespaces or line breaks
within the code might be included in the result of `getText`.

2188 of 2702 branches covered (80.98%)

Branch coverage included in aggregate %.

115 of 120 new or added lines in 4 files covered. (95.83%)

1 existing line in 1 file now uncovered.

3139 of 3551 relevant lines covered (88.4%)

2589.17 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

86.71
/src/linter/ui5Types/asyncComponentFlags.ts


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc