pgb_liv\php_ms\Reader\FastaEntry\PeffFastaEntry::parseAttributes
Parses the attribute array and inputs the data into the protein
Signature
private function parseAttributes(Protein
$protein,
array
$attributes )
Parameters
$protein
— pgb_liv\php_ms\Core\Protein
Object to input values to$attributes
— array
Array to read from
Returns
- void
Test Coverage
Information
- Coverage: 0/49 Lines (0%)
- Tests: 0
- Passed: 0 (0%)
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
89 - 146 | CyclomaticComplexity | The method parseAttributes() has a Cyclomatic Complexity of 20. The configured cyclomatic complexity threshold is 10. |
92 | StaticAccess | Avoid using static access to class '\pgb_liv\php_ms\Core\Organism' in method 'parseAttributes'. |
110 | StaticAccess | Avoid using static access to class '\pgb_liv\php_ms\Core\Gene' in method 'parseAttributes'. |