diff --git a/src/Application.php b/src/Application.php index 0809b89..93a3621 100644 --- a/src/Application.php +++ b/src/Application.php @@ -20,12 +20,16 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\ScoreCalculator; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; +use Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\Report\SemanticCouplingReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\Report\SemanticCouplingReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\DirectoryScanner; use Phauthentic\CognitiveCodeAnalysis\Cache\FileCache; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnCommand; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnValidationSpecificationFactory; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsCommand; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsValidationSpecificationFactory; +use Phauthentic\CognitiveCodeAnalysis\Command\SemanticAnalysisCommand; +use Phauthentic\CognitiveCodeAnalysis\Command\SemanticAnalysisSpecifications\SemanticAnalysisValidationSpecificationFactory; use Phauthentic\CognitiveCodeAnalysis\Command\EventHandler\ParserErrorHandler; use Phauthentic\CognitiveCodeAnalysis\Command\EventHandler\ProgressBarHandler; use Phauthentic\CognitiveCodeAnalysis\Command\EventHandler\VerboseHandler; @@ -35,9 +39,11 @@ use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\CoverageLoadHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\SortingHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveMetricsReportHandler; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\SemanticCouplingReportHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\ChurnTextRenderer; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRenderer; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRendererInterface; +use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\SemanticCouplingTextRenderer; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigLoader; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use PhpParser\NodeTraverser; @@ -121,6 +127,9 @@ private function registerCoreServices(): void $this->containerBuilder->register(ChurnValidationSpecificationFactory::class, ChurnValidationSpecificationFactory::class) ->setPublic(true); + + $this->containerBuilder->register(SemanticAnalysisValidationSpecificationFactory::class, SemanticAnalysisValidationSpecificationFactory::class) + ->setPublic(true); } private function registerReportFactories(): void @@ -136,6 +145,12 @@ private function registerReportFactories(): void new Reference(ConfigService::class), ]) ->setPublic(true); + + $this->containerBuilder->register(SemanticCouplingReportFactoryInterface::class, SemanticCouplingReportFactory::class) + ->setArguments([ + new Reference(ConfigService::class), + ]) + ->setPublic(true); } private function registerPresentationServices(): void @@ -151,6 +166,12 @@ private function registerPresentationServices(): void new Reference(ConfigService::class) ]) ->setPublic(true); + + $this->containerBuilder->register(SemanticCouplingTextRenderer::class, SemanticCouplingTextRenderer::class) + ->setArguments([ + new Reference(OutputInterface::class) + ]) + ->setPublic(true); } private function registerUtilityServices(): void @@ -206,6 +227,13 @@ private function registerCommandHandlers(): void ]) ->setPublic(true); + $this->containerBuilder->register(SemanticCouplingReportHandler::class, SemanticCouplingReportHandler::class) + ->setArguments([ + new Reference(OutputInterface::class), + new Reference(SemanticCouplingReportFactoryInterface::class), + ]) + ->setPublic(true); + // Register cognitive analysis handlers $this->containerBuilder->register(ConfigurationLoadHandler::class, ConfigurationLoadHandler::class) ->setArguments([ @@ -297,6 +325,7 @@ private function registerMetricsFacade(): void new Reference(ChangeCounterFactory::class), new Reference(ChurnReportFactoryInterface::class), new Reference(CognitiveReportFactoryInterface::class), + new Reference(SemanticCouplingReportFactoryInterface::class), ]) ->setPublic(true); } @@ -324,6 +353,14 @@ private function registerCommands(): void new Reference(ChurnValidationSpecificationFactory::class), ]) ->setPublic(true); + + $this->containerBuilder->register(SemanticAnalysisCommand::class, SemanticAnalysisCommand::class) + ->setArguments([ + new Reference(SemanticCouplingTextRenderer::class), + new Reference(SemanticCouplingReportHandler::class), + new Reference(SemanticAnalysisValidationSpecificationFactory::class), + ]) + ->setPublic(true); } private function configureApplication(): void @@ -335,7 +372,8 @@ private function configureApplication(): void ]) ->setPublic(true) ->addMethodCall('add', [new Reference(CognitiveMetricsCommand::class)]) - ->addMethodCall('add', [new Reference(ChurnCommand::class)]); + ->addMethodCall('add', [new Reference(ChurnCommand::class)]) + ->addMethodCall('add', [new Reference(SemanticAnalysisCommand::class)]); } public function run(): void diff --git a/src/Business/MetricsFacade.php b/src/Business/MetricsFacade.php index d9d193a..bda06f9 100644 --- a/src/Business/MetricsFacade.php +++ b/src/Business/MetricsFacade.php @@ -14,6 +14,11 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollector; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\ScoreCalculator; +use Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\SemanticCouplingCollection; +use Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\SemanticCouplingCalculator; +use Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\TermExtractor; +use Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\TfIdfCalculator; +use Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\Report\SemanticCouplingReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; @@ -32,7 +37,8 @@ public function __construct( private readonly ChurnCalculator $churnCalculator, private readonly ChangeCounterFactory $changeCounterFactory, private readonly ChurnReportFactoryInterface $churnReportFactory, - private readonly CognitiveReportFactoryInterface $cognitiveReportFactory + private readonly CognitiveReportFactoryInterface $cognitiveReportFactory, + private readonly SemanticCouplingReportFactoryInterface $semanticCouplingReportFactory ) { // Configuration will be loaded when needed } @@ -189,4 +195,159 @@ public function clearCache(): void { $this->cognitiveMetricsCollector->clearCache(); } + + /** + * Calculate semantic coupling between entities. + * + * @param array $paths Array of file or directory paths to analyze + * @param array $options Analysis options (granularity, threshold, etc.) + * @return SemanticCouplingCollection The semantic coupling metrics + */ + public function calculateSemanticCoupling(array $paths, array $options = []): SemanticCouplingCollection + { + $granularity = $options['granularity'] ?? 'file'; + $threshold = $options['threshold'] ?? null; + + // Find PHP files in all paths + $phpFiles = []; + foreach ($paths as $path) { + $phpFiles = array_merge($phpFiles, $this->findPhpFiles($path)); + } + + if (empty($phpFiles)) { + return new SemanticCouplingCollection(); + } + + // Extract identifiers from files + $entityIdentifiers = $this->extractIdentifiersFromFiles($phpFiles, $granularity); + + if (empty($entityIdentifiers)) { + return new SemanticCouplingCollection(); + } + + // Calculate semantic coupling + $termExtractor = new TermExtractor(); + $tfIdfCalculator = new TfIdfCalculator(); + $calculator = new SemanticCouplingCalculator($termExtractor, $tfIdfCalculator); + + $couplings = $calculator->calculate($entityIdentifiers, $granularity); + + // Apply threshold filter if specified + if ($threshold !== null) { + $couplings = $couplings->filterByThreshold($threshold); + } + + return $couplings; + } + + /** + * Export semantic coupling report. + * + * @param SemanticCouplingCollection $couplings The coupling metrics to export + * @param string $reportType Type of report to generate + * @param string $filename Output filename + */ + public function exportSemanticCouplingReport( + SemanticCouplingCollection $couplings, + string $reportType, + string $filename + ): void { + $exporter = $this->semanticCouplingReportFactory->create($reportType); + $exporter->export($couplings, $filename); + } + + /** + * Find PHP files in the given path. + * + * @param string $path + * @return array + */ + private function findPhpFiles(string $path): array + { + $files = []; + + if (is_file($path) && pathinfo($path, PATHINFO_EXTENSION) === 'php') { + return [$path]; + } + + if (is_dir($path)) { + $iterator = new \RecursiveIteratorIterator( + new \RecursiveDirectoryIterator($path, \RecursiveDirectoryIterator::SKIP_DOTS) + ); + + foreach ($iterator as $file) { + if ($file->isFile() && $file->getExtension() === 'php') { + $files[] = $file->getPathname(); + } + } + } + + return $files; + } + + /** + * Extract identifiers from PHP files based on granularity. + * + * @param array $phpFiles + * @param string $granularity + * @return array> + */ + private function extractIdentifiersFromFiles(array $phpFiles, string $granularity): array + { + $entityIdentifiers = []; + $parser = (new \PhpParser\ParserFactory())->createForNewestSupportedVersion(); + $traverser = new \PhpParser\NodeTraverser(); + + foreach ($phpFiles as $file) { + try { + $ast = $parser->parse(file_get_contents($file)); + if ($ast === null) { + continue; + } + + $visitor = new \Phauthentic\CognitiveCodeAnalysis\PhpParser\TermExtractionVisitor(); + $visitor->setCurrentFile($file); + $traverser->addVisitor($visitor); + $traverser->traverse($ast); + + switch ($granularity) { + case 'file': + $entityIdentifiers[$file] = $visitor->getIdentifiers(); + break; + case 'class': + $classIdentifiers = $visitor->getClassIdentifiers(); + foreach ($classIdentifiers as $class => $identifiers) { + $entityIdentifiers[$class] = $identifiers; + } + break; + case 'module': + $module = $this->extractModuleFromPath($file); + if (!isset($entityIdentifiers[$module])) { + $entityIdentifiers[$module] = []; + } + $entityIdentifiers[$module] = array_merge( + $entityIdentifiers[$module], + $visitor->getIdentifiers() + ); + break; + } + + $traverser->removeVisitor($visitor); + } catch (\Exception $e) { + // Skip files that can't be parsed + continue; + } + } + + return $entityIdentifiers; + } + + /** + * Extract module name from file path. + */ + private function extractModuleFromPath(string $filePath): string + { + $pathParts = explode(DIRECTORY_SEPARATOR, dirname($filePath)); + return end($pathParts) ?: 'root'; + } } diff --git a/src/Business/SemanticCoupling/CouplingMatrix.php b/src/Business/SemanticCoupling/CouplingMatrix.php new file mode 100644 index 0000000..29b0be9 --- /dev/null +++ b/src/Business/SemanticCoupling/CouplingMatrix.php @@ -0,0 +1,170 @@ +> + */ + private array $matrix = []; + + /** + * @var array> + */ + private array $sharedTerms = []; + + /** + * @var array>> + */ + private array $entityTerms = []; + + public function add(string $entity1, string $entity2, float $score, array $sharedTerms = [], array $entity1Terms = [], array $entity2Terms = []): void + { + // Ensure consistent ordering (entity1 < entity2 lexicographically) + if ($entity1 > $entity2) { + [$entity1, $entity2] = [$entity2, $entity1]; + [$entity1Terms, $entity2Terms] = [$entity2Terms, $entity1Terms]; + } + + $this->matrix[$entity1][$entity2] = $score; + $this->sharedTerms[$entity1][$entity2] = $sharedTerms; + $this->entityTerms[$entity1][$entity2] = [ + 'entity1' => $entity1Terms, + 'entity2' => $entity2Terms + ]; + } + + public function getScore(string $entity1, string $entity2): ?float + { + if ($entity1 > $entity2) { + [$entity1, $entity2] = [$entity2, $entity1]; + } + + return $this->matrix[$entity1][$entity2] ?? null; + } + + public function getSharedTerms(string $entity1, string $entity2): array + { + if ($entity1 > $entity2) { + [$entity1, $entity2] = [$entity2, $entity1]; + } + + return $this->sharedTerms[$entity1][$entity2] ?? []; + } + + public function getTopCoupled(int $limit = 10): array + { + $pairs = []; + + foreach ($this->matrix as $entity1 => $row) { + foreach ($row as $entity2 => $score) { + $pairs[] = [ + 'entity1' => $entity1, + 'entity2' => $entity2, + 'score' => $score, + 'sharedTerms' => $this->sharedTerms[$entity1][$entity2] ?? [] + ]; + } + } + + // Sort by score descending + usort($pairs, fn($a, $b) => $b['score'] <=> $a['score']); + + return array_slice($pairs, 0, $limit); + } + + public function getCouplingFor(string $entity): array + { + $couplings = []; + + // Check if entity is in first dimension + if (isset($this->matrix[$entity])) { + foreach ($this->matrix[$entity] as $otherEntity => $score) { + $couplings[] = [ + 'entity' => $otherEntity, + 'score' => $score, + 'sharedTerms' => $this->sharedTerms[$entity][$otherEntity] ?? [] + ]; + } + } + + // Check if entity is in second dimension + foreach ($this->matrix as $entity1 => $row) { + if (isset($row[$entity])) { + $couplings[] = [ + 'entity' => $entity1, + 'score' => $row[$entity], + 'sharedTerms' => $this->sharedTerms[$entity1][$entity] ?? [] + ]; + } + } + + // Sort by score descending + usort($couplings, fn($a, $b) => $b['score'] <=> $a['score']); + + return $couplings; + } + + public function getAllEntities(): array + { + $entities = []; + + foreach ($this->matrix as $entity1 => $row) { + $entities[] = $entity1; + foreach ($row as $entity2 => $score) { + $entities[] = $entity2; + } + } + + return array_unique($entities); + } + + public function getMatrix(): array + { + return $this->matrix; + } + + public function toSemanticCouplingCollection(string $granularity): SemanticCouplingCollection + { + $collection = new SemanticCouplingCollection(); + + foreach ($this->matrix as $entity1 => $row) { + foreach ($row as $entity2 => $score) { + $entityTermsData = $this->entityTerms[$entity1][$entity2] ?? ['entity1' => [], 'entity2' => []]; + + $metric = new SemanticCouplingMetrics( + $entity1, + $entity2, + $score, + $granularity, + $this->sharedTerms[$entity1][$entity2] ?? [], + $entityTermsData['entity1'], + $entityTermsData['entity2'] + ); + $collection->add($metric); + } + } + + return $collection; + } + + public function isEmpty(): bool + { + return empty($this->matrix); + } + + public function getCount(): int + { + $count = 0; + foreach ($this->matrix as $row) { + $count += count($row); + } + return $count; + } +} diff --git a/src/Business/SemanticCoupling/Report/AbstractReport.php b/src/Business/SemanticCoupling/Report/AbstractReport.php new file mode 100644 index 0000000..5a108d9 --- /dev/null +++ b/src/Business/SemanticCoupling/Report/AbstractReport.php @@ -0,0 +1,56 @@ +format('Y-m-d H:i:s'); + } +} diff --git a/src/Business/SemanticCoupling/Report/CsvReport.php b/src/Business/SemanticCoupling/Report/CsvReport.php new file mode 100644 index 0000000..24c93cc --- /dev/null +++ b/src/Business/SemanticCoupling/Report/CsvReport.php @@ -0,0 +1,68 @@ +assertFileIsWritable($filename); + + $csvData = []; + + // Add header + $csvData[] = ['Entity1', 'Entity2', 'Score', 'Granularity', 'SharedTerms']; + + // Add data rows + foreach ($couplings as $coupling) { + $csvData[] = [ + $coupling->getEntity1(), + $coupling->getEntity2(), + number_format($coupling->getScore(), 4), + $coupling->getGranularity(), + implode(', ', $coupling->getSharedTerms()) + ]; + } + + // Convert to CSV format + $csvContent = ''; + foreach ($csvData as $row) { + $csvContent .= $this->arrayToCsv($row) . "\n"; + } + + $this->writeFile($filename, $csvContent); + } + + /** + * Convert array to CSV row. + */ + private function arrayToCsv(array $data): string + { + $csv = ''; + foreach ($data as $field) { + if ($csv !== '') { + $csv .= ','; + } + + // Escape quotes and wrap in quotes if contains comma, quote, or newline + $escaped = str_replace('"', '""', (string)$field); + if (strpos($escaped, ',') !== false || strpos($escaped, '"') !== false || strpos($escaped, "\n") !== false) { + $csv .= '"' . $escaped . '"'; + } else { + $csv .= $escaped; + } + } + + return $csv; + } +} diff --git a/src/Business/SemanticCoupling/Report/HtmlHeatmapReport.php b/src/Business/SemanticCoupling/Report/HtmlHeatmapReport.php new file mode 100644 index 0000000..a2ba03b --- /dev/null +++ b/src/Business/SemanticCoupling/Report/HtmlHeatmapReport.php @@ -0,0 +1,207 @@ +assertFileIsWritable($filename); + + $html = $this->generateHeatmapHtml($couplings); + $this->writeFile($filename, $html); + } + + /** + * Generate HTML heatmap content. + */ + private function generateHeatmapHtml(SemanticCouplingCollection $couplings): string + { + $granularity = $couplings->count() > 0 ? $couplings->current()->getGranularity() : 'unknown'; + + // Build coupling matrix + $matrix = []; + $entities = []; + + foreach ($couplings as $coupling) { + $entity1 = $coupling->getEntity1(); + $entity2 = $coupling->getEntity2(); + + if (!in_array($entity1, $entities, true)) { + $entities[] = $entity1; + } + if (!in_array($entity2, $entities, true)) { + $entities[] = $entity2; + } + + $matrix[$entity1][$entity2] = $coupling->getScore(); + $matrix[$entity2][$entity1] = $coupling->getScore(); + } + + // Sort entities for consistent display + sort($entities); + + // Generate SVG heatmap + $svg = $this->generateSvgHeatmap($matrix, $entities); + + $html = ' + + + + + Semantic Coupling Heatmap + + + +
+

Semantic Coupling Heatmap

+

