| 1 | <?php |
||
| 18 | class Result implements ExportableInterface { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Lines of code |
||
| 22 | * |
||
| 23 | * @var integer |
||
| 24 | */ |
||
| 25 | private $loc; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Lines of comments |
||
| 29 | * |
||
| 30 | * @var integer |
||
| 31 | */ |
||
| 32 | private $commentLoc; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Logical Lines of code |
||
| 36 | * |
||
| 37 | * @var integer |
||
| 38 | */ |
||
| 39 | private $logicalLoc; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Complexity cyclomatic |
||
| 43 | * |
||
| 44 | * @var integer |
||
| 45 | */ |
||
| 46 | private $complexityCyclomatic; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritdoc |
||
| 50 | */ |
||
| 51 | public function asArray() { |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param int $complexityCyclomatic |
||
| 60 | * @return $this |
||
| 61 | */ |
||
| 62 | public function setComplexityCyclomatic($complexityCyclomatic) |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return int |
||
| 70 | */ |
||
| 71 | public function getComplexityCyclomatic() |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @param int $loc |
||
| 78 | * @return $this |
||
| 79 | */ |
||
| 80 | public function setLoc($loc) |
||
| 85 | |||
| 86 | /** |
||
| 87 | * @return int |
||
| 88 | */ |
||
| 89 | public function getLoc() |
||
| 93 | |||
| 94 | /** |
||
| 95 | * @param int $logicalLoc |
||
| 96 | * @return $this |
||
| 97 | */ |
||
| 98 | public function setLogicalLoc($logicalLoc) |
||
| 103 | |||
| 104 | /** |
||
| 105 | * @return int |
||
| 106 | */ |
||
| 107 | public function getLogicalLoc() |
||
| 111 | |||
| 112 | /** |
||
| 113 | * @param int $commentLoc |
||
| 114 | * @return $this |
||
| 115 | */ |
||
| 116 | public function setCommentLoc($commentLoc) |
||
| 121 | |||
| 122 | /** |
||
| 123 | * @return int |
||
| 124 | */ |
||
| 125 | public function getCommentLoc() |
||
| 129 | } |