src/host/nashorn.js

Maintainability

100.00

Lines of code

23

Created with Raphaël 2.1.002550751002019-3-122018-12-32018-8-22018-5-92018-4-32018-2-28

2019-10-30
Maintainability: 100

Created with Raphaël 2.1.007.51522.5302019-3-122018-12-32018-8-22018-5-92018-4-32018-2-28

2019-10-30
Lines of Code: 23

Difficulty

2.50

Estimated Errors

0.01

Function weight

By Complexity

Created with Raphaël 2.1.0_gpfHostNashorn1

By SLOC

Created with Raphaël 2.1.0_gpfHostNashorn1
1
/**
2
 * @file Nashorn host adapter
3
 * @since 0.2.4
4
 */
5
/*#ifndef(UMD)*/
6
"use strict";
7
/*global _GPF_HOST*/ // Host types
8
/*global _gpfHost*/ // Host type
9
/*global _gpfHostJava*/ // Common implementation for Java hosts
10
/*#endif*/
11
 
12
if (_GPF_HOST.NASHORN === _gpfHost) {
13
 
14
    _gpfHostJava();
15
 
16
}
17
 
18
/*#ifndef(UMD)*/
19
 
20
// Generates an empty function to reflect the null complexity of this module
21
(function _gpfHostNashorn () {}());
22
 
23
/*#endif*/