Generated: ' . $this->getCurrentTimestamp() . '

+

Granularity: ' . htmlspecialchars($granularity) . '

+

Total Entities: ' . count($entities) . '

+

Total Couplings: ' . $couplings->count() . '

+
+ +
+
+
+ High Coupling (≥0.7) +
+
+
+ Medium Coupling (0.4-0.7) +
+
+
+ Low Coupling (<0.4) +
+
+
+ No Coupling +
+
+ +
+ ' . $svg . ' +
+ + + +'; + + return $html; + } + + /** + * Generate SVG heatmap. + */ + private function generateSvgHeatmap(array $matrix, array $entities): string + { + $cellSize = 20; + $padding = 5; + $width = count($entities) * ($cellSize + $padding) + 100; // Extra space for labels + $height = count($entities) * ($cellSize + $padding) + 100; + + $svg = ''; + + // Add entity labels on top + foreach ($entities as $i => $entity) { + $x = 100 + $i * ($cellSize + $padding) + $cellSize / 2; + $y = 20; + $svg .= '' . htmlspecialchars($entity) . ''; + } + + // Add entity labels on left + foreach ($entities as $i => $entity) { + $x = 20; + $y = 100 + $i * ($cellSize + $padding) + $cellSize / 2; + $svg .= '' . htmlspecialchars($entity) . ''; + } + + // Add heatmap cells + foreach ($entities as $i => $entity1) { + foreach ($entities as $j => $entity2) { + $x = 100 + $j * ($cellSize + $padding); + $y = 100 + $i * ($cellSize + $padding); + + $score = $matrix[$entity1][$entity2] ?? 0.0; + $color = $this->getScoreColor($score); + + $svg .= ''; + } + } + + $svg .= ''; + + return $svg; + } + + /** + * Get color based on coupling score. + */ + private function getScoreColor(float $score): string + { + if ($score >= 0.7) { + return '#d32f2f'; // Red + } elseif ($score >= 0.4) { + return '#ff9800'; // Orange + } elseif ($score > 0.0) { + return '#4caf50'; // Green + } else { + return '#f5f5f5'; // Light gray + } + } +} diff --git a/src/Business/SemanticCoupling/Report/HtmlReport.php b/src/Business/SemanticCoupling/Report/HtmlReport.php new file mode 100644 index 0000000..a99c9bc --- /dev/null +++ b/src/Business/SemanticCoupling/Report/HtmlReport.php @@ -0,0 +1,130 @@ +assertFileIsWritable($filename); + + $html = $this->generateHtml($couplings); + $this->writeFile($filename, $html); + } + + /** + * Generate HTML content. + */ + private function generateHtml(SemanticCouplingCollection $couplings): string + { + $granularity = $couplings->count() > 0 ? $couplings->current()->getGranularity() : 'unknown'; + + $html = ' + + + + + Semantic Coupling Analysis Report + + + +
+

Semantic Coupling Analysis Report

+

Generated: ' . $this->getCurrentTimestamp() . '

+

Granularity: ' . htmlspecialchars($granularity) . '

+

Total Couplings: ' . $couplings->count() . '

+
+ +
+
+
' . number_format($couplings->getAverageScore(), 3) . '
+
Average Score
+
+
+
' . number_format($couplings->getMaxScore(), 3) . '
+
Maximum Score
+
+
+
' . number_format($couplings->getMinScore(), 3) . '
+
Minimum Score
+
+
+
' . number_format($couplings->getMedianScore(), 3) . '
+
Median Score
+
+
+ + + + + + + + + + + '; + + foreach ($couplings as $coupling) { + $scoreClass = $this->getScoreClass($coupling->getScore()); + $sharedTermsHtml = !empty($coupling->getSharedTerms()) + ? '
' . implode(', ', array_map('htmlspecialchars', $coupling->getSharedTerms())) . '
' + : '
None
'; + + $html .= ' + + + + + + '; + } + + $html .= ' + +
Entity 1Entity 2Coupling ScoreShared Terms
' . htmlspecialchars($coupling->getEntity1()) . '' . htmlspecialchars($coupling->getEntity2()) . '' . number_format($coupling->getScore(), 4) . '' . $sharedTermsHtml . '
+ +'; + + return $html; + } + + /** + * Get CSS class based on coupling score. + */ + private function getScoreClass(float $score): string + { + if ($score >= 0.7) { + return 'score-high'; + } elseif ($score >= 0.4) { + return 'score-medium'; + } else { + return 'score-low'; + } + } +} diff --git a/src/Business/SemanticCoupling/Report/InteractiveTreeReport.php b/src/Business/SemanticCoupling/Report/InteractiveTreeReport.php new file mode 100644 index 0000000..da0f09b --- /dev/null +++ b/src/Business/SemanticCoupling/Report/InteractiveTreeReport.php @@ -0,0 +1,596 @@ +extractAllTerms($collection); + $termTrees = $this->buildTermTrees($collection, $allTerms); + + $html = $this->wrapInHtml($termTrees, $allTerms); + file_put_contents($filename, $html); + } + + private function extractAllTerms(SemanticCouplingCollection $collection): array + { + $terms = []; + foreach ($collection as $coupling) { + $terms = array_merge($terms, $coupling->getSharedTerms()); + } + return array_values(array_unique($terms)); + } + + private function buildTermTrees(SemanticCouplingCollection $collection, array $allTerms): array + { + $termTrees = []; + + foreach ($allTerms as $term) { + $termTrees[$term] = $this->buildTreeForTerm($collection, $term); + } + + return $termTrees; + } + + private function buildTreeForTerm(SemanticCouplingCollection $collection, string $term): array + { + $filesWithTerm = []; + + // Find all files that contain this term + foreach ($collection as $coupling) { + if (in_array($term, $coupling->getSharedTerms())) { + $entity1 = $coupling->getEntity1(); + $entity2 = $coupling->getEntity2(); + + if (!isset($filesWithTerm[$entity1])) { + $filesWithTerm[$entity1] = [ + 'path' => $entity1, + 'name' => basename($entity1), + 'namespace' => $this->extractNamespace($entity1), + 'couplingScore' => 0, + 'children' => [] + ]; + } + + if (!isset($filesWithTerm[$entity2])) { + $filesWithTerm[$entity2] = [ + 'path' => $entity2, + 'name' => basename($entity2), + 'namespace' => $this->extractNamespace($entity2), + 'couplingScore' => 0, + 'children' => [] + ]; + } + + // Update coupling scores + $filesWithTerm[$entity1]['couplingScore'] = max($filesWithTerm[$entity1]['couplingScore'], $coupling->getScore()); + $filesWithTerm[$entity2]['couplingScore'] = max($filesWithTerm[$entity2]['couplingScore'], $coupling->getScore()); + } + } + + // Build hierarchical tree structure + $root = [ + 'name' => $term, + 'path' => '', + 'namespace' => '', + 'couplingScore' => 0, + 'children' => [] + ]; + + foreach ($filesWithTerm as $file) { + $this->insertFileIntoTree($root, $file); + } + + return $root; + } + + private function extractNamespace(string $filePath): string + { + $path = str_replace('\\', '/', $filePath); + $parts = explode('/', $path); + array_pop($parts); // Remove filename + return implode('/', $parts); + } + + private function insertFileIntoTree(array &$root, array $file): void + { + $namespaceParts = explode('/', $file['namespace']); + $current = &$root; + + // Navigate/create namespace path + foreach ($namespaceParts as $part) { + if (empty($part)) continue; + + $found = false; + foreach ($current['children'] as &$child) { + if ($child['name'] === $part && $child['path'] === '') { + $current = &$child; + $found = true; + break; + } + } + + if (!$found) { + $current['children'][] = [ + 'name' => $part, + 'path' => '', + 'namespace' => implode('/', array_slice($namespaceParts, 0, array_search($part, $namespaceParts) + 1)), + 'couplingScore' => 0, + 'children' => [] + ]; + $current = &$current['children'][count($current['children']) - 1]; + } + } + + // Add the file + $current['children'][] = $file; + } + + private function wrapInHtml(array $termTrees, array $allTerms): string + { + $termTreesJson = json_encode($termTrees, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT); + $allTermsJson = json_encode($allTerms, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT); + + return << + + + + + Semantic Coupling - Interactive Tree + + + + +
+

Semantic Coupling - Interactive Tree

+

Select terms to visualize their usage across the codebase. Each tree shows files and namespaces that contain the selected term.

