Lines Matching refs:author
85 $author = 'Unknown';
89 $author = $blameAuthor;
93 if (isset($this->_authorCache[$author]) === false) {
94 $this->_authorCache[$author] = 0;
95 $this->_praiseCache[$author] = array(
101 $this->_praiseCache[$author]['bad']++;
105 $this->_authorCache[$author]++;
109 if (isset($this->_sourceCache[$author][$source]) === false) {
110 $this->_sourceCache[$author][$source] = array(
115 $this->_sourceCache[$author][$source]['count']++;
127 $author = $this->getAuthor($line);
128 if ($author === false) {
129 $author = 'Unknown';
132 if (isset($this->_authorCache[$author]) === false) {
138 $this->_authorCache[$author] = 0;
139 $this->_praiseCache[$author] = array(
145 $this->_praiseCache[$author]['good']++;
186 foreach ($this->_authorCache as $author => $count) {
187 $maxLength = max($maxLength, strlen($author));
188 if ($showSources === true && isset($this->_sourceCache[$author]) === true) {
189 foreach ($this->_sourceCache[$author] as $source => $sourceData) {
225 foreach ($this->_authorCache as $author => $count) {
226 if ($this->_praiseCache[$author]['good'] === 0) {
229 … $total = ($this->_praiseCache[$author]['bad'] + $this->_praiseCache[$author]['good']);
230 $percent = round(($this->_praiseCache[$author]['bad'] / $total * 100), 2);
238 … $line = $author.str_repeat(' ', ($width - strlen($author) - strlen($line))).$line;
246 if ($showSources === true && isset($this->_sourceCache[$author]) === true) {
247 $errors = $this->_sourceCache[$author];