-
Notifications
You must be signed in to change notification settings - Fork 0
Literature Review
Louis Kueh edited this page Nov 6, 2018
·
18 revisions
- Hints - write own rules and suggestions
- NameConventions - rules that define stylistic naming conventions
- SourceLength - rules that analyse sections of code, e.g. complexity, max lines in a function
- Typography - analyse text in a file, e.g. max chars on line, trailing white space
- NestedStatements - check depth of nested elements
- Number of Items - check number of parameters to a function
- Function Reimplementation - highlight lamda function to be removed
fun x y -> x + y fun x y -> foo x y Chaining functions
fun x -> not(isValid(x)) fun x -> x |> isValid |> not- XmlDocumentation - check if xml
- Binding - binding errors
- RaiseWithTooManyARguments - raise? - passed with too many arguments
- bracket reduction only (e.g.
(foo) => foo)
foo xs = concat (map op xs) => concat . map op = > concatMap-
Improve code and teach author better style. Doing modifications one by one individually improves style.
-
Display semantically changing hints
-
Severity
- Error - parse error
- warning -
concat (map f x ) => concatMap f x - suggestion - worthwhile but not to be applied blindly
-
Ignore/suppress hints based on user input, as hints do not always make sense
-
Research
-
Implementation
-
Weekly Reports
-
Meeting Feedback