Genese complexity report

<- wasi.d.ts
Methods : 3
Complexity index : 0.8
Cyclomatic complexity : 2
Cognitive complexity
100 % Correct 3/3
0 % Warning 0/3 (threshold : 10)
0 % Error 0/3 (threshold : 20)
Cyclomatic complexity
100 % Correct 3/3
0 % Warning 0/3 (threshold : 5)
0 % Error 0/3 (threshold : 10)
Methods of wasi.d.ts
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                
                    constructor(options?: WASIOptions); // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
start Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    /**
                     *
                     * Attempt to begin execution of `instance` by invoking its `_start()` export.
                     * If `instance` does not contain a `_start()` export, then `start()` attempts to
                     * invoke the `__wasi_unstable_reactor_start()` export. If neither of those exports
                     * is present on `instance`, then `start()` does nothing.
                     *
                     * `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named
                     * `memory`. If `instance` does not have a `memory` export an exception is thrown.
                     *
                     * If `start()` is called more than once, an exception is thrown.
                     */
                    start(instance: object): void; // ------------------------------------------------------------------ +0.3 Complexity index (+0.3 atomic)
            
                            
                        
initialize Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
            
                    /**
                     * Attempt to initialize `instance` as a WASI reactor by invoking its `_initialize()` export, if it is present.
                     * If `instance` contains a `_start()` export, then an exception is thrown.
                     *
                     * `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named
                     * `memory`. If `instance` does not have a `memory` export an exception is thrown.
                     *
                     * If `initialize()` is called more than once, an exception is thrown.
                     */
                    initialize(instance: object): void; // ----------------------------------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)