1 | <?php |
||
26 | class FileAnalyzer |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * Output |
||
31 | * |
||
32 | * @var \Symfony\Component\Console\Output\OutputInterface |
||
33 | */ |
||
34 | private $output; |
||
35 | |||
36 | /** |
||
37 | * do OOP analyze ? |
||
38 | * |
||
39 | * @var bool |
||
40 | */ |
||
41 | private $withOOP; |
||
42 | |||
43 | /** |
||
44 | * @var Halstead |
||
45 | */ |
||
46 | private $halstead; |
||
47 | |||
48 | /** |
||
49 | * @var MaintainabilityIndex |
||
50 | */ |
||
51 | private $maintainabilityIndex; |
||
52 | |||
53 | /** |
||
54 | * @var Loc |
||
55 | */ |
||
56 | private $loc; |
||
57 | |||
58 | /** |
||
59 | * @var McCabe |
||
60 | */ |
||
61 | private $mcCabe; |
||
62 | |||
63 | /** |
||
64 | * @var Myer |
||
65 | */ |
||
66 | private $myer; |
||
67 | |||
68 | /** |
||
69 | * @var Extractor |
||
70 | */ |
||
71 | private $extractor; |
||
72 | |||
73 | /** |
||
74 | * @var \Hal\Component\OOP\Extractor\ClassMap |
||
75 | */ |
||
76 | private $classMap; |
||
77 | |||
78 | /** |
||
79 | * Constructor |
||
80 | * |
||
81 | * @param OutputInterface $output |
||
82 | * @param boolean $withOOP |
||
83 | * @param Extractor $extractor |
||
84 | * @param Halstead $halstead |
||
85 | * @param Loc $loc |
||
86 | * @param MaintainabilityIndex $maintainabilityIndex |
||
87 | * @param McCabe $mcCabe |
||
88 | * @param Myer $myer |
||
89 | * @param ClassMap $classMap |
||
90 | */ |
||
91 | public function __construct( |
||
113 | |||
114 | |||
115 | /** |
||
116 | * Run analyze |
||
117 | * |
||
118 | * @param $filename |
||
119 | * @return \Hal\Component\Result\ResultSet |
||
120 | */ |
||
121 | public function execute($filename) { |
||
145 | |||
146 | } |
||
147 |