pgb_liv\php_ms\Reader\FastaEntry\EnsembleFastaEntry::getProtein
{@inheritdoc}
Signature
public function getProtein(
$identifier,
$description )
Parameters
$identifier
—
$description
—
Defined by Interface
FastaInterface
Test Coverage
Information
- Coverage: 0/61 Lines (0%)
- Tests: 0
- Passed: 0 (0%)
Violations
PHPMessDetector
Line |
Rule |
Message |
70 - 149 |
CyclomaticComplexity
|
The method getProtein() has a Cyclomatic Complexity of 16. The configured cyclomatic complexity threshold is 10. |
70 - 149 |
NPathComplexity
|
The method getProtein() has an NPath complexity of 324. The configured NPath complexity threshold is 200. |
78 |
StaticAccess
|
Avoid using static access to class '\pgb_liv\php_ms\Core\Database\DatabaseFactory' in method 'getProtein'. |
116 |
StaticAccess
|
Avoid using static access to class '\pgb_liv\php_ms\Core\Gene' in method 'getProtein'. |
117 - 119 |
ElseExpression
|
The method getProtein uses an else expression. Else is never necessary and you can simplify the code to work without else. |
121 |
StaticAccess
|
Avoid using static access to class '\pgb_liv\php_ms\Core\Database\EnsembleGDatabase' in method 'getProtein'. |
134 |
StaticAccess
|
Avoid using static access to class '\pgb_liv\php_ms\Core\Database\EnsembleTDatabase' in method 'getProtein'. |