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

visgl / deck.gl / 14585694690

22 Apr 2025 02:57AM UTC coverage: 47.453% (-44.0%) from 91.489%
14585694690

Pull #9588

github

web-flow
Merge e916dece4 into b04187ddb
Pull Request #9588: feat(core): Add View.clone() method

648 of 778 branches covered (83.29%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 1 file covered. (100.0%)

27167 existing lines in 269 files now uncovered.

28564 of 60782 relevant lines covered (46.99%)

2.05 hits per line

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

31.82
/modules/json/src/helpers/execute-function.ts
1
// deck.gl
1✔
2
// SPDX-License-Identifier: MIT
1✔
3
// Copyright (c) vis.gl contributors
1✔
4

1✔
5
// This attempts to execute a function
1✔
6
export function executeFunction(targetFunction, props, configuration) {
1✔
UNCOV
7
  // Find the function
×
UNCOV
8
  const matchedFunction = configuration.functions[targetFunction];
×
UNCOV
9

×
UNCOV
10
  // Check that the function is in the configuration.
×
UNCOV
11
  if (!matchedFunction) {
×
12
    const {log} = configuration; // eslint-disable-line
×
13
    if (log) {
×
14
      const stringProps = JSON.stringify(props, null, 0).slice(0, 40);
×
15
      log.warn(`JSON converter: No registered function ${targetFunction}(${stringProps}...)  `);
×
16
    }
×
17
    return null;
×
18
  }
×
UNCOV
19

×
UNCOV
20
  return matchedFunction(props);
×
UNCOV
21
}
×
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

© 2025 Coveralls, Inc