Passed
Push — master ( f48046...266a83 )
by Felipe Catão do
01:09
created

LavineWiki/js/main.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 14
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 9
mnd 0
bc 0
fnc 1
dl 0
loc 14
rs 10
bpm 0
cpm 1
noi 1
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A main.js ➔ teste 0 3 1
1
import menu from "../components/menu.js"
2
import EngineApp from '../../Framework/engine.js'
3
4
var eng=new EngineApp()
5
//renderizar o menu
6
eng.componentsEngine.createComponent("menu",menu())
7
eng.componentsEngine.renderComponent("dinamic","menu")
8
//sistemas De rotas
9
eng.routesEngine.registerRoute("http://127.0.0.1:5500/LavineWiki/index.html#pageInitial",teste)
10
eng.routesEngine.runRoute("http://127.0.0.1:5500/LavineWiki/index.html","http://127.0.0.1:5500/LavineWiki/index.html#pageInitial")
11
12
function teste(){
13
    console.log("ai")
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
14
}