top of page

Common code smells

​

A large amount of characters in a single line of code often leads to poor maintainability, readability, and code review.  Several code-style guides suggest that 80 - 100 characters per line should be the limit in one's code.

​

In JavaScript variables can be changed at run-time based on the the values that it is assigned. This is because JavaScript is a dynamic language. So a variable that was once a string can be assigned to an integer in the same program. This functionality often decreases the quality of the program. It is often better that programmers use unique variable names rather than using this approach. 

​

​

 Functions with long parameter lists can decreases readability and they are hard to understand. long parameter list usually means that the function is over-performing since its working with so many variables. It is usually much better to break such a function into smaller functions that have more specific tasks. It is ideal to have functions with no parameters. A good practice would also be to use a single argument containing all of the attributes needed in the function.

"Code smells are poor implementation practices that can negatively impact the quality of an application". We are here to detect them and offer solutions to avoid fault-prone applications on our devices.

Code Smell Detection

Lengthy lines

Variable Re-assign

Long Parameter List

Our mission is to build a tool that can detect code smells in JavaScript. We will modify this tool so that it can detect various code smells. There are several ways to build this tool: one way is modifying TAJS to detect smell. It is important to detect as many as possible so that our programs can run with no hazards.

We detect unwanted code smalls

1. Investigation

2. Detection 

3. Offering better solutions

Code Smells

We investigate and detect code smells in applications. Our goal is to provide better coding solutions for better functioning applications

Code Smell

 

Detection for better

 

applications

Code Smell Detection

Providing tools to detect code smells

bottom of page