/[eiffelstudio]/trunk/eweasel/tests/codeanalysis031/tcf
ViewVC logotype

Contents of /trunk/eweasel/tests/codeanalysis031/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 101982 - (show annotations)
Fri Jul 20 16:40:02 2018 UTC (16 months ago) by alexk
File size: 300 byte(s)
Added an example for CA020 (unread variable) when a target of a creation instruction is also used in arguments and, therefore, should be considered as read.
1 test_name ca-local-used-in-creation-argument
2 test_description A local variable should be considered as used if it is set by a creation instruction that used this local in arguments.
3
4 copy_sub Ace $TEST Ace
5 copy_raw test.e $CLUSTER test.e
6
7 analyze_code rule "CA020"
8 analyze_code_result ok
9
10 test_end

Properties

Name Value
svn:eol-style native
svn:keywords Author Date ID Revision

  ViewVC Help
Powered by ViewVC 1.1.23