pgb_liv\php_ms\Writer\FastaWriter::writeDescription

Signature

private function writeDescription(Protein $protein )

Parameters

$protein

Test Coverage

Information

  • Coverage: 15/34 Lines (44.117647058824%)
  • Tests: 1
  • Passed: 1 (100%)

Tests

  • [ PASSED ] — pgb_liv\php_ms\Test\Unit\FastaWriterTest::testCanWritePeffEntry

Violations

PHPMessDetector

Line Rule Message
125 - 171 CyclomaticComplexity The method writeDescription() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
125 - 171 NPathComplexity The method writeDescription() has an NPath complexity of 240. The configured NPath complexity threshold is 200.