+ +
+
+ +
+
+ +
+ +
+
Selected Terms: 0
+
Total Files: 0
+
Total Namespaces: 0
+
+
+ +
+ + +
+ + + + +HTML; + } +} diff --git a/src/Business/SemanticCoupling/Report/InteractiveTreemapReport.php b/src/Business/SemanticCoupling/Report/InteractiveTreemapReport.php new file mode 100644 index 0000000..2341301 --- /dev/null +++ b/src/Business/SemanticCoupling/Report/InteractiveTreemapReport.php @@ -0,0 +1,819 @@ +assertFileIsWritable($filename); + + $html = $this->generateInteractiveTreemap($couplings); + $this->writeFile($filename, $html); + } + + /** + * Generate interactive treemap HTML. + */ + private function generateInteractiveTreemap(SemanticCouplingCollection $couplings): string + { + $granularity = $couplings->count() > 0 ? $couplings->current()->getGranularity() : 'unknown'; + + // Extract all unique terms from couplings + $allTerms = $this->extractAllTerms($couplings); + + // Build hierarchical tree structure from entity paths + $tree = $this->buildHierarchicalTree($couplings); + + // Generate HTML with interactive controls + return $this->wrapInHtml($allTerms, $granularity, $tree); + } + + /** + * Extract all unique terms from couplings. + */ + private function extractAllTerms(SemanticCouplingCollection $couplings): array + { + $terms = []; + foreach ($couplings as $coupling) { + $terms = array_merge($terms, $coupling->getEntity1Terms(), $coupling->getEntity2Terms()); + } + + $uniqueTerms = array_unique($terms); + sort($uniqueTerms); + return $uniqueTerms; + } + + /** + * Build hierarchical tree structure from entity paths. + */ + private function buildHierarchicalTree(SemanticCouplingCollection $couplings): array + { + $tree = [ + 'name' => 'root', + 'path' => '', + 'type' => 'directory', + 'children' => [], + 'terms' => [], + 'score' => 0, + 'size' => 0 + ]; + + $entityData = []; + + // Collect all entities and their data + foreach ($couplings as $coupling) { + $entity1 = $coupling->getEntity1(); + $entity2 = $coupling->getEntity2(); + + if (!isset($entityData[$entity1])) { + $entityData[$entity1] = [ + 'terms' => [], + 'score' => 0 + ]; + } + + if (!isset($entityData[$entity2])) { + $entityData[$entity2] = [ + 'terms' => [], + 'score' => 0 + ]; + } + + $entityData[$entity1]['terms'] = array_unique(array_merge( + $entityData[$entity1]['terms'], + $coupling->getEntity1Terms() + )); + + $entityData[$entity2]['terms'] = array_unique(array_merge( + $entityData[$entity2]['terms'], + $coupling->getEntity2Terms() + )); + + $entityData[$entity1]['score'] = max($entityData[$entity1]['score'], $coupling->getScore()); + $entityData[$entity2]['score'] = max($entityData[$entity2]['score'], $coupling->getScore()); + } + + // Insert each entity into the tree + foreach ($entityData as $path => $data) { + $this->insertIntoTree($tree, $path, $data['terms'], $data['score']); + } + + // Calculate sizes for directories + $this->calculateDirectorySizes($tree); + + // Aggregate terms to root + $this->aggregateTermsToRoot($tree); + + return $tree; + } + + /** + * Insert a file path into the tree structure. + */ + private function insertIntoTree(array &$node, string $path, array $terms, float $score): void + { + $parts = explode('/', trim($path, '/')); + $current = &$node; + + for ($i = 0; $i < count($parts); $i++) { + $part = $parts[$i]; + $isLast = ($i === count($parts) - 1); + + // Find or create child node + $found = false; + foreach ($current['children'] as &$child) { + if ($child['name'] === $part) { + $current = &$child; + $found = true; + break; + } + } + + if (!$found) { + $newNode = [ + 'name' => $part, + 'path' => implode('/', array_slice($parts, 0, $i + 1)), + 'type' => $isLast ? 'file' : 'directory', + 'children' => [], + 'terms' => [], + 'score' => $isLast ? $score : 0, + 'size' => $isLast ? 1 : 0 + ]; + $current['children'][] = $newNode; + $current = &$current['children'][count($current['children']) - 1]; + } + + // Always merge terms up the tree (for both files and directories) + if (!empty($terms)) { + $current['terms'] = array_unique(array_merge($current['terms'], $terms)); + } + + // Update score to max score of any child + if (!$isLast && $score > $current['score']) { + $current['score'] = $score; + } + } + } + + /** + * Calculate sizes for directories (sum of children). + */ + private function calculateDirectorySizes(array &$node): int + { + if ($node['type'] === 'file') { + return $node['size']; + } + + $totalSize = 0; + foreach ($node['children'] as &$child) { + $totalSize += $this->calculateDirectorySizes($child); + } + + $node['size'] = max(1, $totalSize); + return $node['size']; + } + + /** + * Aggregate all terms up to root level. + */ + private function aggregateTermsToRoot(array &$node): array + { + $allTerms = []; + + if ($node['type'] === 'file') { + return $node['terms']; + } + + foreach ($node['children'] as &$child) { + $childTerms = $this->aggregateTermsToRoot($child); + $allTerms = array_merge($allTerms, $childTerms); + } + + $allTerms = array_unique($allTerms); + $node['terms'] = array_merge($node['terms'], $allTerms); + $node['terms'] = array_unique($node['terms']); + + return $node['terms']; + } + + /** + * Wrap in interactive HTML. + */ + private function wrapInHtml(array $allTerms, string $granularity, array $tree): string + { + $termsJson = json_encode($allTerms, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT); + $treeJson = json_encode($tree, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT); + $totalTerms = count($allTerms); + $svgWidth = self::SVG_WIDTH; + $svgHeight = self::SVG_HEIGHT; + + return << + + + + + Semantic Coupling Interactive Treemap + + + +
+

Semantic Coupling Interactive Treemap

+

Granularity: {$granularity} | Total Terms: {$totalTerms}

+
+ Current Level: Root | + Items: 0 | + Terms in this level: 0 +
+

+ 📁 Folders have thick borders (click to zoom in) | + 📄 Files have thin borders | + Use breadcrumb navigation to go back +

+
+ +
+

Select Terms to Highlight

+
+ +
+ + +
+
+
+ High term sharing (red) +
+
+
+ Medium term sharing (orange) +
+
+
+ Low/No term sharing (blue) +
+
+
+ No selection (gray) +
+
+ +
+ No terms selected +
+
+ + + +
+ + +
+ + + + +HTML; + } +} diff --git a/src/Business/SemanticCoupling/Report/JsonReport.php b/src/Business/SemanticCoupling/Report/JsonReport.php new file mode 100644 index 0000000..748d836 --- /dev/null +++ b/src/Business/SemanticCoupling/Report/JsonReport.php @@ -0,0 +1,38 @@ +assertFileIsWritable($filename); + + $data = [ + 'createdAt' => $this->getCurrentTimestamp(), + 'totalCouplings' => $couplings->count(), + 'granularity' => $couplings->count() > 0 ? $couplings->current()->getGranularity() : 'unknown', + 'summary' => [ + 'averageScore' => $couplings->getAverageScore(), + 'maxScore' => $couplings->getMaxScore(), + 'minScore' => $couplings->getMinScore(), + 'medianScore' => $couplings->getMedianScore(), + ], + 'couplings' => $couplings->toArray(), + ]; + + $jsonData = json_encode($data, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR); + + $this->writeFile($filename, $jsonData); + } +} diff --git a/src/Business/SemanticCoupling/Report/ReportGeneratorInterface.php b/src/Business/SemanticCoupling/Report/ReportGeneratorInterface.php new file mode 100644 index 0000000..7df0843 --- /dev/null +++ b/src/Business/SemanticCoupling/Report/ReportGeneratorInterface.php @@ -0,0 +1,12 @@ +> + */ + private array $reportTypes = [ + 'json' => JsonReport::class, + 'csv' => CsvReport::class, + 'html' => HtmlReport::class, + 'html-heatmap' => HtmlHeatmapReport::class, + 'interactive-treemap' => InteractiveTreemapReport::class, + 'interactive-tree' => InteractiveTreeReport::class, + ]; + + public function __construct( + private readonly ConfigService $configService + ) { + $this->loadCustomReportTypes(); + } + + /** + * Create a report generator for the specified type. + * + * @throws \Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException + */ + public function create(string $reportType): ReportGeneratorInterface + { + if (!isset($this->reportTypes[$reportType])) { + $availableTypes = implode(', ', array_keys($this->reportTypes)); + throw new \Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException( + "Unsupported report type: {$reportType}. Available types: {$availableTypes}" + ); + } + + $reportClass = $this->reportTypes[$reportType]; + return new $reportClass(); + } + + /** + * Get all available report types. + * + * @return array + */ + public function getAvailableReportTypes(): array + { + return array_keys($this->reportTypes); + } + + /** + * Check if a report type is supported. + */ + public function isReportTypeSupported(string $reportType): bool + { + return isset($this->reportTypes[$reportType]); + } + + /** + * Load custom report types from configuration. + */ + private function loadCustomReportTypes(): void + { + $config = $this->configService->getConfig(); + + // Check if custom report types are configured + if (method_exists($config, 'getCustomReportTypes')) { + $customTypes = $config->getCustomReportTypes(); + if (is_array($customTypes)) { + $this->reportTypes = array_merge($this->reportTypes, $customTypes); + } + } + } + + /** + * Add a custom report type. + */ + public function addReportType(string $type, string $className): void + { + if (!class_exists($className)) { + throw new \Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException( + "Report class does not exist: {$className}" + ); + } + + if (!is_subclass_of($className, ReportGeneratorInterface::class)) { + throw new \Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException( + "Report class must implement ReportGeneratorInterface: {$className}" + ); + } + + $this->reportTypes[$type] = $className; + } +} diff --git a/src/Business/SemanticCoupling/Report/SemanticCouplingReportFactoryInterface.php b/src/Business/SemanticCoupling/Report/SemanticCouplingReportFactoryInterface.php new file mode 100644 index 0000000..c3f38ab --- /dev/null +++ b/src/Business/SemanticCoupling/Report/SemanticCouplingReportFactoryInterface.php @@ -0,0 +1,16 @@ +> $entityIdentifiers Entity -> identifiers mapping + * @param string $granularity Analysis granularity (file, class, module) + * @return SemanticCouplingCollection + */ + public function calculate(array $entityIdentifiers, string $granularity = 'file'): SemanticCouplingCollection + { + $this->tfIdfCalculator->clear(); + + // Extract terms for each entity + $entityTerms = []; + foreach ($entityIdentifiers as $entity => $identifiers) { + $terms = $this->termExtractor->extractTermsFromIdentifiers($identifiers); + $entityTerms[$entity] = $terms; + $this->tfIdfCalculator->addEntity($entity, $terms); + } + + // Calculate coupling between all entity pairs + $couplingMatrix = new CouplingMatrix(); + $entities = array_keys($entityIdentifiers); + + for ($i = 0; $i < count($entities); $i++) { + for ($j = $i + 1; $j < count($entities); $j++) { + $entity1 = $entities[$i]; + $entity2 = $entities[$j]; + + $similarity = $this->calculateCosineSimilarity($entity1, $entity2); + $sharedTerms = $this->getSharedTerms($entityTerms[$entity1], $entityTerms[$entity2]); + + // Get entity terms as arrays of term names + $entity1TermNames = array_keys($entityTerms[$entity1]); + $entity2TermNames = array_keys($entityTerms[$entity2]); + + $couplingMatrix->add($entity1, $entity2, $similarity, $sharedTerms, $entity1TermNames, $entity2TermNames); + } + } + + return $couplingMatrix->toSemanticCouplingCollection($granularity); + } + + /** + * Calculate cosine similarity between two entities. + */ + private function calculateCosineSimilarity(string $entity1, string $entity2): float + { + $vector1 = $this->tfIdfCalculator->buildWeightedVector($entity1); + $vector2 = $this->tfIdfCalculator->buildWeightedVector($entity2); + + if (empty($vector1) || empty($vector2)) { + return 0.0; + } + + // Get all unique terms from both vectors + $allTerms = array_unique(array_merge(array_keys($vector1), array_keys($vector2))); + + if (empty($allTerms)) { + return 0.0; + } + + // Calculate dot product + $dotProduct = 0.0; + foreach ($allTerms as $term) { + $weight1 = $vector1[$term] ?? 0.0; + $weight2 = $vector2[$term] ?? 0.0; + $dotProduct += $weight1 * $weight2; + } + + // Calculate magnitudes + $magnitude1 = $this->calculateMagnitude($vector1); + $magnitude2 = $this->calculateMagnitude($vector2); + + if ($magnitude1 === 0.0 || $magnitude2 === 0.0) { + return 0.0; + } + + return $dotProduct / ($magnitude1 * $magnitude2); + } + + /** + * Calculate magnitude of a vector. + */ + private function calculateMagnitude(array $vector): float + { + $sum = 0.0; + foreach ($vector as $weight) { + $sum += $weight * $weight; + } + return sqrt($sum); + } + + /** + * Get shared terms between two entities. + */ + private function getSharedTerms(array $terms1, array $terms2): array + { + $shared = []; + foreach ($terms1 as $term => $freq1) { + if (isset($terms2[$term])) { + $shared[] = $term; + } + } + return $shared; + } + + /** + * Aggregate coupling by module/directory. + * + * @param SemanticCouplingCollection $couplings + * @param callable $entityToModule Function to map entity to module + * @return SemanticCouplingCollection + */ + public function aggregateByModule(SemanticCouplingCollection $couplings, callable $entityToModule): SemanticCouplingCollection + { + $moduleCouplings = new SemanticCouplingCollection(); + $modulePairs = []; + + foreach ($couplings as $coupling) { + $module1 = $entityToModule($coupling->getEntity1()); + $module2 = $entityToModule($coupling->getEntity2()); + + if ($module1 === $module2) { + continue; // Skip intra-module coupling + } + + $key = $module1 < $module2 ? "$module1|$module2" : "$module2|$module1"; + + if (!isset($modulePairs[$key])) { + $modulePairs[$key] = [ + 'module1' => $module1, + 'module2' => $module2, + 'scores' => [], + 'sharedTerms' => [] + ]; + } + + $modulePairs[$key]['scores'][] = $coupling->getScore(); + $modulePairs[$key]['sharedTerms'] = array_merge( + $modulePairs[$key]['sharedTerms'], + $coupling->getSharedTerms() + ); + } + + // Calculate average coupling for each module pair + foreach ($modulePairs as $pair) { + $avgScore = array_sum($pair['scores']) / count($pair['scores']); + $uniqueSharedTerms = array_unique($pair['sharedTerms']); + + $metric = new SemanticCouplingMetrics( + $pair['module1'], + $pair['module2'], + $avgScore, + 'module', + $uniqueSharedTerms + ); + + $moduleCouplings->add($metric); + } + + return $moduleCouplings; + } + + /** + * Get term extractor instance. + */ + public function getTermExtractor(): TermExtractor + { + return $this->termExtractor; + } + + /** + * Get TF-IDF calculator instance. + */ + public function getTfIdfCalculator(): TfIdfCalculator + { + return $this->tfIdfCalculator; + } +} diff --git a/src/Business/SemanticCoupling/SemanticCouplingCollection.php b/src/Business/SemanticCoupling/SemanticCouplingCollection.php new file mode 100644 index 0000000..46fb741 --- /dev/null +++ b/src/Business/SemanticCoupling/SemanticCouplingCollection.php @@ -0,0 +1,171 @@ +metrics[] = $metric; + } + + public function addMultiple(array $metrics): void + { + foreach ($metrics as $metric) { + if ($metric instanceof SemanticCouplingMetrics) { + $this->add($metric); + } + } + } + + public function filterByThreshold(float $threshold): self + { + $filtered = new self(); + foreach ($this->metrics as $metric) { + if ($metric->getScore() >= $threshold) { + $filtered->add($metric); + } + } + return $filtered; + } + + public function filterByGranularity(string $granularity): self + { + $filtered = new self(); + foreach ($this->metrics as $metric) { + if ($metric->getGranularity() === $granularity) { + $filtered->add($metric); + } + } + return $filtered; + } + + public function sortByScore(bool $descending = true): self + { + $sorted = clone $this; + usort($sorted->metrics, function (SemanticCouplingMetrics $a, SemanticCouplingMetrics $b) use ($descending) { + $comparison = $a->getScore() <=> $b->getScore(); + return $descending ? -$comparison : $comparison; + }); + return $sorted; + } + + public function getTop(int $limit): self + { + $sorted = $this->sortByScore(true); + $top = new self(); + $count = 0; + foreach ($sorted->metrics as $metric) { + if ($count >= $limit) { + break; + } + $top->add($metric); + $count++; + } + return $top; + } + + public function getAverageScore(): float + { + if (empty($this->metrics)) { + return 0.0; + } + + $total = 0.0; + foreach ($this->metrics as $metric) { + $total += $metric->getScore(); + } + + return $total / count($this->metrics); + } + + public function getMaxScore(): float + { + if (empty($this->metrics)) { + return 0.0; + } + + $max = 0.0; + foreach ($this->metrics as $metric) { + $max = max($max, $metric->getScore()); + } + + return $max; + } + + public function getMinScore(): float + { + if (empty($this->metrics)) { + return 0.0; + } + + $min = 1.0; + foreach ($this->metrics as $metric) { + $min = min($min, $metric->getScore()); + } + + return $min; + } + + public function getMedianScore(): float + { + if (empty($this->metrics)) { + return 0.0; + } + + $scores = array_map(fn(SemanticCouplingMetrics $m) => $m->getScore(), $this->metrics); + sort($scores); + $count = count($scores); + + if ($count % 2 === 0) { + return ($scores[$count / 2 - 1] + $scores[$count / 2]) / 2; + } + + return $scores[intval($count / 2)]; + } + + public function toArray(): array + { + return array_map(fn(SemanticCouplingMetrics $m) => $m->toArray(), $this->metrics); + } + + public function current(): SemanticCouplingMetrics + { + return current($this->metrics); + } + + public function next(): void + { + next($this->metrics); + } + + public function key(): int + { + return key($this->metrics); + } + + public function valid(): bool + { + return key($this->metrics) !== null; + } + + public function rewind(): void + { + reset($this->metrics); + } + + public function count(): int + { + return count($this->metrics); + } +} diff --git a/src/Business/SemanticCoupling/SemanticCouplingMetrics.php b/src/Business/SemanticCoupling/SemanticCouplingMetrics.php new file mode 100644 index 0000000..b25e131 --- /dev/null +++ b/src/Business/SemanticCoupling/SemanticCouplingMetrics.php @@ -0,0 +1,70 @@ +entity1; + } + + public function getEntity2(): string + { + return $this->entity2; + } + + public function getScore(): float + { + return $this->score; + } + + public function getGranularity(): string + { + return $this->granularity; + } + + public function getSharedTerms(): array + { + return $this->sharedTerms; + } + + public function getEntity1Terms(): array + { + return $this->entity1Terms; + } + + public function getEntity2Terms(): array + { + return $this->entity2Terms; + } + + public function toArray(): array + { + return [ + 'entity1' => $this->entity1, + 'entity2' => $this->entity2, + 'score' => $this->score, + 'granularity' => $this->granularity, + 'sharedTerms' => $this->sharedTerms, + 'entity1Terms' => $this->entity1Terms, + 'entity2Terms' => $this->entity2Terms, + ]; + } +} diff --git a/src/Business/SemanticCoupling/TermExtractor.php b/src/Business/SemanticCoupling/TermExtractor.php new file mode 100644 index 0000000..648d14e --- /dev/null +++ b/src/Business/SemanticCoupling/TermExtractor.php @@ -0,0 +1,160 @@ +stopWords = array_merge($this->stopWords, $customStopWords); + $this->stopWords = array_unique($this->stopWords); + } + + /** + * Extract terms from a file's identifier names. + * + * @param array $identifiers Raw identifier names from AST + * @return array Term frequency map + */ + public function extractTermsFromIdentifiers(array $identifiers): array + { + $terms = []; + + foreach ($identifiers as $identifier) { + $normalizedTerms = $this->normalizeIdentifier($identifier); + + foreach ($normalizedTerms as $term) { + if ($this->isValidTerm($term)) { + $terms[$term] = ($terms[$term] ?? 0) + 1; + } + } + } + + return $terms; + } + + /** + * Normalize an identifier by splitting camelCase, snake_case, etc. + * + * @param string $identifier + * @return array + */ + public function normalizeIdentifier(string $identifier): array + { + // Remove common prefixes/suffixes + $identifier = $this->removeCommonPrefixes($identifier); + + // Split camelCase and PascalCase + $terms = $this->splitCamelCase($identifier); + + // Split snake_case and kebab-case + $allTerms = []; + foreach ($terms as $term) { + $allTerms = array_merge($allTerms, $this->splitSnakeCase($term)); + } + + // Lowercase all terms + $allTerms = array_map('strtolower', $allTerms); + + // Remove empty terms + return array_filter($allTerms, fn($term) => !empty($term)); + } + + /** + * Check if a term is valid (not a stop word, has minimum length). + */ + private function isValidTerm(string $term): bool + { + // Minimum length check + if (strlen($term) < 2) { + return false; + } + + // Stop word check + if (in_array($term, $this->stopWords, true)) { + return false; + } + + // Only alphabetic characters (no numbers or special chars) + return ctype_alpha($term); + } + + /** + * Remove common prefixes from identifiers. + */ + private function removeCommonPrefixes(string $identifier): string + { + $prefixes = ['get', 'set', 'is', 'has', 'can', 'should', 'will', 'do', 'create', 'build', 'make']; + + foreach ($prefixes as $prefix) { + if (str_starts_with(strtolower($identifier), $prefix) && strlen($identifier) > strlen($prefix)) { + $identifier = substr($identifier, strlen($prefix)); + break; + } + } + + return $identifier; + } + + /** + * Split camelCase and PascalCase identifiers. + */ + private function splitCamelCase(string $identifier): array + { + // Insert space before uppercase letters that follow lowercase letters + $split = preg_replace('/([a-z])([A-Z])/', '$1 $2', $identifier); + + return explode(' ', $split); + } + + /** + * Split snake_case and kebab-case identifiers. + */ + private function splitSnakeCase(string $identifier): array + { + return preg_split('/[_-]+/', $identifier); + } + + /** + * Get all stop words. + */ + public function getStopWords(): array + { + return $this->stopWords; + } + + /** + * Add custom stop words. + */ + public function addStopWords(array $words): void + { + $this->stopWords = array_merge($this->stopWords, $words); + $this->stopWords = array_unique($this->stopWords); + } + + /** + * Set custom stop words (replaces existing). + */ + public function setStopWords(array $words): void + { + $this->stopWords = $words; + } +} diff --git a/src/Business/SemanticCoupling/TfIdfCalculator.php b/src/Business/SemanticCoupling/TfIdfCalculator.php new file mode 100644 index 0000000..7e15553 --- /dev/null +++ b/src/Business/SemanticCoupling/TfIdfCalculator.php @@ -0,0 +1,171 @@ +> Term frequency per entity + */ + private array $termFrequencies = []; + + /** + * @var array Document frequency (how many entities contain each term) + */ + private array $documentFrequencies = []; + + /** + * @var int Total number of entities + */ + private int $totalEntities = 0; + + /** + * Add term frequencies for an entity. + * + * @param string $entity Entity identifier (file, class, etc.) + * @param array $termFrequencies Term frequency map + */ + public function addEntity(string $entity, array $termFrequencies): void + { + $this->termFrequencies[$entity] = $termFrequencies; + $this->totalEntities++; + + // Update document frequencies + foreach (array_keys($termFrequencies) as $term) { + $this->documentFrequencies[$term] = ($this->documentFrequencies[$term] ?? 0) + 1; + } + } + + /** + * Calculate TF-IDF weight for a term in an entity. + */ + public function calculateTfIdf(string $entity, string $term): float + { + $tf = $this->calculateTf($entity, $term); + $idf = $this->calculateIdf($term); + + return $tf * $idf; + } + + /** + * Calculate term frequency (TF) for a term in an entity. + */ + public function calculateTf(string $entity, string $term): float + { + if (!isset($this->termFrequencies[$entity][$term])) { + return 0.0; + } + + $termCount = $this->termFrequencies[$entity][$term]; + $totalTerms = array_sum($this->termFrequencies[$entity]); + + return $totalTerms > 0 ? $termCount / $totalTerms : 0.0; + } + + /** + * Calculate inverse document frequency (IDF) for a term. + */ + public function calculateIdf(string $term): float + { + $docFreq = $this->documentFrequencies[$term] ?? 0; + + if ($docFreq === 0) { + return 0.0; + } + + return log($this->totalEntities / (1 + $docFreq)); + } + + /** + * Build weighted vector for an entity. + * + * @param string $entity + * @return array Term -> weight mapping + */ + public function buildWeightedVector(string $entity): array + { + if (!isset($this->termFrequencies[$entity])) { + return []; + } + + $vector = []; + foreach (array_keys($this->termFrequencies[$entity]) as $term) { + $vector[$term] = $this->calculateTfIdf($entity, $term); + } + + return $vector; + } + + /** + * Get all unique terms across all entities. + * + * @return array + */ + public function getAllTerms(): array + { + $terms = []; + foreach ($this->termFrequencies as $entityTerms) { + $terms = array_merge($terms, array_keys($entityTerms)); + } + return array_unique($terms); + } + + /** + * Get entities that contain a specific term. + * + * @param string $term + * @return array + */ + public function getEntitiesContainingTerm(string $term): array + { + $entities = []; + foreach ($this->termFrequencies as $entity => $terms) { + if (isset($terms[$term])) { + $entities[] = $entity; + } + } + return $entities; + } + + /** + * Get total number of entities. + */ + public function getTotalEntities(): int + { + return $this->totalEntities; + } + + /** + * Get term frequencies for an entity. + * + * @param string $entity + * @return array + */ + public function getTermFrequencies(string $entity): array + { + return $this->termFrequencies[$entity] ?? []; + } + + /** + * Get document frequency for a term. + */ + public function getDocumentFrequency(string $term): int + { + return $this->documentFrequencies[$term] ?? 0; + } + + /** + * Clear all data. + */ + public function clear(): void + { + $this->termFrequencies = []; + $this->documentFrequencies = []; + $this->totalEntities = 0; + } +} diff --git a/src/Command/Handler/SemanticCouplingReportHandler.php b/src/Command/Handler/SemanticCouplingReportHandler.php new file mode 100644 index 0000000..3ed8b76 --- /dev/null +++ b/src/Command/Handler/SemanticCouplingReportHandler.php @@ -0,0 +1,74 @@ +reportFactory->create($reportType); + $exporter->export($couplings, $filename); + + $this->output->writeln(sprintf( + 'Semantic coupling report exported to: %s', + $filename + )); + + return 0; // Success + } catch (\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException $e) { + $this->output->writeln(sprintf( + 'Failed to export report: %s', + $e->getMessage() + )); + + return 1; // Failure + } + } + + /** + * Get the report factory. + */ + public function getReportFactory(): SemanticCouplingReportFactory + { + return $this->reportFactory; + } + + /** + * Get available report types. + * + * @return array + */ + public function getAvailableReportTypes(): array + { + return $this->reportFactory->getAvailableReportTypes(); + } + + /** + * Check if a report type is supported. + */ + public function isReportTypeSupported(string $reportType): bool + { + return $this->reportFactory->isReportTypeSupported($reportType); + } +} diff --git a/src/Command/Presentation/SemanticCouplingTextRenderer.php b/src/Command/Presentation/SemanticCouplingTextRenderer.php new file mode 100644 index 0000000..048b4de --- /dev/null +++ b/src/Command/Presentation/SemanticCouplingTextRenderer.php @@ -0,0 +1,288 @@ +renderTopPairs($couplings, $limit); + break; + case 'matrix': + $this->renderMatrix($couplings); + break; + case 'per-entity': + $this->renderPerEntity($couplings, $limit); + break; + case 'summary': + $this->renderSummary($couplings); + break; + default: + $this->renderTopPairs($couplings, $limit); + } + } + + /** + * Render top N most coupled pairs. + */ + private function renderTopPairs(SemanticCouplingCollection $couplings, int $limit): void + { + $topCouplings = $couplings->getTop($limit); + + if ($topCouplings->count() === 0) { + $this->output->writeln('No semantic couplings found.'); + return; + } + + $granularity = $topCouplings->count() > 0 ? $topCouplings->current()->getGranularity() : 'unknown'; + + $this->output->writeln("Top {$limit} Most Coupled {$granularity}s"); + $this->output->writeln(''); + + foreach ($topCouplings as $index => $coupling) { + $this->output->writeln(sprintf('%d. Coupling Score: %s', + $index + 1, + number_format($coupling->getScore(), 4) + )); + + $this->output->writeln(''); + + // Entity 1 + $this->output->writeln(sprintf('Entity 1: %s', $coupling->getEntity1())); + $entity1Terms = $coupling->getEntity1Terms(); + if (!empty($entity1Terms)) { + $this->output->writeln(sprintf('Terms: %s', implode(', ', $entity1Terms))); + } else { + $this->output->writeln('Terms: (not available)'); + } + + $this->output->writeln(''); + + // Entity 2 + $this->output->writeln(sprintf('Entity 2: %s', $coupling->getEntity2())); + $entity2Terms = $coupling->getEntity2Terms(); + if (!empty($entity2Terms)) { + $this->output->writeln(sprintf('Terms: %s', implode(', ', $entity2Terms))); + } else { + $this->output->writeln('Terms: (not available)'); + } + + $this->output->writeln(''); + + // Shared Terms + $sharedTerms = $coupling->getSharedTerms(); + if (!empty($sharedTerms)) { + $this->output->writeln(sprintf('Shared Terms: %s', implode(', ', $sharedTerms))); + } else { + $this->output->writeln('Shared Terms: none'); + } + + $this->output->writeln(''); + $this->output->writeln(str_repeat('-', 80)); + $this->output->writeln(''); + } + + $this->renderSummaryStats($couplings); + } + + /** + * Render coupling matrix (for small datasets). + */ + private function renderMatrix(SemanticCouplingCollection $couplings): void + { + if ($couplings->count() === 0) { + $this->output->writeln('No semantic couplings found.'); + return; + } + + // Build matrix + $matrix = []; + $entities = []; + + foreach ($couplings as $coupling) { + $entity1 = $coupling->getEntity1(); + $entity2 = $coupling->getEntity2(); + + if (!in_array($entity1, $entities, true)) { + $entities[] = $entity1; + } + if (!in_array($entity2, $entities, true)) { + $entities[] = $entity2; + } + + $matrix[$entity1][$entity2] = $coupling->getScore(); + $matrix[$entity2][$entity1] = $coupling->getScore(); + } + + sort($entities); + + // Limit matrix size for readability + if (count($entities) > 15) { + $this->output->writeln('Matrix too large for display. Showing top 15 entities only.'); + $entities = array_slice($entities, 0, 15); + } + + $this->output->writeln('Semantic Coupling Matrix'); + $this->output->writeln(''); + + // Header row + $header = sprintf('%-20s', ''); + foreach ($entities as $entity) { + $header .= sprintf('%-8s', $this->truncateString($entity, 6)); + } + $this->output->writeln($header); + $this->output->writeln(str_repeat('-', strlen($header))); + + // Matrix rows + foreach ($entities as $entity1) { + $row = sprintf('%-20s', $this->truncateString($entity1, 18)); + foreach ($entities as $entity2) { + $score = $matrix[$entity1][$entity2] ?? 0.0; + $scoreStr = $score > 0 ? number_format($score, 2) : '-'; + $row .= sprintf('%-8s', $scoreStr); + } + $this->output->writeln($row); + } + + $this->output->writeln(''); + $this->renderSummaryStats($couplings); + } + + /** + * Render couplings grouped by entity. + */ + private function renderPerEntity(SemanticCouplingCollection $couplings, int $limit): void + { + if ($couplings->count() === 0) { + $this->output->writeln('No semantic couplings found.'); + return; + } + + // Group couplings by entity + $entityCouplings = []; + foreach ($couplings as $coupling) { + $entityCouplings[$coupling->getEntity1()][] = $coupling; + $entityCouplings[$coupling->getEntity2()][] = $coupling; + } + + // Sort entities by average coupling + $entityAverages = []; + foreach ($entityCouplings as $entity => $entityCouplingList) { + $totalScore = 0.0; + foreach ($entityCouplingList as $coupling) { + $totalScore += $coupling->getScore(); + } + $entityAverages[$entity] = $totalScore / count($entityCouplingList); + } + arsort($entityAverages); + + $granularity = $couplings->count() > 0 ? $couplings->current()->getGranularity() : 'unknown'; + + $this->output->writeln("Couplings by {$granularity} (Top {$limit})"); + $this->output->writeln(''); + + $count = 0; + foreach ($entityAverages as $entity => $avgScore) { + if ($count >= $limit) { + break; + } + + $this->output->writeln("{$entity} (avg: " . number_format($avgScore, 4) . ")"); + + $entityCouplingList = $entityCouplings[$entity]; + usort($entityCouplingList, fn($a, $b) => $b->getScore() <=> $a->getScore()); + + foreach (array_slice($entityCouplingList, 0, 5) as $coupling) { + $otherEntity = $coupling->getEntity1() === $entity ? $coupling->getEntity2() : $coupling->getEntity1(); + $sharedTerms = implode(', ', array_slice($coupling->getSharedTerms(), 0, 3)); + if (count($coupling->getSharedTerms()) > 3) { + $sharedTerms .= '...'; + } + + $this->output->writeln(sprintf( + ' → %-30s %-8s %s', + $this->truncateString($otherEntity, 28), + number_format($coupling->getScore(), 4), + $sharedTerms + )); + } + + $this->output->writeln(''); + $count++; + } + + $this->renderSummaryStats($couplings); + } + + /** + * Render summary statistics. + */ + private function renderSummary(SemanticCouplingCollection $couplings): void + { + if ($couplings->count() === 0) { + $this->output->writeln('No semantic couplings found.'); + return; + } + + $granularity = $couplings->count() > 0 ? $couplings->current()->getGranularity() : 'unknown'; + + $this->output->writeln("Semantic Coupling Summary ({$granularity} level)"); + $this->output->writeln(''); + + $this->renderSummaryStats($couplings); + + // Additional insights + $this->output->writeln(''); + $this->output->writeln('Insights:'); + + $highCoupling = $couplings->filterByThreshold(0.7); + $mediumCoupling = $couplings->filterByThreshold(0.4)->filterByThreshold(0.7); + + $this->output->writeln("• High coupling pairs (≥0.7): {$highCoupling->count()}"); + $this->output->writeln("• Medium coupling pairs (0.4-0.7): {$mediumCoupling->count()}"); + $this->output->writeln("• Low coupling pairs (<0.4): " . ($couplings->count() - $highCoupling->count() - $mediumCoupling->count())); + } + + /** + * Render summary statistics. + */ + private function renderSummaryStats(SemanticCouplingCollection $couplings): void + { + $this->output->writeln('Summary Statistics:'); + $this->output->writeln(sprintf('• Total couplings: %d', $couplings->count())); + $this->output->writeln(sprintf('• Average score: %s', number_format($couplings->getAverageScore(), 4))); + $this->output->writeln(sprintf('• Maximum score: %s', number_format($couplings->getMaxScore(), 4))); + $this->output->writeln(sprintf('• Minimum score: %s', number_format($couplings->getMinScore(), 4))); + $this->output->writeln(sprintf('• Median score: %s', number_format($couplings->getMedianScore(), 4))); + } + + /** + * Truncate string to specified length. + */ + private function truncateString(string $string, int $length): string + { + if (strlen($string) <= $length) { + return $string; + } + + return substr($string, 0, $length - 3) . '...'; + } +} diff --git a/src/Command/SemanticAnalysisCommand.php b/src/Command/SemanticAnalysisCommand.php new file mode 100644 index 0000000..79eeda2 --- /dev/null +++ b/src/Command/SemanticAnalysisCommand.php @@ -0,0 +1,307 @@ +specification = $this->specificationFactory->create(); + } + + /** + * Configures the command options and arguments. + */ + protected function configure(): void + { + $this + ->addArgument( + name: self::ARGUMENT_PATH, + mode: InputArgument::REQUIRED, + description: 'Path to PHP files or directories to analyze.' + ) + ->addOption( + name: self::OPTION_GRANULARITY, + shortcut: 'g', + mode: InputOption::VALUE_REQUIRED, + description: 'Analysis granularity: file, class, or module', + default: 'file' + ) + ->addOption( + name: self::OPTION_THRESHOLD, + shortcut: 't', + mode: InputOption::VALUE_REQUIRED, + description: 'Minimum coupling score threshold (0.0-1.0)', + ) + ->addOption( + name: self::OPTION_LIMIT, + shortcut: 'l', + mode: InputOption::VALUE_REQUIRED, + description: 'Maximum number of results to display', + default: 20 + ) + ->addOption( + name: self::OPTION_VIEW, + mode: InputOption::VALUE_REQUIRED, + description: 'View type: top-pairs, matrix, per-entity, or summary', + default: 'top-pairs' + ) + ->addOption( + name: self::OPTION_REPORT_TYPE, + shortcut: 'r', + mode: InputOption::VALUE_REQUIRED, + description: 'Type of report to generate (json, csv, html, html-heatmap, interactive-treemap, interactive-tree)', + ) + ->addOption( + name: self::OPTION_REPORT_FILE, + shortcut: 'f', + mode: InputOption::VALUE_REQUIRED, + description: 'File to write the report to', + ) + ->addOption( + name: self::OPTION_CONFIG, + shortcut: 'c', + mode: InputOption::VALUE_REQUIRED, + description: 'Path to a configuration file', + ) + ->addOption( + name: self::OPTION_DEBUG, + mode: InputOption::VALUE_NONE, + description: 'Enable debug output', + ); + } + + /** + * Executes the command. + */ + protected function execute(InputInterface $input, OutputInterface $output): int + { + $context = new SemanticAnalysisCommandContext($input); + + // Validate all specifications + if (!$this->specification->isSatisfiedBy($context)) { + $errorMessage = $this->specification->getDetailedErrorMessage($context); + $output->writeln('' . $errorMessage . ''); + return Command::FAILURE; + } + + try { + // Calculate semantic coupling + $couplings = $this->calculateSemanticCoupling($context); + + // Apply threshold filter if specified + if ($context->getThreshold() !== null) { + $couplings = $couplings->filterByThreshold($context->getThreshold()); + } + + // Handle report generation or display + if ($context->hasReportOptions()) { + $reportType = $context->getReportType(); + $reportFile = $context->getReportFile() ?? $this->generateDefaultReportFilename($reportType); + + return $this->reportHandler->exportToFile($couplings, $reportType, $reportFile); + } + + // Display results in console + $this->renderer->render( + $couplings, + $context->getViewType(), + $context->getLimit() + ); + + return Command::SUCCESS; + + } catch (\Exception $e) { + $output->writeln('Error during analysis: ' . $e->getMessage() . ''); + + if ($context->isDebug()) { + $output->writeln('Stack trace:'); + $output->writeln('' . $e->getTraceAsString() . ''); + } + + return Command::FAILURE; + } + } + + /** + * Calculate semantic coupling for the given context. + */ + private function calculateSemanticCoupling(SemanticAnalysisCommandContext $context): \Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\SemanticCouplingCollection + { + $path = $context->getPath(); + $granularity = $context->getGranularity(); + + // Find PHP files + $phpFiles = $this->findPhpFiles($path); + + if (empty($phpFiles)) { + throw new \RuntimeException('No PHP files found in the specified path.'); + } + + // Extract identifiers from each file + $entityIdentifiers = $this->extractIdentifiersFromFiles($phpFiles, $granularity); + + if (empty($entityIdentifiers)) { + throw new \RuntimeException('No identifiers found in the PHP files.'); + } + + // Calculate semantic coupling + $termExtractor = new TermExtractor(); + $tfIdfCalculator = new \Phauthentic\CognitiveCodeAnalysis\Business\SemanticCoupling\TfIdfCalculator(); + $calculator = new SemanticCouplingCalculator($termExtractor, $tfIdfCalculator); + + return $calculator->calculate($entityIdentifiers, $granularity); + } + + /** + * Find PHP files in the given path. + * + * @return array + */ + private function findPhpFiles(string $path): array + { + $files = []; + + if (is_file($path) && pathinfo($path, PATHINFO_EXTENSION) === 'php') { + return [$path]; + } + + if (is_dir($path)) { + $iterator = new \RecursiveIteratorIterator( + new \RecursiveDirectoryIterator($path, \RecursiveDirectoryIterator::SKIP_DOTS) + ); + + foreach ($iterator as $file) { + if ($file->isFile() && $file->getExtension() === 'php') { + $files[] = $file->getPathname(); + } + } + } + + return $files; + } + + /** + * Extract identifiers from PHP files based on granularity. + * + * @param array $phpFiles + * @return array> + */ + private function extractIdentifiersFromFiles(array $phpFiles, string $granularity): array + { + $entityIdentifiers = []; + $parser = (new ParserFactory())->createForNewestSupportedVersion(); + $traverser = new NodeTraverser(); + + foreach ($phpFiles as $file) { + try { + $ast = $parser->parse(file_get_contents($file)); + if ($ast === null) { + continue; + } + + $visitor = new TermExtractionVisitor(); + $visitor->setCurrentFile($file); + $traverser->addVisitor($visitor); + $traverser->traverse($ast); + + switch ($granularity) { + case 'file': + $entityIdentifiers[$file] = $visitor->getIdentifiers(); + break; + case 'class': + $classIdentifiers = $visitor->getClassIdentifiers(); + foreach ($classIdentifiers as $class => $identifiers) { + $entityIdentifiers[$class] = $identifiers; + } + break; + case 'module': + $module = $this->extractModuleFromPath($file); + if (!isset($entityIdentifiers[$module])) { + $entityIdentifiers[$module] = []; + } + $entityIdentifiers[$module] = array_merge( + $entityIdentifiers[$module], + $visitor->getIdentifiers() + ); + break; + } + + $traverser->removeVisitor($visitor); + } catch (\Exception $e) { + // Skip files that can't be parsed + continue; + } + } + + return $entityIdentifiers; + } + + /** + * Extract module name from file path. + */ + private function extractModuleFromPath(string $filePath): string + { + $pathParts = explode(DIRECTORY_SEPARATOR, dirname($filePath)); + return end($pathParts) ?: 'root'; + } + + /** + * Generate default report filename based on type. + */ + private function generateDefaultReportFilename(string $reportType): string + { + $timestamp = date('Y-m-d_H-i-s'); + $extensions = [ + 'json' => 'json', + 'csv' => 'csv', + 'html' => 'html', + 'html-heatmap' => 'html', + ]; + + $extension = $extensions[$reportType] ?? 'txt'; + return "semantic-coupling-{$timestamp}.{$extension}"; + } +} diff --git a/src/Command/SemanticAnalysisSpecifications/CompositeSemanticAnalysisValidationSpecification.php b/src/Command/SemanticAnalysisSpecifications/CompositeSemanticAnalysisValidationSpecification.php new file mode 100644 index 0000000..9712684 --- /dev/null +++ b/src/Command/SemanticAnalysisSpecifications/CompositeSemanticAnalysisValidationSpecification.php @@ -0,0 +1,60 @@ +specifications[] = $specification; + } + + public function isSatisfiedBy(SemanticAnalysisCommandContext $context): bool + { + foreach ($this->specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + return false; + } + } + + return true; + } + + public function getErrorMessage(SemanticAnalysisCommandContext $context): string + { + foreach ($this->specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + return $specification->getErrorMessage($context); + } + } + + return 'Validation failed.'; + } + + public function getDetailedErrorMessage(SemanticAnalysisCommandContext $context): string + { + $errors = []; + + foreach ($this->specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + $errors[] = $specification->getErrorMessage($context); + } + } + + if (empty($errors)) { + return 'Validation failed.'; + } + + return implode("\n", $errors); + } +} diff --git a/src/Command/SemanticAnalysisSpecifications/GranularityValidationSpecification.php b/src/Command/SemanticAnalysisSpecifications/GranularityValidationSpecification.php new file mode 100644 index 0000000..44bf016 --- /dev/null +++ b/src/Command/SemanticAnalysisSpecifications/GranularityValidationSpecification.php @@ -0,0 +1,27 @@ +getGranularity(); + return in_array($granularity, self::VALID_GRANULARITIES, true); + } + + public function getErrorMessage(SemanticAnalysisCommandContext $context): string + { + $granularity = $context->getGranularity(); + $validGranularities = implode(', ', self::VALID_GRANULARITIES); + + return "Invalid granularity: {$granularity}. Valid options: {$validGranularities}"; + } +} diff --git a/src/Command/SemanticAnalysisSpecifications/PathValidationSpecification.php b/src/Command/SemanticAnalysisSpecifications/PathValidationSpecification.php new file mode 100644 index 0000000..a3f72be --- /dev/null +++ b/src/Command/SemanticAnalysisSpecifications/PathValidationSpecification.php @@ -0,0 +1,33 @@ +getPath(); + + if (empty($path)) { + return false; + } + + return file_exists($path) || is_dir($path); + } + + public function getErrorMessage(SemanticAnalysisCommandContext $context): string + { + $path = $context->getPath(); + + if (empty($path)) { + return 'Path argument is required.'; + } + + return "Path does not exist: {$path}"; + } +} diff --git a/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisCommandContext.php b/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisCommandContext.php new file mode 100644 index 0000000..1a66728 --- /dev/null +++ b/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisCommandContext.php @@ -0,0 +1,79 @@ +input->getArgument('path') ?? ''; + } + + public function getGranularity(): string + { + return $this->input->getOption('granularity') ?? 'file'; + } + + public function getThreshold(): ?float + { + $threshold = $this->input->getOption('threshold'); + return $threshold !== null ? (float)$threshold : null; + } + + public function getLimit(): int + { + return (int)($this->input->getOption('limit') ?? 20); + } + + public function getViewType(): string + { + return $this->input->getOption('view') ?? 'top-pairs'; + } + + public function hasReportOptions(): bool + { + return $this->input->getOption('report-type') !== null; + } + + public function getReportType(): ?string + { + return $this->input->getOption('report-type'); + } + + public function getReportFile(): ?string + { + return $this->input->getOption('report-file'); + } + + public function hasConfigFile(): bool + { + return $this->input->getOption('config') !== null; + } + + public function getConfigFile(): ?string + { + return $this->input->getOption('config'); + } + + public function isDebug(): bool + { + return (bool)$this->input->getOption('debug'); + } + + public function getInput(): InputInterface + { + return $this->input; + } +} diff --git a/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisValidationSpecificationFactory.php b/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisValidationSpecificationFactory.php new file mode 100644 index 0000000..5aac13c --- /dev/null +++ b/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisValidationSpecificationFactory.php @@ -0,0 +1,23 @@ +add(new PathValidationSpecification()); + $composite->add(new GranularityValidationSpecification()); + $composite->add(new ThresholdValidationSpecification()); + $composite->add(new ViewTypeValidationSpecification()); + + return $composite; + } +} diff --git a/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisValidationSpecificationInterface.php b/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisValidationSpecificationInterface.php new file mode 100644 index 0000000..b2ef876 --- /dev/null +++ b/src/Command/SemanticAnalysisSpecifications/SemanticAnalysisValidationSpecificationInterface.php @@ -0,0 +1,15 @@ +getThreshold(); + + if ($threshold === null) { + return true; // Optional parameter + } + + return $threshold >= 0.0 && $threshold <= 1.0; + } + + public function getErrorMessage(SemanticAnalysisCommandContext $context): string + { + $threshold = $context->getThreshold(); + + return "Invalid threshold: {$threshold}. Must be between 0.0 and 1.0."; + } +} diff --git a/src/Command/SemanticAnalysisSpecifications/ViewTypeValidationSpecification.php b/src/Command/SemanticAnalysisSpecifications/ViewTypeValidationSpecification.php new file mode 100644 index 0000000..eef661a --- /dev/null +++ b/src/Command/SemanticAnalysisSpecifications/ViewTypeValidationSpecification.php @@ -0,0 +1,27 @@ +getViewType(); + return in_array($viewType, self::VALID_VIEW_TYPES, true); + } + + public function getErrorMessage(SemanticAnalysisCommandContext $context): string + { + $viewType = $context->getViewType(); + $validViewTypes = implode(', ', self::VALID_VIEW_TYPES); + + return "Invalid view type: {$viewType}. Valid options: {$validViewTypes}"; + } +} diff --git a/src/PhpParser/TermExtractionVisitor.php b/src/PhpParser/TermExtractionVisitor.php new file mode 100644 index 0000000..087bd6a --- /dev/null +++ b/src/PhpParser/TermExtractionVisitor.php @@ -0,0 +1,280 @@ + Collected identifiers + */ + private array $identifiers = []; + + /** + * @var string Current file being processed + */ + private string $currentFile = ''; + + /** + * @var string Current class being processed + */ + private string $currentClass = ''; + + /** + * @var string Current method being processed + */ + private string $currentMethod = ''; + + /** + * @var array> Identifiers grouped by file + */ + private array $fileIdentifiers = []; + + /** + * @var array> Identifiers grouped by class + */ + private array $classIdentifiers = []; + + public function enterNode(Node $node): ?int + { + $this->extractIdentifiersFromNode($node); + return null; + } + + /** + * Extract identifiers from various node types. + */ + private function extractIdentifiersFromNode(Node $node): void + { + switch ($node->getType()) { + case 'Stmt_Class': + $this->handleClassNode($node); + break; + case 'Stmt_ClassMethod': + $this->handleMethodNode($node); + break; + case 'Expr_Variable': + $this->handleVariableNode($node); + break; + case 'Stmt_Property': + $this->handlePropertyNode($node); + break; + case 'Param': + $this->handleParameterNode($node); + break; + case 'Expr_PropertyFetch': + $this->handlePropertyFetchNode($node); + break; + case 'Expr_StaticPropertyFetch': + $this->handleStaticPropertyFetchNode($node); + break; + } + } + + /** + * Handle class declaration. + */ + private function handleClassNode(Node $node): void + { + if (isset($node->name)) { + $this->currentClass = $node->name->toString(); + $this->addIdentifier($node->name->toString()); + } + } + + /** + * Handle method declaration. + */ + private function handleMethodNode(Node $node): void + { + if (isset($node->name)) { + $this->currentMethod = $node->name->toString(); + $this->addIdentifier($node->name->toString()); + } + } + + /** + * Handle variable usage. + */ + private function handleVariableNode(Node $node): void + { + if (isset($node->name) && is_string($node->name)) { + $this->addIdentifier($node->name); + } + } + + /** + * Handle property declaration. + */ + private function handlePropertyNode(Node $node): void + { + foreach ($node->props as $prop) { + if (isset($prop->name)) { + $this->addIdentifier($prop->name->toString()); + } + } + } + + /** + * Handle parameter declaration. + */ + private function handleParameterNode(Node $node): void + { + if (isset($node->var) && isset($node->var->name)) { + $this->addIdentifier($node->var->name); + } + } + + /** + * Handle property access (object->property). + */ + private function handlePropertyFetchNode(Node $node): void + { + if (isset($node->name)) { + $this->addIdentifier($node->name->toString()); + } + } + + /** + * Handle static property access (Class::$property). + */ + private function handleStaticPropertyFetchNode(Node $node): void + { + if (isset($node->name)) { + $this->addIdentifier($node->name->toString()); + } + } + + /** + * Add an identifier to the collection. + */ + private function addIdentifier(string $identifier): void + { + // Skip empty identifiers + if (empty($identifier)) { + return; + } + + // Skip common technical identifiers + if ($this->isTechnicalIdentifier($identifier)) { + return; + } + + $this->identifiers[] = $identifier; + + // Add to file-specific collection + if (!empty($this->currentFile)) { + $this->fileIdentifiers[$this->currentFile][] = $identifier; + } + + // Add to class-specific collection + if (!empty($this->currentClass)) { + $this->classIdentifiers[$this->currentClass][] = $identifier; + } + } + + /** + * Check if an identifier is a common technical term. + */ + private function isTechnicalIdentifier(string $identifier): bool + { + $technicalTerms = [ + 'this', 'self', 'parent', 'static', 'null', 'true', 'false', + 'array', 'string', 'int', 'float', 'bool', 'object', 'mixed', + 'void', 'never', 'callable', 'iterable', 'resource' + ]; + + return in_array(strtolower($identifier), $technicalTerms, true); + } + + /** + * Set the current file being processed. + */ + public function setCurrentFile(string $file): void + { + $this->currentFile = $file; + } + + /** + * Get all collected identifiers. + * + * @return array + */ + public function getIdentifiers(): array + { + return $this->identifiers; + } + + /** + * Get identifiers grouped by file. + * + * @return array> + */ + public function getFileIdentifiers(): array + { + return $this->fileIdentifiers; + } + + /** + * Get identifiers grouped by class. + * + * @return array> + */ + public function getClassIdentifiers(): array + { + return $this->classIdentifiers; + } + + /** + * Get identifiers for a specific file. + * + * @param string $file + * @return array + */ + public function getIdentifiersForFile(string $file): array + { + return $this->fileIdentifiers[$file] ?? []; + } + + /** + * Get identifiers for a specific class. + * + * @param string $class + * @return array + */ + public function getIdentifiersForClass(string $class): array + { + return $this->classIdentifiers[$class] ?? []; + } + + /** + * Clear all collected data. + */ + public function clear(): void + { + $this->identifiers = []; + $this->fileIdentifiers = []; + $this->classIdentifiers = []; + $this->currentFile = ''; + $this->currentClass = ''; + $this->currentMethod = ''; + } + + /** + * Reset for new file processing. + */ + public function resetForNewFile(): void + { + $this->currentFile = ''; + $this->currentClass = ''; + $this->currentMethod = ''; + } +} diff --git a/test-coupling.json b/test-coupling.json new file mode 100644 index 0000000..a6fc14f --- /dev/null +++ b/test-coupling.json @@ -0,0 +1,44930 @@ +{ + "createdAt": "2025-10-15 17:58:50", + "totalCouplings": 1176, + "granularity": "file", + "summary": { + "averageScore": 0.09602189804600364, + "maxScore": 1.0000000000000002, + "minScore": 0, + "medianScore": 0.03204811788200433 + }, + "couplings": [ + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.18598162655618294, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.01529814963223305, + "granularity": "file", + "sharedTerms": [ + "semantic", + "analysis", + "context" + ], + "entity1Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.09816669864814548, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.09149879919976495, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.07381825803935835, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.41647230627641485, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.1728013574893312, + "granularity": "file", + "sharedTerms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification" + ], + "entity1Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.2082687011706881, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.18727921866704897, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.16452743906621006, + "granularity": "file", + "sharedTerms": [ + "command", + "context", + "construct", + "input", + "report" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.0952516789390486, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.08878178002015488, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.07162625525186322, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.4041053325693723, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.06376592921343795, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "factory" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.1566619181704445, + "granularity": "file", + "sharedTerms": [ + "construct", + "input", + "output", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.046960416724877566, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0.18893705348220688, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.6926911856174583, + "granularity": "file", + "sharedTerms": [ + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "score": 0.23323536195103178, + "granularity": "file", + "sharedTerms": [ + "churn", + "command", + "construct", + "report", + "input", + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "score": 0.13878981612366612, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "score": 0.22264489730310366, + "granularity": "file", + "sharedTerms": [ + "churn", + "specification", + "construct", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "score": 0.26161497713721066, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "context", + "custom", + "exporter" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "score": 0.262578567770563, + "granularity": "file", + "sharedTerms": [ + "churn", + "validation", + "specification", + "factory" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "score": 0.38566582037136427, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0.1914726223812425, + "granularity": "file", + "sharedTerms": [ + "report", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "score": 0.3173075528794527, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "score": 0.3903587125428328, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.1088827123739911, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.25188730790762465, + "granularity": "file", + "sharedTerms": [ + "metrics", + "output" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.09507764089704457, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "renderer", + "output" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.15637681413998752, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "renderer", + "output", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.1944228130006724, + "granularity": "file", + "sharedTerms": [ + "churn", + "construct", + "metrics", + "renderer", + "report", + "output", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.023138553292138563, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.0332854482606569, + "granularity": "file", + "sharedTerms": [ + "construct", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.10899551741522365, + "granularity": "file", + "sharedTerms": [ + "construct", + "renderer", + "output" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.1286057952590981, + "granularity": "file", + "sharedTerms": [ + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.2538375644412734, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "output", + "exporter" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.33957435559869764, + "granularity": "file", + "sharedTerms": [ + "churn", + "construct", + "metrics", + "facade", + "report", + "factory", + "output", + "exporter" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.29694116244785695, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "facade", + "report", + "factory", + "output" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.6065579525252246, + "granularity": "file", + "sharedTerms": [ + "construct", + "factory", + "context", + "coverage", + "reader", + "load", + "format", + "detect" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.05364516540487121, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.03769206439323604, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.3615713707467231, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "facade", + "context", + "load", + "configuration" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.2125290669466374, + "granularity": "file", + "sharedTerms": [ + "command", + "construct", + "metrics", + "report", + "input", + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.06439068213159366, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.38566582037136427, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.27234742667950024, + "granularity": "file", + "sharedTerms": [ + "validation", + "construct", + "report", + "factory", + "context", + "custom", + "exporter" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.25048323007687384, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "construct", + "metrics", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.3173075528794527, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0.292227440950512, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "metrics", + "factory" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.06187290026394526, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.3903587125428328, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.13878981612366612, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnCommand.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.06785884467781951, + "granularity": "file", + "sharedTerms": [ + "command", + "construct", + "output" + ], + "entity1Terms": [ + "churn", + "command", + "validation", + "specification", + "construct", + "metrics", + "facade", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "coverage", + "reader", + "load", + "format", + "detect", + "configuration" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.3316081306762446, + "granularity": "file", + "sharedTerms": [ + "construct", + "input", + "debug" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 9.821229155203488e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.09234151675325349, + "granularity": "file", + "sharedTerms": [ + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.03694042365375607, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.04458904886916302, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.02337964994060457, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.00012550727880034722, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.008571244596523446, + "granularity": "file", + "sharedTerms": [ + "construct", + "format" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.05851496903477151, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.03815729060628651, + "granularity": "file", + "sharedTerms": [ + "construct", + "input", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.036323662962237185, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.028388487408314362, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.025856560960483485, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.03531261134671056, + "granularity": "file", + "sharedTerms": [ + "construct", + "format" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.0005732659579799339, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.00048680678807722826, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.0014226532178163581, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/VerboseHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.03498574867553659, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.00019800360544090057, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.0320719374433604, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "invoke" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 4.3404662265521015e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.051012611105267947, + "granularity": "file", + "sharedTerms": [ + "output" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.020362819680549073, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.06828993894080355, + "granularity": "file", + "sharedTerms": [ + "total", + "construct", + "output", + "all" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.012880739660577347, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 5.546760962508859e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 9.114664423690143e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.04445413203659568, + "granularity": "file", + "sharedTerms": [ + "total", + "construct", + "output" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.25812143620054806, + "granularity": "file", + "sharedTerms": [ + "files", + "construct", + "output" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.02001208945915613, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.03113072538311475, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "handle" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.03540482576082433, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "handle" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.000314188676595719, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.0002533533725893788, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.0002151429713241159, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.0006287378235906391, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.019257847694487896, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.0007966330028549113, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.1290358515239512, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "invoke" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.06832803508640156, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "invoke" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.0001746310950322865, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.20524035144596894, + "granularity": "file", + "sharedTerms": [ + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.08192625660824489, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.0990529427777561, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.05182341145732731, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.00022316426167303907, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.0003667126400900997, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.13002697803436283, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.05199680016582097, + "granularity": "file", + "sharedTerms": [ + "parser", + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.08051515467988318, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.06295982217023141, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.05734453042852169, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.001264083390512628, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.001019323145858258, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.0008655902548209631, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.0025296170708617284, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.07748059437211352, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.18700196979557213, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.1641392322991702, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.15205474159279014, + "granularity": "file", + "sharedTerms": [ + "command", + "context", + "construct", + "input", + "report" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.07987756321727041, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.07445193958879892, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.06006540562458876, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.3388806329534765, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.052859683913798985, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "factory" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.12010638399921933, + "granularity": "file", + "sharedTerms": [ + "construct", + "input", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.04842424612436024, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "handle" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0.1613915509615693, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.09042768823259263, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "construct", + "coverage" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.316097718528057, + "granularity": "file", + "sharedTerms": [ + "metrics", + "output", + "collection" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.10769687946722212, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "construct", + "renderer", + "output", + "collection" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.17036442760966766, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "construct", + "renderer", + "coverage", + "output", + "collection" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.13141946266417245, + "granularity": "file", + "sharedTerms": [ + "metrics", + "construct", + "renderer", + "report", + "coverage", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.013629876773743126, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "construct", + "coverage" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.00010807797879193536, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.09317795458246174, + "granularity": "file", + "sharedTerms": [ + "construct", + "renderer", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.11599018238503653, + "granularity": "file", + "sharedTerms": [ + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.2585189453010535, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "output", + "exporter" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.3484870113177563, + "granularity": "file", + "sharedTerms": [ + "metrics", + "construct", + "facade", + "report", + "factory", + "output", + "exporter", + "handle" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.28744820371045393, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "construct", + "facade", + "report", + "factory", + "output", + "collection", + "handle" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.18201596610268003, + "granularity": "file", + "sharedTerms": [ + "construct", + "coverage", + "factory", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.25690963475530604, + "granularity": "file", + "sharedTerms": [ + "metrics", + "construct", + "sorting", + "context", + "collection", + "sort" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.4108621700970511, + "granularity": "file", + "sharedTerms": [ + "metrics", + "construct", + "baseline", + "context", + "collection" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.20749489910839777, + "granularity": "file", + "sharedTerms": [ + "metrics", + "construct", + "facade", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.2928983587534514, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "command", + "construct", + "report", + "coverage", + "baseline", + "sorting", + "input", + "context", + "sort" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.27404411223533515, + "granularity": "file", + "sharedTerms": [ + "context", + "sort" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.10969775252603602, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.4370249138226987, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "context", + "custom", + "exporter", + "validation" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.22833839672654682, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "specification", + "construct", + "context", + "validation" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.14027356169382318, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0.26389783210291173, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "specification", + "factory", + "validation" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.21105339210475652, + "granularity": "file", + "sharedTerms": [ + "context", + "sort" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.23439168167090288, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.12164111977625283, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsCommand.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.05827728904535105, + "granularity": "file", + "sharedTerms": [ + "command", + "construct", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.003880820674676844, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.017233576220659342, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.829547010813172, + "granularity": "file", + "sharedTerms": [ + "command", + "context", + "construct", + "input", + "report", + "options" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.00368053817835344, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.0034305403804530607, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.002767648507231702, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.01561468649334281, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.3044730939834127, + "granularity": "file", + "sharedTerms": [ + "construct", + "input", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.00027649331103598033, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0.001112422655887615, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.1745150695995754, + "granularity": "file", + "sharedTerms": [ + "command", + "construct", + "report", + "coverage", + "input", + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "score": 0.012771544498328954, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "score": 0.013427183680899709, + "granularity": "file", + "sharedTerms": [ + "churn", + "context", + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "score": 0.08815352498881485, + "granularity": "file", + "sharedTerms": [ + "context", + "construct", + "report" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "score": 0.04615968526507949, + "granularity": "file", + "sharedTerms": [ + "churn" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "score": 0.08322736225182156, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0.182518480698731, + "granularity": "file", + "sharedTerms": [ + "context", + "report", + "options" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "score": 0.0663154363242142, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "score": 0.08631873935953575, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.007183196950823027, + "granularity": "file", + "sharedTerms": [ + "construct", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.0003973954116124753, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.005358615975776961, + "granularity": "file", + "sharedTerms": [ + "construct", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.06765350777531798, + "granularity": "file", + "sharedTerms": [ + "churn", + "construct", + "coverage", + "report" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.005783824044222196, + "granularity": "file", + "sharedTerms": [ + "construct", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.008488803342702553, + "granularity": "file", + "sharedTerms": [ + "construct", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 6.621607324931192e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.08749524883839901, + "granularity": "file", + "sharedTerms": [ + "command", + "context", + "construct", + "input", + "report" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.13386703864066363, + "granularity": "file", + "sharedTerms": [ + "construct", + "report" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.1654994641270153, + "granularity": "file", + "sharedTerms": [ + "churn", + "construct", + "report", + "options" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.16595105900200352, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "options" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.11376961098538174, + "granularity": "file", + "sharedTerms": [ + "context", + "construct", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.0020663270807380197, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.0017546865207828733, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.005127928546170403, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.9183616712445444, + "granularity": "file", + "sharedTerms": [ + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.005925279570863091, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.08322736225182156, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.08811350268447915, + "granularity": "file", + "sharedTerms": [ + "context", + "construct", + "report" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.004767323550216921, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.0663154363242142, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.005693591367377718, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.08631873935953575, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.012771544498328954, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandContext.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.008057987659143858, + "granularity": "file", + "sharedTerms": [ + "command", + "construct" + ], + "entity1Terms": [ + "churn", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "vcs", + "since" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.1544318343334864, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.9438476251565223, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.009146014593419781, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.17270647007641593, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.16097551250717063, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.12986981276474288, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.7327073528202261, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.12164111977625283, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "score": 0.16860120915735352, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "score": 0.06733360558414515, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "score": 0.3720301543482052, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0.19372933353707078, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "score": 0.482761202098137, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "score": 0.4340674865187221, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.011842216673917818, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.0491560055818888, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.058050947402357035, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.09059761058645319, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.03975080657790084, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.11616849697641188, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.02108890586416359, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.3636922419411678, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.3720301543482052, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.0673030356658685, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.1682855175574999, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.482761202098137, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.2544077957747322, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.4340674865187221, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.9999999999999999, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnCommandSpecification.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.8154057957986534, + "granularity": "file", + "sharedTerms": [ + "composite", + "specification", + "specifications", + "satisfied", + "by", + "context", + "detailed" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.2011661122290259, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.003420401113001134, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.1056409313330179, + "granularity": "file", + "sharedTerms": [ + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.09846535023003514, + "granularity": "file", + "sharedTerms": [ + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.0794386450400018, + "granularity": "file", + "sharedTerms": [ + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.4481817450859288, + "granularity": "file", + "sharedTerms": [ + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.16723914175405385, + "granularity": "file", + "sharedTerms": [ + "specification", + "composite" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.0006346663867701452, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.00028048912955504625, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0.0011284991353972614, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.1992038472939915, + "granularity": "file", + "sharedTerms": [ + "specification", + "construct", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "score": 0.017381886307737588, + "granularity": "file", + "sharedTerms": [ + "construct", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "score": 0.09173443991904845, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0.04129032675789157, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "score": 0.10289287335441276, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "score": 0.10703147929668941, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.0032621313493476885, + "granularity": "file", + "sharedTerms": [ + "construct", + "detailed" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.00040313847982328754, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.0008860052485487931, + "granularity": "file", + "sharedTerms": [ + "construct", + "by" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.02658370830680614, + "granularity": "file", + "sharedTerms": [ + "churn", + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.002147416808070313, + "granularity": "file", + "sharedTerms": [ + "construct", + "detailed" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.00020720686318655325, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 6.717301289735642e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.08856658978117414, + "granularity": "file", + "sharedTerms": [ + "specification", + "construct", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.0004941676149080567, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.004573725990118398, + "granularity": "file", + "sharedTerms": [ + "churn", + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.00028217799494585925, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.019566963521271276, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.018622335112249908, + "granularity": "file", + "sharedTerms": [ + "construct", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.013398619954638582, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.039156376327564815, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.004269820892592697, + "granularity": "file", + "sharedTerms": [ + "construct", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.07170992379656513, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.09173443991904845, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.017373994812260523, + "granularity": "file", + "sharedTerms": [ + "construct", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.9893680781580181, + "granularity": "file", + "sharedTerms": [ + "composite", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.10289287335441276, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0.23398427301848637, + "granularity": "file", + "sharedTerms": [ + "specification" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.06273135761621983, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.10703147929668941, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.16860120915735352, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.0006317695682788887, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.0158801293390127, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.07842863958809569, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.06312888986250544, + "granularity": "file", + "sharedTerms": [ + "context", + "construct", + "report" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.015864989991594476, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.014787372434212005, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.048774824692901696, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "types" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.06730723414193589, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.00832183558121688, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.0002994931843407012, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.0001323602200061304, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0.0005325282804180679, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.4291887126666661, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "context", + "custom", + "exporter" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0.4515849499837578, + "granularity": "file", + "sharedTerms": [ + "report", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.000801998510491762, + "granularity": "file", + "sharedTerms": [ + "construct", + "with" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.03653000143488984, + "granularity": "file", + "sharedTerms": [ + "construct", + "service" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.013347948337928387, + "granularity": "file", + "sharedTerms": [ + "construct", + "service", + "by", + "in" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.06080616711064688, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "with" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 5.950375165389952e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 9.777899785870305e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 3.16983220692831e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.0932380760400367, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.4631461298979648, + "granularity": "file", + "sharedTerms": [ + "exporter", + "construct", + "report", + "factory", + "types", + "supported" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.5528471003712987, + "granularity": "file", + "sharedTerms": [ + "exporter", + "construct", + "report", + "factory", + "service", + "types", + "supported" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.4818847766312187, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "service", + "types", + "supported" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.026865895279800198, + "granularity": "file", + "sharedTerms": [ + "construct", + "factory", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.007352940469695592, + "granularity": "file", + "sharedTerms": [ + "construct", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.04919211100277502, + "granularity": "file", + "sharedTerms": [ + "construct", + "service", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.014916922476853096, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.06513382600761503, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.03314764630634613, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.06292053493744872, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with", + "supported" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.9995459931484219, + "granularity": "file", + "sharedTerms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.017349340185889538, + "granularity": "file", + "sharedTerms": [ + "construct", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.040114848326488886, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0.030966182815201998, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.02893778693740822, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.04937330007158, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.06733360558414515, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.00029812620254918295, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.2166223748503947, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.06090393515509379, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.05676708099561529, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.04579783636205634, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.258384999033787, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.20253184042358255, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "factory", + "create" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.19578263759123532, + "granularity": "file", + "sharedTerms": [ + "specification", + "factory", + "validation" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/ChurnSpecifications\/CompositeChurnSpecification.php", + "score": 0.27972583608192, + "granularity": "file", + "sharedTerms": [ + "churn", + "specification" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "composite", + "churn", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "detailed", + "first", + "failed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "score": 0.030822562661331234, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.1401485649960446, + "granularity": "file", + "sharedTerms": [ + "churn" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.047704096051147574, + "granularity": "file", + "sharedTerms": [ + "specification", + "factory" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.11811332007459815, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.08622204271479487, + "granularity": "file", + "sharedTerms": [ + "churn", + "factory" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.05780973123215584, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.07316473311546136, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.04107809200893306, + "granularity": "file", + "sharedTerms": [ + "validation", + "factory" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.254194597567493, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0.7536363744810842, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "factory", + "create" + ], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ChurnValidationSpecificationFactory.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.0852132635764296, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.42647375882678007, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.005962418979694984, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.0857039053180988, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.07988253176816527, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.0644466309336529, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.36359889449535227, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.05905541632026429, + "granularity": "file", + "sharedTerms": [ + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.10969775252603602, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "score": 0.06292053493744872, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with", + "supported" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0.08753582131952733, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.014897614417926596, + "granularity": "file", + "sharedTerms": [ + "coverage", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.00983262815432223, + "granularity": "file", + "sharedTerms": [ + "coverage", + "by" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.04386894875356741, + "granularity": "file", + "sharedTerms": [ + "coverage", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.008232077621047995, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.09640251811799241, + "granularity": "file", + "sharedTerms": [ + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.032045509839697034, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.016918772408457988, + "granularity": "file", + "sharedTerms": [ + "supported" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.021213835575203906, + "granularity": "file", + "sharedTerms": [ + "supported" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.019321805521603258, + "granularity": "file", + "sharedTerms": [ + "supported" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.5485222305574284, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.03867239370448776, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.025914124800192288, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.07573192062399836, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.06333541988102288, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.18419980366406405, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 1.0000000000000002, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.06289196858348216, + "granularity": "file", + "sharedTerms": [ + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.09156267488696798, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.577600570062539, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.15929064323454306, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.38320492341874407, + "granularity": "file", + "sharedTerms": [ + "coverage", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.3720301543482052, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.03817363693307453, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.2052548826458549, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.13070593680019013, + "granularity": "file", + "sharedTerms": [ + "context", + "report", + "options" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.03983798351133342, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.03713201833232787, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.029956905825546668, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.1690126804593347, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.1752658445888807, + "granularity": "file", + "sharedTerms": [ + "report", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.001639942015732966, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.10831486642183275, + "granularity": "file", + "sharedTerms": [ + "report" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.16808586047578117, + "granularity": "file", + "sharedTerms": [ + "report", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.6731311566600224, + "granularity": "file", + "sharedTerms": [ + "report" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.8003548005640303, + "granularity": "file", + "sharedTerms": [ + "report", + "options" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.8250646555776939, + "granularity": "file", + "sharedTerms": [ + "report", + "options" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.01607810265926071, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.019028677457056435, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.011009597216702022, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.03217465181426015, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.149288047396009, + "granularity": "file", + "sharedTerms": [ + "report", + "options", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.07599642073762115, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.08753582131952733, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.45137992732239557, + "granularity": "file", + "sharedTerms": [ + "report", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.04121301408986371, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.10498420639262886, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.05986018900066937, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.10213272632990943, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.19372933353707078, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.09512628014457346, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.5114821388866437, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.006312397672728818, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.09927372617227805, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.09253063270882766, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.07465070778615072, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.4211688715315984, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.02735329524687274, + "granularity": "file", + "sharedTerms": [ + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.14027356169382318, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "score": 0.040114848326488886, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "score": 0.577600570062539, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0.10498420639262886, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.01909573061458101, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.018217111839450375, + "granularity": "file", + "sharedTerms": [ + "coverage", + "by" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.05386009887510166, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.01525173904067006, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.044651730610501345, + "granularity": "file", + "sharedTerms": [ + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.03392649903040865, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.43210599870839916, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.04741825636719313, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.027435217423768858, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.08017719001737549, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.05276755614061049, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.1893782565634511, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.577600570062539, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.04009663591049864, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.10270021509315155, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.9999999999999999, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.14916779133117217, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.4609479605285475, + "granularity": "file", + "sharedTerms": [ + "coverage", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.482761202098137, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.09942287394278962, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.49758975286414225, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.006956673242312976, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.09999533191453829, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.09320322392175132, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.07519333252160987, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.42423028453458217, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsCommand.php", + "score": 0.23439168167090288, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "specification", + "construct", + "facade", + "renderer", + "report", + "coverage", + "baseline", + "sorting", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "custom", + "exporter", + "validation", + "collection", + "sort", + "handle" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/ChurnSpecifications\/CustomExporter.php", + "score": 0.04937330007158, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "custom", + "exporter", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatSupported.php", + "score": 0.38320492341874407, + "granularity": "file", + "sharedTerms": [ + "coverage", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/ChurnSpecifications\/ReportOptionsComplete.php", + "score": 0.10213272632990943, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "report", + "options", + "complete", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/ChurnSpecifications\/CoverageFormatExclusivity.php", + "score": 0.4609479605285475, + "granularity": "file", + "sharedTerms": [ + "coverage", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.060991632523774326, + "granularity": "file", + "sharedTerms": [ + "coverage", + "exists", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.038168326768313346, + "granularity": "file", + "sharedTerms": [ + "coverage", + "by" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.15293968259906798, + "granularity": "file", + "sharedTerms": [ + "coverage", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.03841922166826168, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.03738921092215862, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.5664439163769135, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.04512115089804801, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.03023539593735143, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.08836048382176774, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "score": 0.06597049446080318, + "granularity": "file", + "sharedTerms": [ + "coverage", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.21491576652914968, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.38320492341874407, + "granularity": "file", + "sharedTerms": [ + "coverage", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.0493508842550625, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.10683107184348818, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.4609479605285475, + "granularity": "file", + "sharedTerms": [ + "coverage", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.1858529162935907, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 1, + "granularity": "file", + "sharedTerms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.4340674865187221, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/ChurnSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.012266273007921652, + "granularity": "file", + "sharedTerms": [ + "add", + "detailed" + ], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 6.965573791430495e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 2.339815478337961e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableRowBuilder.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.003799916948299026, + "granularity": "file", + "sharedTerms": [ + "construct", + "to" + ], + "entity1Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.16696454914597053, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.004103212362393849, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.1430876168184293, + "granularity": "file", + "sharedTerms": [ + "render", + "output" + ], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.03299924685261914, + "granularity": "file", + "sharedTerms": [ + "output" + ], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.06894003060841433, + "granularity": "file", + "sharedTerms": [ + "output" + ], + "entity1Terms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.036779599772479285, + "granularity": "file", + "sharedTerms": [ + "construct", + "threshold" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.12471479687163498, + "granularity": "file", + "sharedTerms": [ + "threshold" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.04584816517558547, + "granularity": "file", + "sharedTerms": [ + "table", + "construct", + "metrics", + "cognitive" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.25383861514084555, + "granularity": "file", + "sharedTerms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.37421944925456413, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metric", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "score", + "threshold", + "table" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.034466057783248856, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metric", + "construct", + "metrics", + "table" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.06005632866165123, + "granularity": "file", + "sharedTerms": [ + "metric", + "construct", + "score", + "threshold" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.06953258356013137, + "granularity": "file", + "sharedTerms": [ + "summary", + "renderer", + "construct", + "render", + "output", + "score" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.016577185945540335, + "granularity": "file", + "sharedTerms": [ + "renderer", + "construct", + "output" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.027678717733339627, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.0006542601485265119, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.00798978321291635, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.015946408855638902, + "granularity": "file", + "sharedTerms": [ + "construct", + "threshold" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.0011375739922030322, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.05527230815491338, + "granularity": "file", + "sharedTerms": [ + "threshold", + "by" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.0008554197263604611, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.0048261586731257085, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.18383768760249677, + "granularity": "file", + "sharedTerms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "info", + "show", + "cognitive" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.441132805670336, + "granularity": "file", + "sharedTerms": [ + "render", + "metrics", + "collection", + "output" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.05045061340953863, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metric", + "builder", + "coverage", + "construct", + "show", + "metrics", + "grouped", + "single", + "table", + "headers" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.01862219743168085, + "granularity": "file", + "sharedTerms": [ + "metric", + "formatter", + "construct", + "threshold", + "score" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.07392653581705225, + "granularity": "file", + "sharedTerms": [ + "renderer", + "row", + "construct", + "score", + "render", + "output", + "total" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.022276564293290547, + "granularity": "file", + "sharedTerms": [ + "renderer", + "construct", + "output", + "filename", + "from" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.03331808515323468, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.015594299186908162, + "granularity": "file", + "sharedTerms": [ + "construct", + "report" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.29557274597512756, + "granularity": "file", + "sharedTerms": [ + "table", + "row", + "construct", + "coverage", + "metrics", + "with" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.13909462618529478, + "granularity": "file", + "sharedTerms": [ + "render", + "metrics", + "output" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.6376887170921686, + "granularity": "file", + "sharedTerms": [ + "metric", + "renderer", + "construct", + "render", + "metrics", + "output", + "table" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.3911835311174476, + "granularity": "file", + "sharedTerms": [ + "metric", + "renderer", + "row", + "coverage", + "construct", + "metrics", + "render", + "output", + "table" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.05321910079891537, + "granularity": "file", + "sharedTerms": [ + "table", + "coverage", + "construct", + "metrics", + "metric" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.02329906377297658, + "granularity": "file", + "sharedTerms": [ + "construct", + "metric" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.044367894443282006, + "granularity": "file", + "sharedTerms": [ + "renderer", + "construct", + "output", + "render", + "row" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.03167019852338478, + "granularity": "file", + "sharedTerms": [ + "renderer", + "construct", + "output", + "report" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.017533488055081408, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.011508639683048749, + "granularity": "file", + "sharedTerms": [ + "add", + "detailed" + ], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 8.901433802532485e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.5117669117366949, + "granularity": "file", + "sharedTerms": [ + "table", + "builder", + "construct", + "coverage", + "metrics", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "detailed", + "cognitive" + ], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 2.9900928788077533e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.00012493442381134053, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.009525205052659629, + "granularity": "file", + "sharedTerms": [ + "construct", + "threshold" + ], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.03205072592431163, + "granularity": "file", + "sharedTerms": [ + "threshold" + ], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.1148977838839662, + "granularity": "file", + "sharedTerms": [ + "construct", + "formatter", + "halstead", + "complexity", + "cyclomatic" + ], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.05118575173349376, + "granularity": "file", + "sharedTerms": [ + "construct", + "halstead", + "complexity", + "cyclomatic", + "metric" + ], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.028952787090417265, + "granularity": "file", + "sharedTerms": [ + "construct", + "score" + ], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 4.913442884993394e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Presentation\/MetricFormatter.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.00020529735384385302, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.0007863790676255055, + "granularity": "file", + "sharedTerms": [ + "semantic" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.02681415986003467, + "granularity": "file", + "sharedTerms": [ + "semantic", + "construct", + "granularity", + "limit", + "view" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.05643046559025518, + "granularity": "file", + "sharedTerms": [ + "granularity" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.035795816404959116, + "granularity": "file", + "sharedTerms": [ + "view" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.0013318642820722715, + "granularity": "file", + "sharedTerms": [ + "semantic" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.021266526856733855, + "granularity": "file", + "sharedTerms": [ + "row", + "construct" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 1.3283675066631734e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.26517536954507037, + "granularity": "file", + "sharedTerms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "couplings", + "granularity", + "entity" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.043702554626614376, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.08253899024660698, + "granularity": "file", + "sharedTerms": [ + "semantic", + "analysis", + "specification", + "context" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.0663297825106021, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.09885754176965418, + "granularity": "file", + "sharedTerms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "report" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.15011754759098225, + "granularity": "file", + "sharedTerms": [ + "granularity", + "specification", + "context" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.02152649398413444, + "granularity": "file", + "sharedTerms": [ + "specification", + "context" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.017366875866143754, + "granularity": "file", + "sharedTerms": [ + "specification", + "context" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.09798148909085214, + "granularity": "file", + "sharedTerms": [ + "specification", + "context" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisCommand.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.023000007449833108, + "granularity": "file", + "sharedTerms": [ + "semantic", + "analysis", + "specification", + "factory" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.005785107016949225, + "granularity": "file", + "sharedTerms": [ + "semantic" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.10066660368698109, + "granularity": "file", + "sharedTerms": [ + "semantic", + "construct", + "report" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.015127605349492439, + "granularity": "file", + "sharedTerms": [ + "types" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.041687659013299586, + "granularity": "file", + "sharedTerms": [ + "semantic", + "factory" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.002972279751152395, + "granularity": "file", + "sharedTerms": [ + "construct", + "to" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.0718994861586613, + "granularity": "file", + "sharedTerms": [ + "output" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.028762766441073635, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.08429890014839082, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "filename" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.10819596139253448, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "report" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 9.772320373542996e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.00016058276433341512, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.2672149542286028, + "granularity": "file", + "sharedTerms": [ + "semantic", + "coupling", + "construct", + "output", + "couplings" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.21371036516227213, + "granularity": "file", + "sharedTerms": [ + "semantic", + "construct", + "report", + "factory", + "output", + "couplings", + "coupling", + "filename" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.036511213193936576, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "to" + ], + "entity1Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.1155082089239346, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "options" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.012612202463044647, + "granularity": "file", + "sharedTerms": [ + "valid" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.028451934169610043, + "granularity": "file", + "sharedTerms": [ + "valid", + "types" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.017136527764328006, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.07294455070050013, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "to" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.1269140680820066, + "granularity": "file", + "sharedTerms": [ + "metrics", + "output" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.04859968301702583, + "granularity": "file", + "sharedTerms": [ + "construct", + "service", + "metrics", + "output" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.07454205855828985, + "granularity": "file", + "sharedTerms": [ + "construct", + "service", + "metrics", + "output" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.16361812937167866, + "granularity": "file", + "sharedTerms": [ + "churn", + "construct", + "output", + "report", + "metrics" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.0018081095877283428, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.0001006744542848091, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.03569660171161836, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.16943409958978933, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "output" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.8007870610486553, + "granularity": "file", + "sharedTerms": [ + "report", + "construct", + "output", + "factory", + "export", + "to", + "exporter", + "types", + "supported" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.9582169595909438, + "granularity": "file", + "sharedTerms": [ + "report", + "construct", + "metrics", + "facade", + "output", + "factory", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.04032010094161349, + "granularity": "file", + "sharedTerms": [ + "construct", + "factory" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.03219531137874949, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.03191248851922559, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "service" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.19368328816396282, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "facade" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/ChurnReportHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.027082837361216937, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "to" + ], + "entity1Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.11884160193971692, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "options" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.011487339115368434, + "granularity": "file", + "sharedTerms": [ + "valid" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.02591434900067003, + "granularity": "file", + "sharedTerms": [ + "valid", + "types" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.015608146655238601, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.0748356801743569, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "cognitive" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.20551790435046965, + "granularity": "file", + "sharedTerms": [ + "metrics", + "collection", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.06725221136921787, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "construct", + "service", + "metrics", + "collection", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.10759536344345173, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "construct", + "service", + "collection", + "metrics", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.15426195318312494, + "granularity": "file", + "sharedTerms": [ + "construct", + "output", + "report", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.002898661493601816, + "granularity": "file", + "sharedTerms": [ + "construct", + "cognitive", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 9.169545129115211e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.032512875552793113, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.17264366624049865, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.7687634157199412, + "granularity": "file", + "sharedTerms": [ + "report", + "construct", + "output", + "factory", + "types", + "supported" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.019373801965244707, + "granularity": "file", + "sharedTerms": [ + "construct", + "output" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.01763962979521559, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.07833237607799928, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.0018350646772389407, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.016729278767491113, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.015592955042626137, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.012579889452097282, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.07097398004195492, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.01975386946311058, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.04842241151950702, + "granularity": "file", + "sharedTerms": [ + "construct", + "coverage" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.0004515738120098206, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.03588074449173904, + "granularity": "file", + "sharedTerms": [ + "coverage", + "construct" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.13662144509624513, + "granularity": "file", + "sharedTerms": [ + "coverage", + "construct" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.03872789422754322, + "granularity": "file", + "sharedTerms": [ + "construct", + "coverage" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.056716172279243235, + "granularity": "file", + "sharedTerms": [ + "construct", + "format" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 7.524355777583066e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.01707664001780097, + "granularity": "file", + "sharedTerms": [ + "construct", + "factory", + "context" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.0749400065224896, + "granularity": "file", + "sharedTerms": [ + "construct", + "factory" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.03672401184799793, + "granularity": "file", + "sharedTerms": [ + "construct", + "factory" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.007456681134153844, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.0007076739297735884, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.01664326945974737, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.09270755078644521, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.0014797472332090413, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.017696250946923536, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.01649424636133259, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.01330702200153819, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.07507636037275116, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.18135034362107333, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "fields" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.2947024054305326, + "granularity": "file", + "sharedTerms": [ + "metrics", + "collection" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.07033167493016325, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "collection" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.14103886351055103, + "granularity": "file", + "sharedTerms": [ + "construct", + "collection", + "metrics", + "by" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.03305374271535923, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.21507464898237794, + "granularity": "file", + "sharedTerms": [ + "construct", + "fields", + "metrics" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.00018716075626623084, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 6.067439900980259e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.0059043945281774994, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.0257620622417035, + "granularity": "file", + "sharedTerms": [ + "construct", + "available" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.06999242599800334, + "granularity": "file", + "sharedTerms": [ + "metrics", + "construct", + "collection" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.0005706493905011751, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.01207886422999052, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.05363866172040299, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.0012565738253550252, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.01145549477194788, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.010677388873280782, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.008614170392702153, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.048599946752927455, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.048167762967529025, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.18769185065314703, + "granularity": "file", + "sharedTerms": [ + "metrics", + "collection" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.10393850187085062, + "granularity": "file", + "sharedTerms": [ + "construct", + "service", + "metrics", + "collection" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.10135868381757444, + "granularity": "file", + "sharedTerms": [ + "construct", + "service", + "collection", + "metrics" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.02111245973345646, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.0012785991779396579, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.0001589334328051239, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 5.152357102200726e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.005013902004457519, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.0003790403185040583, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.054967504018198034, + "granularity": "file", + "sharedTerms": [ + "metrics", + "construct", + "collection", + "service" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.006332074915846574, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.08999140717805322, + "granularity": "file", + "sharedTerms": [ + "construct", + "context", + "metrics", + "collection" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.05286203021724055, + "granularity": "file", + "sharedTerms": [ + "construct", + "context", + "metrics" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.0004845848476455822, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.03529949763485384, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.1567546233225255, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.0036722347342895653, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.033477751128656585, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.03120379996845826, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.02517421188065265, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.14202938892213476, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.14076636698397813, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.13953250345016607, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.034031137825078106, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.08986255067505096, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.06169944526544928, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.003736602034613849, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.0004644700220633308, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0.00015057344289993703, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.014652720535453526, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.0011077144814102076, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.18413819199359233, + "granularity": "file", + "sharedTerms": [ + "metrics", + "construct", + "facade" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.16463310370905318, + "granularity": "file", + "sharedTerms": [ + "load", + "construct", + "context" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.07802679399855499, + "granularity": "file", + "sharedTerms": [ + "construct", + "context", + "metrics" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.0014161597777446553, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.003498267066034856, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.020560002549891, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.85503273376143, + "granularity": "file", + "sharedTerms": [ + "command", + "context", + "construct", + "input", + "report", + "options", + "debug" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.0038287886772257205, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.0035687210752750323, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.002879128201781095, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.016243639366590266, + "granularity": "file", + "sharedTerms": [ + "by", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.322030754965682, + "granularity": "file", + "sharedTerms": [ + "construct", + "input", + "format", + "debug" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.00020316688266732108, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0.000817406549035026, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.021728770026032684, + "granularity": "file", + "sharedTerms": [ + "construct", + "coverage", + "metrics", + "cognitive" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.015029255275722384, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.0065408398113570125, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "construct", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.014922489582598245, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "coverage", + "construct", + "metrics", + "by" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.03725563519517764, + "granularity": "file", + "sharedTerms": [ + "coverage", + "construct", + "report", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.006298904152633285, + "granularity": "file", + "sharedTerms": [ + "construct", + "coverage", + "cognitive", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.006237560345495602, + "granularity": "file", + "sharedTerms": [ + "construct", + "format" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 4.8655474283003734e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.07998220779106074, + "granularity": "file", + "sharedTerms": [ + "command", + "construct", + "report", + "input", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.09836530522429247, + "granularity": "file", + "sharedTerms": [ + "report", + "construct" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.12800710875033366, + "granularity": "file", + "sharedTerms": [ + "report", + "construct", + "metrics", + "options" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.13329014721885657, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "report", + "construct", + "options" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.0835977446237965, + "granularity": "file", + "sharedTerms": [ + "coverage", + "construct", + "context", + "format" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.1191817882745446, + "granularity": "file", + "sharedTerms": [ + "sorting", + "construct", + "sort", + "context", + "metrics", + "by", + "order" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.16728623158193753, + "granularity": "file", + "sharedTerms": [ + "baseline", + "construct", + "context", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.01641911975522126, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "context" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.1314362236087784, + "granularity": "file", + "sharedTerms": [ + "context", + "sort", + "by" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.06333541988102288, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format", + "by" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.06510425480433808, + "granularity": "file", + "sharedTerms": [ + "context", + "construct", + "report", + "by" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.010371603184220075, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "context", + "construct", + "by" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.05276755614061049, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "format", + "by" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0.032813982191014474, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.15478586999604513, + "granularity": "file", + "sharedTerms": [ + "context", + "sort", + "by", + "order" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.06597049446080318, + "granularity": "file", + "sharedTerms": [ + "context", + "coverage", + "by" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "score": 0.02108890586416359, + "granularity": "file", + "sharedTerms": [ + "context", + "by" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsCommandContext.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.005920997608028795, + "granularity": "file", + "sharedTerms": [ + "command", + "construct" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "command", + "context", + "construct", + "input", + "cobertura", + "clover", + "coverage", + "format", + "report", + "options", + "sort", + "by", + "order", + "sorting", + "baseline", + "paths", + "debug" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.06610898776952702, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.3702538997269302, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.004243237255470281, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.1234717955791057, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "valid" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.0657074677580609, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.09284689199246611, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "valid" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.29907868601682247, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.0032670734664228974, + "granularity": "file", + "sharedTerms": [ + "with" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.006278998444293134, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.01053129345194476, + "granularity": "file", + "sharedTerms": [ + "with" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.02280562665679996, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.008701851504534189, + "granularity": "file", + "sharedTerms": [ + "valid" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.007925746471091153, + "granularity": "file", + "sharedTerms": [ + "valid" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.026932380242455343, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.4971405879524456, + "granularity": "file", + "sharedTerms": [ + "sort", + "context", + "by" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.01844214238709998, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.05389566015310568, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.6519655246598103, + "granularity": "file", + "sharedTerms": [ + "sort", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.0852132635764296, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.42647375882678007, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.005962418979694984, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.0857039053180988, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.07988253176816527, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.0644466309336529, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.36359889449535227, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.05905541632026429, + "granularity": "file", + "sharedTerms": [ + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.014897614417926596, + "granularity": "file", + "sharedTerms": [ + "coverage", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.00983262815432223, + "granularity": "file", + "sharedTerms": [ + "coverage", + "by" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.04386894875356741, + "granularity": "file", + "sharedTerms": [ + "with", + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.008232077621047995, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.09640251811799241, + "granularity": "file", + "sharedTerms": [ + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.032045509839697034, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.016918772408457988, + "granularity": "file", + "sharedTerms": [ + "supported" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.021213835575203906, + "granularity": "file", + "sharedTerms": [ + "supported" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.019321805521603258, + "granularity": "file", + "sharedTerms": [ + "supported" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.5485222305574284, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context", + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.03867239370448776, + "granularity": "file", + "sharedTerms": [ + "context", + "by" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.025914124800192288, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.07573192062399836, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.18419980366406405, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.06289196858348216, + "granularity": "file", + "sharedTerms": [ + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.15929064323454306, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.017510009936448526, + "granularity": "file", + "sharedTerms": [ + "validation", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.07839303244836275, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.06310022891397533, + "granularity": "file", + "sharedTerms": [ + "context", + "construct", + "report" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.018704225761925573, + "granularity": "file", + "sharedTerms": [ + "validation", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.017433755242311284, + "granularity": "file", + "sharedTerms": [ + "validation", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.050893112535356236, + "granularity": "file", + "sharedTerms": [ + "validation", + "satisfied", + "by", + "context", + "types" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.07935269442139924, + "granularity": "file", + "sharedTerms": [ + "validation", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.011090743214460404, + "granularity": "file", + "sharedTerms": [ + "validation", + "factory" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.00029935721238300955, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.00013230012755937126, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0.0005322865089300991, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.0008016343976730433, + "granularity": "file", + "sharedTerms": [ + "construct", + "with" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.03651341656395024, + "granularity": "file", + "sharedTerms": [ + "construct", + "service" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.013341888277928456, + "granularity": "file", + "sharedTerms": [ + "construct", + "service", + "in", + "by" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.06077856069416044, + "granularity": "file", + "sharedTerms": [ + "with", + "construct", + "report" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 5.9476736542954046e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 9.773460552373476e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 3.168393081388012e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.09319574531468656, + "granularity": "file", + "sharedTerms": [ + "construct", + "report", + "factory", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.46293585838170903, + "granularity": "file", + "sharedTerms": [ + "report", + "construct", + "factory", + "exporter", + "types", + "supported" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.552596103999855, + "granularity": "file", + "sharedTerms": [ + "report", + "construct", + "exporter", + "factory", + "supported", + "types", + "service" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.4816659976409569, + "granularity": "file", + "sharedTerms": [ + "report", + "construct", + "factory", + "supported", + "types", + "service" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.026853697979269394, + "granularity": "file", + "sharedTerms": [ + "construct", + "factory", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.007349602184343103, + "granularity": "file", + "sharedTerms": [ + "construct", + "context", + "by" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.049169777447336166, + "granularity": "file", + "sharedTerms": [ + "construct", + "service", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.014910150091844146, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.033132597047809374, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.028924648983869133, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.0002979908512105906, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.8173433087089067, + "granularity": "file", + "sharedTerms": [ + "composite", + "validation", + "specification", + "specifications", + "satisfied", + "by", + "context", + "detailed" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.2007894455839685, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.0034139966992670855, + "granularity": "file", + "sharedTerms": [ + "context", + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.11146655450914429, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.10389527231712119, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.0838193297403881, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.47289695658911735, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.1727933571687997, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "composite" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.00063347802727964, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0.00027996393722402245, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0.0011263861155721513, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.025924902907749146, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "detailed", + "cognitive" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.02071031176585031, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.009013276387853372, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "construct", + "metrics" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.015253917249670294, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "construct", + "metrics", + "by" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.009369478172169933, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.004966860710860204, + "granularity": "file", + "sharedTerms": [ + "construct", + "cognitive", + "detailed", + "metrics" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.00020681888574281516, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 6.704723707395313e-5, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.08840075628234373, + "granularity": "file", + "sharedTerms": [ + "specification", + "construct", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.0004932423275644731, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.009126145556558628, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.012044976233944979, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.019530326025910594, + "granularity": "file", + "sharedTerms": [ + "construct", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.02795389809465682, + "granularity": "file", + "sharedTerms": [ + "construct", + "context", + "metrics", + "by" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.019338881869671348, + "granularity": "file", + "sharedTerms": [ + "construct", + "context", + "metrics" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.05651630830688767, + "granularity": "file", + "sharedTerms": [ + "construct", + "metrics", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.07157565298865182, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.09156267488696798, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.01926250004672666, + "granularity": "file", + "sharedTerms": [ + "validation", + "construct", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.10270021509315155, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.06261389841918423, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.10683107184348818, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0.0006305866328376447, + "granularity": "file", + "sharedTerms": [ + "construct" + ], + "entity1Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.09512628014457346, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.5114821388866437, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.006312397672728818, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.09927372617227805, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.09253063270882766, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.07465070778615072, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.4211688715315984, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0.02735329524687274, + "granularity": "file", + "sharedTerms": [ + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.01909573061458101, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.018217111839450375, + "granularity": "file", + "sharedTerms": [ + "coverage", + "by" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.05386009887510166, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.01525173904067006, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0.044651730610501345, + "granularity": "file", + "sharedTerms": [ + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.03392649903040865, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.4321059987083991, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context", + "format" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.04741825636719313, + "granularity": "file", + "sharedTerms": [ + "context", + "by" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.027435217423768858, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.08017719001737549, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.1893782565634511, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.577600570062539, + "granularity": "file", + "sharedTerms": [ + "coverage", + "format", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.04009663591049864, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.14916779133117217, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.21763174383602077, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.06118772182898005, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.05703159167232203, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.046011234981033544, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.25958896425001116, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.2034755534563037, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "factory", + "create" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.12174850101870026, + "granularity": "file", + "sharedTerms": [ + "metrics", + "cognitive" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0.11122955588454334, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0.04624680629089589, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.07717512973651161, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.04861589585360168, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.015164075505035842, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.047926377037008853, + "granularity": "file", + "sharedTerms": [ + "specification", + "factory" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0.11866367837509673, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.1111196258416452, + "granularity": "file", + "sharedTerms": [ + "metrics", + "factory" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.12125678713821951, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "factory" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.07350564994134032, + "granularity": "file", + "sharedTerms": [ + "factory" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.05030460451246635, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.032038300819180375, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.0936293266036886, + "granularity": "file", + "sharedTerms": [ + "metrics" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.041269498608048905, + "granularity": "file", + "sharedTerms": [ + "validation", + "factory" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.30059670036224756, + "granularity": "file", + "sharedTerms": [ + "cognitive", + "metrics", + "validation", + "specification" + ], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.05827193926049376, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.29163831928886036, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.004077319680624288, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.10951196131616324, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "valid" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.05462659031940375, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.08234953737018116, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "valid" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.2486421926113911, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.0031393255056663396, + "granularity": "file", + "sharedTerms": [ + "with" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.0015083698123714885, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.010119502509242805, + "granularity": "file", + "sharedTerms": [ + "with" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.021913889042349737, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0.008361594759182283, + "granularity": "file", + "sharedTerms": [ + "valid" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0.007615836712537741, + "granularity": "file", + "sharedTerms": [ + "valid" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.025879279756759528, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.5069667938332401, + "granularity": "file", + "sharedTerms": [ + "sort", + "context", + "by", + "order" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.017721024204069465, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.051788250953726356, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.09942287394278962, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.49758975286414225, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.006956673242312976, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.09999533191453829, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.09320322392175132, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.07519333252160987, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.42423028453458217, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0.060991632523774326, + "granularity": "file", + "sharedTerms": [ + "coverage", + "with", + "exists" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.038168326768313346, + "granularity": "file", + "sharedTerms": [ + "coverage", + "by" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0.15293968259906798, + "granularity": "file", + "sharedTerms": [ + "with", + "coverage" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0.03841922166826168, + "granularity": "file", + "sharedTerms": [ + "coverage" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.03738921092215862, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.5664439163769135, + "granularity": "file", + "sharedTerms": [ + "coverage", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.04512115089804801, + "granularity": "file", + "sharedTerms": [ + "context", + "by" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.03023539593735143, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.08836048382176774, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.21491576652914968, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.38320492341874407, + "granularity": "file", + "sharedTerms": [ + "coverage", + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.0493508842550625, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.4609479605285475, + "granularity": "file", + "sharedTerms": [ + "coverage", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.1858529162935907, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context", + "with" + ], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0.1544318343334864, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.9438476251565223, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.009146014593419781, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0.17270647007641593, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.16097551250717063, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.12986981276474288, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.7327073528202261, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/EventHandler\/VerboseHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "verbose", + "start", + "time", + "construct", + "input", + "output", + "invoke", + "runtime", + "format", + "bytes", + "units", + "debug", + "enabled" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/EventHandler\/ProgressBarHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "progress", + "bar", + "total", + "files", + "processed", + "construct", + "output", + "invoke", + "handle", + "source", + "found", + "all" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/EventHandler\/ParserErrorHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "parser", + "construct", + "output", + "invoke", + "throwable" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Presentation\/TableRowBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "row", + "builder", + "construct", + "formatter", + "coverage", + "metrics", + "keys", + "with", + "info", + "to", + "fields", + "add", + "halstead", + "show", + "complexity", + "cyclomatic", + "weighted", + "weight", + "delta", + "detailed", + "cognitive", + "assert", + "exists", + "extracted" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "render", + "metrics", + "collection", + "output" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "summary", + "renderer", + "construct", + "service", + "render", + "metrics", + "collection", + "output", + "highlighted", + "score", + "threshold", + "alpha", + "beta", + "table" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "score": 0.011842216673917818, + "granularity": "file", + "sharedTerms": [ + "by" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metric", + "renderer", + "formatter", + "row", + "builder", + "coverage", + "construct", + "service", + "exceeds", + "threshold", + "show", + "only", + "methods", + "exceeding", + "score", + "in", + "collection", + "metrics", + "render", + "output", + "group", + "by", + "grouped", + "rows", + "filename", + "for", + "from", + "all", + "single", + "table", + "total", + "common", + "headers", + "info", + "lines", + "line" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Presentation\/ChurnTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "renderer", + "table", + "with", + "coverage", + "construct", + "output", + "report", + "written", + "render", + "metrics", + "metric", + "row" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Presentation\/TableHeaderBuilder.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "table", + "builder", + "construct", + "coverage", + "grouped", + "headers", + "fields", + "add", + "single", + "halstead", + "show", + "complexity", + "cyclomatic", + "cognitive", + "metric", + "details", + "detailed", + "metrics" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Presentation\/MetricFormatter.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "metric", + "formatter", + "construct", + "format", + "score", + "threshold", + "halstead", + "volume", + "difficulty", + "effort", + "cyclomatic", + "complexity", + "risk", + "level", + "colored", + "color" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Presentation\/SemanticCouplingTextRenderer.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "renderer", + "construct", + "output", + "render", + "couplings", + "view", + "limit", + "top", + "pairs", + "granularity", + "shared", + "terms", + "matrix", + "entities", + "entity", + "row", + "score", + "str", + "per", + "averages", + "list", + "total", + "avg", + "other", + "summary", + "high", + "medium", + "stats", + "truncate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.0491560055818888, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Handler\/SemanticCouplingReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "coupling", + "report", + "construct", + "output", + "factory", + "export", + "to", + "couplings", + "filename", + "exporter", + "available", + "types", + "supported" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Handler\/ChurnReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "churn", + "report", + "construct", + "metrics", + "facade", + "output", + "exporter", + "factory", + "export", + "to", + "incomplete", + "options", + "valid", + "handle", + "exceptions", + "invalid", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "report", + "construct", + "facade", + "output", + "factory", + "handle", + "collection", + "incomplete", + "options", + "valid", + "exceptions", + "invalid", + "repor", + "supported", + "types", + "service" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/CoverageLoadHandler.php", + "score": 0.058050947402357035, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "load", + "construct", + "factory", + "context", + "format", + "reader", + "detect" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/SortingHandler.php", + "score": 0.09059761058645319, + "granularity": "file", + "sharedTerms": [ + "context", + "by" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sorting", + "construct", + "sorter", + "sort", + "context", + "metrics", + "collection", + "by", + "order", + "sorted", + "available", + "fields" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/BaselineHandler.php", + "score": 0.03975080657790084, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "baseline", + "construct", + "service", + "apply", + "context", + "metrics", + "collection" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Handler\/CognitiveAnalysis\/ConfigurationLoadHandler.php", + "score": 0.11616849697641188, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "configuration", + "load", + "construct", + "metrics", + "facade", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortFieldValid.php", + "score": 0.3636922419411678, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "field", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatSupported.php", + "score": 0.3720301543482052, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "supported", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CustomExporterValidation.php", + "score": 0.0673030356658685, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "custom", + "exporter", + "validation", + "construct", + "report", + "factory", + "service", + "satisfied", + "by", + "context", + "built", + "in", + "types", + "with", + "reporters", + "supported", + "validate" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CompositeCognitiveMetricsValidationSpecification.php", + "score": 0.1682855175574999, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "composite", + "cognitive", + "metrics", + "validation", + "specification", + "construct", + "specifications", + "satisfied", + "by", + "context", + "first", + "failed", + "detailed" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFormatExclusivity.php", + "score": 0.482761202098137, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "format", + "exclusivity", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "cognitive", + "metrics", + "validation", + "specification", + "factory", + "create" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/SortOrderValid.php", + "score": 0.2544077957747322, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "sort", + "order", + "valid", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/CognitiveMetricsSpecifications\/CoverageFileExists.php", + "score": 0.4340674865187221, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "coverage", + "exists", + "satisfied", + "by", + "context", + "with" + ] + }, + { + "entity1": "src\/Command\/CognitiveMetricsSpecifications\/CognitiveMetricsSpecification.php", + "entity2": "src\/Command\/Result\/OperationResult.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/CompositeSemanticAnalysisValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "composite", + "semantic", + "analysis", + "validation", + "specification", + "specifications", + "add", + "satisfied", + "by", + "context", + "detailed", + "errors" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.005770521547630283, + "granularity": "file", + "sharedTerms": [ + "command", + "construct" + ], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/Result\/OperationResult.php", + "entity2": "src\/Command\/SemanticAnalysisCommand.php", + "score": 0.014216207378543884, + "granularity": "file", + "sharedTerms": [ + "command", + "construct", + "output" + ], + "entity1Terms": [ + "operation", + "construct", + "success", + "failure", + "to", + "command", + "output" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "specification", + "construct", + "renderer", + "report", + "factory", + "configure", + "execute", + "input", + "output", + "context", + "couplings", + "calculate", + "coupling", + "granularity", + "php", + "files", + "entity", + "identifiers", + "term", + "extractor", + "tf", + "idf", + "calculator", + "find", + "iterator", + "extract", + "from", + "parser", + "traverser", + "ast", + "visitor", + "module", + "parts", + "generate", + "default", + "filename", + "timestamp", + "extensions", + "extension" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.012341384366752625, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.28095994929238494, + "granularity": "file", + "sharedTerms": [ + "context", + "threshold" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.08193829003074518, + "granularity": "file", + "sharedTerms": [ + "context", + "view" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.021203016027242776, + "granularity": "file", + "sharedTerms": [ + "semantic", + "analysis" + ], + "entity1Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.19409030858510473, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.0656594536092344, + "granularity": "file", + "sharedTerms": [ + "context", + "granularity" + ], + "entity1Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.051785398752343635, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.09951623097477617, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context", + "valid" + ], + "entity1Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "score": 0.23571002721845263, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ], + "entity2Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/GranularityValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.016443555981334325, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "granularity", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "granularities" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.18090686980828205, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.14594978418727356, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0.8234283067017112, + "granularity": "file", + "sharedTerms": [ + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisCommandContext.php", + "score": 0.011182057938135348, + "granularity": "file", + "sharedTerms": [ + "context" + ], + "entity1Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "command", + "context", + "construct", + "input", + "granularity", + "threshold", + "limit", + "view", + "report", + "options", + "debug" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.2196996002395336, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.1772464985711794, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/PathValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "score": 0.06976180086770208, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationInterface.php", + "score": 0, + "granularity": "file", + "sharedTerms": [], + "entity1Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ], + "entity2Terms": [ + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "score": 0.015326639762624094, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ], + "entity2Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/SemanticAnalysisValidationSpecificationFactory.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.012365034937820056, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification" + ], + "entity1Terms": [ + "semantic", + "analysis", + "validation", + "specification", + "factory", + "create", + "composite" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + }, + { + "entity1": "src\/Command\/SemanticAnalysisSpecifications\/ThresholdValidationSpecification.php", + "entity2": "src\/Command\/SemanticAnalysisSpecifications\/ViewTypeValidationSpecification.php", + "score": 0.038940984879945184, + "granularity": "file", + "sharedTerms": [ + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity1Terms": [ + "threshold", + "validation", + "specification", + "satisfied", + "by", + "context" + ], + "entity2Terms": [ + "view", + "validation", + "specification", + "satisfied", + "by", + "context", + "valid", + "types" + ] + } + ] +} \ No newline at end of file