What is Lint in Android?
Lint is static code analysis android tools which checks the android project source file for errors and optimization improvements like security, correctness, performance, usability and accessibility.It is android scanning tools which identify and correct the structural quality of a code.
More about lint:
More about lint:
- Its identifies and check that whether android application meet the functional requirement.
- Lint tool has following part:
fig-lint tools processing ,src-developers.andriod.com |
- App Source file -It is application source file which is android project.
- Lint.xml -It is configuration file which is used to specify any lint checks which you want to exclude or customize.
- Lint tool -It is android static code analysis tool run in command line or eclipse.
- Lint output-output of lint comes in Lint Warning view in eclipse.
- In order to disable lint checking for specific java classes or methods ,we use @SuppressLintannotation.
- In order to disable lint checking for section in XML layout ,we use tools:ignore attribute.
- Some type of errors which lint looks for:
- Unused resources.
- Layout performance problem.
- Usability problem.
- Icon problems.
- Manifest errors.
- Inconsistent Array sizes.
- Accessibility problem.
any time
ReplyDelete