mulang icon indicating copy to clipboard operation
mulang copied to clipboard

:bamboo: Universal, Multi Language, Multi Paradigm code analyzer

Results 55 mulang issues
Sort by recently updated
recently updated
newest added

¡HOLAAAaaa! Esto es una especie de bug report/pregunta, porque todavía no sé si el problema somos nosotres. Estamos usando mulang.js, la última versión publicada (6.0.6). Esto sucede al hacer `mulang.astCode(elAst).customExpect(edl)`:...

La siguiente línea está trayendo problemas para proyectos donde se importe mulang.js directamente sin estar dentro de una carpeta, porque no encuentra el package.json: https://github.com/mumuki/mulang/blob/6c04e3e1816eed8925e1bb152b8ac9c03608b02e/ghcjslib/src/main.js#L31-L33 Propuse reemplazarla en release time,...

En este código: ```js function a(){ a() } ``` se cumple la expectativa `within 'a' count(calls) == 0` y no debería, porque las calls deberían ser 1. ¿Quizás está relacionado...

We have a not assigns expectation in an exercise where the student is expected to return the result of filtering a list. Some of the students however are doing something...

The following piece of code: ```haskell foo = (even $ 5) || False ``` (valid) Gets parsed to the same ast as: ```haskell foo = even $ 5 || False...

Fixes #336. Thought of using `FieldAssignment` at first but got dissuaded by the fact that you can update multiple fields per record update. I didn't use an expression for the...

¡Buenas! Esta solución para [este desafío](https://mumuki.io/pdep-utn/exercises/9840-programacion-funcional-modelado-transferirnafta) tira como que no usa la función `cuantoLePuedeDar` y sí la usa. ```Haskell cuantoLePuedeDar auto1 auto2 = min (nivelNafta auto1) (tamanioTanque auto2 - nivelNafta...

Nowadays we can use `UsesComprehension` in Haskell exercises. It would be great if we could apply this expectation in Python exercises as well.

... or probably the issue is related to using elif. For example: C.E. : ![Screen Shot 2021-03-10 at 18 00 47](https://user-images.githubusercontent.com/3957637/110697023-8d5d2200-81ca-11eb-9bef-8a7e5f4e287d.png) Solution: ![Screen Shot 2021-03-10 at 18 01 16](https://user-images.githubusercontent.com/3957637/110697088-9e0d9800-81ca-11eb-8913-c82bf347f059.png)

It would be great to have a Code smell that check if a sentence has no effect. For example: Ruby: ```ruby module Car @fuel @model end ``` or JS: ```javascript...