JustalK/PORTFOLIO

View on GitHub

Showing 42 of 42 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

{rel: 'canonical', href: process.env.PROTOCOL + '://' + process.env.HOST + ':' + process.env.PORT + '/' + slug}
Severity: Minor
Found in src/helper/meta.js and 1 other location - About 30 mins to fix
documentation/details.js on lines 9..9

Function update has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

update(mouse_x, mouse_y) {
const dx = mouse_x - this.x;
const dy = mouse_y - this.y;
const distance = Math.sqrt(dx * dx + dy * dy);
const force_direction_x = dx / distance;
Severity: Minor
Found in src/helper/particle.js - About 25 mins to fix
Severity
Category
Status
Source
Language