Scilab 6.0.0
- Aide de Scilab
- Lint tool (SLint)
- Checker for bracketed expressions
- Checker to count break or coninue in loops
- Checker for comment ratio
- Checker for format of decimal numbers
- Checker for deprecated functions
- Checker for empty block
- Checker for == as assignment
- Checker for function's arguments
- Checker for order in function arguments
- Checker for function name
- Checker error on function return
- Checker for global keyword
- Checker for illegal calls
- Checker for implicitit list
- Checker for line length
- Checker for lines count
- Checker for load/save functions
- Checker for McCabe complexity
- Checker for mopen/mclose functions
- Checker for NaN in comparisons
- Checker to count the nested blocks
- Checker for 'not equal' operator
- Checker for double negation
- Checker for old not operator
- Checker for printf function
- Checker for redefinition
- Checker to count return in a function
- Checker for select
- Checker for semicolon at end of line
- Checker for single instruction
- Checker for spaces in arguments separated with commas
- Checker to count the statements in a condition (if or while condition)
- Checker for struct
- Checker for todo in comments
- Checker for unreachable code
- Checker for function's arguments
- Checker for useless operations
- Checker for variable name
- Checker for variables use
- slint
Aide de Scilab >> Lint tool (SLint) > slint
slint
Call the lint tool
Calling Sequence
slint(files [, conf, out]) slint(files [, out]) out = slint(files [, conf], print)
Arguments
- files
a matrix of strings, the .sci files or the directories to analyze.
- conf
a scalar string, the name of the configuration file (by default it's SCI/modules/slint/etc/slint.xml).
- out
a scalar string, the name of the output file.
a scalar boolean, if true the result is printed else the result is a struct.
- out
a struct (if print is false).
Description
slint has been written to check the "quality" of the Scilab's code according to configurable rules.
Examples
slint("SCI/modules/elementary_functions/macros/atanm.sci");
See Also
- GlobalKeyword
- Redefinition
- Variables
- FunctionName
- FunctionArgs
- UselessArg
- VariableName
- SingleInstr
- EmptyBlock
- MopenMclose
- McCabe
- Decimal
- Printf
- LineLength
- LinesCount
- Todo
- NaN
- EqEq
- UselessOp
- UnreachableCode
- Deprecated
- Select
- ImplicitList
- Struct
- LoadSave
- OldNot
- SpacesInArgs
- BreaksInLoop
- NestedBlocks
- StatInCond
- BracketedExp
- NotNot
- IllegalCalls
- CommentRatio
- FunctionArgsOrder
- FunctionTestReturn
- SemicolonAtEOL
- ReturnsCount
- NotEqual
Comments
Add a comment:
Please login to comment this page.