| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 11 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | var express = require('express') |
||
| 2 | var router = express.Router() |
||
| 3 | |||
| 4 | /* GET Index. */ |
||
| 5 | router.get('/', (request, resource, next) => { |
||
|
1 ignored issue
–
show
|
|||
| 6 | resource.render('Index', { |
||
| 7 | title: 'Test' |
||
| 8 | }) |
||
| 9 | }) |
||
| 10 | |||
| 11 | module.exports = router |
||
| 12 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.