Method |
Description |
|
addClone ( CodeClone $clone ) |
Adds a clone to the map. |
|
count ( ) |
Returns the number of clones stored in this map. |
|
current ( ) : CodeClone |
Returns the current element. |
|
getClones ( ) : CodeClone[] |
Returns the clones stored in this map. |
|
getNumLines ( ) : integer |
Returns the number of lines analyzed. |
|
getPercentage ( ) : string |
Returns the percentage of duplicated code lines in the project. |
|
key ( ) : integer |
Returns the key of the current element. |
|
next ( ) |
Moves forward to next element. |
|
rewind ( ) |
Rewinds the Iterator to the first element. |
|
setNumLines ( integer $numLines ) |
Sets the number of physical source code lines in the project. |
|
valid ( ) : boolean |
Checks if there is a current element after calls to rewind() or next(). |
|